Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 173 for sids (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            // Create an instance of the class to be tested
            MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids);
    
            // Assert that the public 'sids' field is initialized as expected
            assertEquals(sids, request.sids, "The 'sids' field should be initialized by the constructor.");
    
            // Use reflection to access and verify protected fields from the parent class DcerpcMessage
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                        if (this.sids[_i] == null) {
                            this.sids[_i] = new LsarSidPtr();
                        }
                        this.sids[_i].decode(_src);
                    }
                }
            }
        }
    
        /** SID name type: none. */
        /** SID name type: none or unused. */
        public static final int SID_NAME_USE_NONE = 0;
        /** SID name type: user. */
        /** SID name type: user account. */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 44.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcLookupSids.java

     * This class provides functionality to resolve SIDs to their corresponding
     * account names using the LSA RPC interface.
     */
    public class MsrpcLookupSids extends jcifs.dcerpc.msrpc.lsarpc.LsarLookupSids {
    
        /**
         * Creates a new request to lookup SIDs.
         *
         * @param policyHandle the LSA policy handle
         * @param sids the array of SIDs to lookup
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

                    if (sid != null) {
                        sids[si].type = sid.type;
                        sids[si].domainName = sid.domainName;
                        sids[si].acctName = sid.acctName;
                    } else {
                        list.add(sids[si]);
                    }
                }
    
                if (list.size() > 0) {
                    sids = (SID[]) list.toArray(new SID[0]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcGetMembersInAlias.java

            super(aliasHandle, sids);
            this.sids = sids;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. 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 -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  7. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/LsarSidArrayX.java

    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.smb1.SID;
    
    class LsarSidArrayX extends lsarpc.LsarSidArray {
    
        LsarSidArrayX(final SID[] sids) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for (int si = 0; si < sids.length; si++) {
                this.sids[si] = new lsarpc.LsarSidPtr();
                this.sids[si].sid = sids[si];
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 409 bytes
    - Click Count (0)
Back to Top