Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for sid (0.01 sec)

  1. src/main/java/jcifs/SID.java

        /**
         * SID type indicating a local group or alias.
         */
        int SID_TYPE_ALIAS = 4;
    
        /**
         * SID type indicating a well-known group.
         */
        int SID_TYPE_WKN_GRP = 5;
    
        /**
         * SID type indicating a deleted account.
         */
        int SID_TYPE_DELETED = 6;
    
        /**
         * SID type indicating an invalid SID.
         */
        int SID_TYPE_INVALID = 7;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

            synchronized (sid_cache) {
                for (si = 0; si < sids.length; si++) {
                    final SID sid = (SID) sid_cache.get(sids[si]);
                    if (sid != null) {
                        sids[si].type = sid.type;
                        sids[si].domainName = sid.domainName;
                        sids[si].acctName = sid.acctName;
                    } else {
                        list.add(sids[si]);
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

        /**
         * Well known SID: EVERYONE
         */
        public static SID EVERYONE = null;
    
        /**
         * Well known SID: CREATOR_OWNER
         */
        public static SID CREATOR_OWNER = null;
    
        /**
         * Well known SID: SYSTEM
         */
        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDTest.java

                // Assert
                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                assertEquals(1029, sid.getRid());
            }
    
            @Test
            @DisplayName("Relative constructor with SID appends all subauthorities of relative SID")
            void testRelativeConstructorWithSid() throws Exception {
                // Arrange
                SID dom = new SID("S-1-5-21");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SidResolverTest.java

        @Mock
        private SID mockSid1;
    
        @Mock
        private SID mockSid2;
    
        @Mock
        private SID mockSid3;
    
        @Mock
        private SID mockDomainSid;
    
        private String testServerName;
        private SID[] testSids;
    
        @BeforeEach
        void setUp() {
            testServerName = "test-server.domain.com";
            testSids = new SID[] { mockSid1, mockSid2, mockSid3 };
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            // Verify SID
            assertNotNull(decodedInfo.sid);
            assertEquals(trustInfo.sid.revision, decodedInfo.sid.revision);
            assertEquals(trustInfo.sid.sub_authority_count, decodedInfo.sid.sub_authority_count);
        }
    
        @Test
        void testLsarSidArrayEncodeDecodeRoundTrip() throws NdrException {
            // Create SID array with test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        /** SID name type: domain. */
        /** SID name type: domain. */
        public static final int SID_NAME_DOMAIN = 3;
        /** SID name type: alias. */
        /** SID name type: alias. */
        public static final int SID_NAME_ALIAS = 4;
        /** SID name type: well-known group. */
        /** SID name type: well-known group. */
        public static final int SID_NAME_WKN_GRP = 5;
        /** SID name type: deleted. */
        /** SID name type: deleted account. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacSidAttributesTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    class PacSidAttributesTest {
    
        private SID sidMock;
        private PacSidAttributes pacSidAttributes;
        private final int attributes = 12345;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            sidMock = mock(SID.class);
            // Create a new PacSidAttributes instance before each test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacGroup.java

     */
    package jcifs.pac;
    
    import jcifs.smb.SID;
    
    /**
     * Represents a group membership entry in PAC logon information.
     * Contains a group SID and associated attributes.
     */
    public class PacGroup {
    
        private final SID id;
        private final int attributes;
    
        /**
         * Constructs a PAC group entry.
         * @param id the group's Security Identifier (SID)
         * @param attributes the group membership attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal");
            assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE");
            assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top