Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 127 for sido (0.02 sec)

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

            sidArray.num_sids = 2;
            sidArray.sids = new lsarpc.LsarSidPtr[2];
    
            sidArray.sids[0] = new lsarpc.LsarSidPtr();
            sidArray.sids[0].sid = new rpc.sid_t();
            sidArray.sids[0].sid.revision = 1;
            sidArray.sids[0].sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
            sidArray.sids[0].sid.sub_authority_count = 1;
            sidArray.sids[0].sid.sub_authority = new int[] { 500 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. 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. */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         * If the SID is a group, it recursively processes all group members.
         *
         * @param file the SMB file
         * @param sid the SID to process
         * @param sidSet the set of SIDs to add to
         */
        protected void processAllowedSIDs(final SmbFile file, final SID sid, final Set<SID> sidSet) {
            if (logger.isDebugEnabled()) {
                logger.debug("SID:{}", sid);
            }
            final int type = sid.getType();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  5. src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

    import jcifs.dcerpc.rpc.sid_t;
    import jcifs.smb.SID;
    
    class LsarSidArrayX extends lsarpc.LsarSidArray {
    
        LsarSidArrayX(final jcifs.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].unwrap(sid_t.class);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacLogonInfo.java

         */
        public SID[] getGroupSids() {
            return this.groupSids;
        }
    
        /**
         * Returns an array of resource group SIDs the user belongs to.
         * @return the resource group SIDs array
         */
        public SID[] getResourceGroupSids() {
            return this.resourceGroupSids;
        }
    
        /**
         * Returns an array of extra SIDs associated with the user.
         * @return the extra SIDs array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (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);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

         * @param sids the array of SIDs to lookup
         */
        public MsrpcLookupSids(final LsaPolicyHandle policyHandle, final SID[] sids) {
            super(policyHandle, new LsarSidArrayX(sids), new lsarpc.LsarRefDomainList(), new lsarpc.LsarTransNameArray(), (short) 1,
                    sids.length);
            this.sids = sids;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         * If the SID is a group, it recursively processes all group members.
         *
         * @param file the SMB1 file
         * @param sid the SID to process
         * @param sidSet the set of SIDs to add to
         */
        protected void processAllowedSIDs(final SmbFile file, final SID sid, final Set<SID> sidSet) {
            if (logger.isDebugEnabled()) {
                logger.debug("SID:{}", sid);
            }
            final int type = sid.getType();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top