Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 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/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)
  5. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                    return false;
                }
            });
            sambaHelper.init();
    
            // Test SID that throws exception in toDisplayString
            SID exceptionSID = new SID() {
                @Override
                public SID getDomainSid() {
                    return null;
                }
    
                @Override
                public int getRid() {
                    return 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/helper/SambaHelper.java

        }
    
        /**
         * Gets the account ID from a SID.
         * @param sid The SID.
         * @return The account ID.
         */
        public String getAccountId(final SID sid) {
            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top