Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 224 for sids (0.01 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcGetMembersInAlias.java

            super(aliasHandle, sids);
            this.sids = sids;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
            // Prepare SIDs, two need resolution, one already resolved
            SID s1 = sid("S-1-5-21-10-11-12-1001");
            SID s2 = sid("S-1-5-21-10-11-12-1002");
            SID s3 = sid("S-1-5-21-10-11-12-1003");
            jcifs.SID[] arr = new jcifs.SID[] { s1, s2, s3 };
    
            // First call should resolve two (offset=0,length=2)
            doAnswer(inv -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");
            assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly");
        }
    
        @Test
        void testConstructorWithJcifsSIDArrayDirectAssignment() {
            // Create mock SID objects
            SID mockSid1 = mock(SID.class);
            SID mockSid2 = mock(SID.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

         * @param tc
         *            Context to use
         * @throws IOException if there is an error resolving the SID
         */
        public void resolve(final String authorityServerName, final CIFSContext tc) throws IOException {
            final SID[] sids = new SID[1];
            sids[0] = this;
            tc.getSIDResolver().resolveSids(tc, authorityServerName, sids);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SidResolver.java

         */
        void resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) throws CIFSException;
    
        /**
         * Resolve part of an array of SIDs using a cache and at most one MSRPC request.
         *
         * @param tc the CIFS context to use
         * @param authorityServerName the server to use for SID resolution
         * @param sids the array of SIDs to resolve
         * @param off the starting offset in the array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SIDCacheImpl.java

            final ArrayList<SID> list = new ArrayList<>(sids.length);
            int si;
    
            synchronized (this.sidCache) {
                for (si = 0; si < sids.length; si++) {
                    final SID s = sids[si].unwrap(SID.class);
                    final SID sid = this.sidCache.get(s);
                    if (sid != null) {
                        s.type = sid.type;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		[case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain;
    	} LsarPolicyInfo;
    
    	typedef struct {
    		sid_t *sid;
    	} LsarSidPtr;
    
    	typedef struct {
    		[range(0,1000)] uint32_t num_sids;
    		[size_is(num_sids)] LsarSidPtr *sids;
    	} LsarSidArray;
    
    	typedef enum {
    		SID_NAME_USE_NONE = 0, /* NOTUSED */
    		SID_NAME_USER     = 1, /* user */
    		SID_NAME_DOM_GRP  = 2, /* domain group */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		[case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain;
    	} LsarPolicyInfo;
    
    	typedef struct {
    		sid_t *sid;
    	} LsarSidPtr;
    
    	typedef struct {
    		[range(0,1000)] uint32_t num_sids;
    		[size_is(num_sids)] LsarSidPtr *sids;
    	} LsarSidArray;
    
    	typedef enum {
    		SID_NAME_USE_NONE = 0, /* NOTUSED */
    		SID_NAME_USER     = 1, /* user */
    		SID_NAME_DOM_GRP  = 2, /* domain group */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/samr.java

            public rpc.policy_handle alias_handle;
            /** The array of SIDs that are members of the alias */
            public lsarpc.LsarSidArray sids;
    
            /**
             * Constructs a SamrGetMembersInAlias request.
             *
             * @param alias_handle The alias handle
             * @param sids The array to receive member SIDs
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            public rpc.policy_handle alias_handle;
            /** The array of SIDs that are members of the alias */
            public lsarpc.LsarSidArray sids;
    
            /**
             * Constructs a SamrGetMembersInAlias request.
             *
             * @param alias_handle The alias handle
             * @param sids The array to receive member SIDs
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top