Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getServerSid (4.31 sec)

  1. src/test/java/jcifs/SidResolverTest.java

        }
    
        // Test getServerSid
        @Test
        void testGetServerSid_Success() throws CIFSException {
            when(sidResolver.getServerSid(any(CIFSContext.class), anyString())).thenReturn(mockSid1);
    
            SID result = sidResolver.getServerSid(mockContext, testServerName);
    
            assertNotNull(result);
            assertEquals(mockSid1, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SIDCacheImpl.java

                    for (si = 0; si < resolved.length; si++) {
                        this.sidCache.put(resolved[si], resolved[si]);
                    }
                }
            }
        }
    
        @Override
        public SID getServerSid(final CIFSContext tc, final String server) throws CIFSException {
            final lsarpc.LsarDomainInfo info = new lsarpc.LsarDomainInfo();
            MsrpcQueryInformationPolicy rpc;
    
            synchronized (this.sidCache) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SidResolver.java

         * @param authorityServerName the server name
         * @param tc the CIFS context to use
         * @return the server's SID
         * @throws CIFSException if there is an error retrieving the server SID
         */
        SID getServerSid(CIFSContext tc, String authorityServerName) throws CIFSException;
    
        /**
         * This specialized method returns a Map of users and local groups for the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

         * @param auth the authentication credentials to use
         * @return the domain SID for the server
         * @throws IOException if there is an error retrieving the server SID
         */
        public static SID getServerSid(final String server, final NtlmPasswordAuthentication auth) throws IOException {
            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         */
        public final int getAction() {
            return this.action;
        }
    
        /**
         * Gets the server file identifier.
         *
         * @return the serverFid
         */
        public final int getServerFid() {
            return this.serverFid;
        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top