Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SID_TYPE_USER (0.93 sec)

  1. src/test/java/jcifs/SIDTest.java

            rpcSid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
            rpcSid.sub_authority = new int[] { 21, 123, 456, 789, 1000 };
    
            SID userSid = new SID(rpcSid, SID.SID_TYPE_USER, "MYDOMAIN", "user", false);
            SID domainSid = userSid.getDomainSid();
            assertEquals("S-1-5-21-123-456-789", domainSid.toString());
            assertEquals(SID.SID_TYPE_DOMAIN, domainSid.getType());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

                names.names = new lsarpc.LsarTranslatedName[in.length];
                // First is a user
                names.names[0] = new lsarpc.LsarTranslatedName();
                names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_USER;
                names.names[0].name = new UnicodeString("alice", false);
                names.names[0].sid_index = 0;
                // Second is a domain group
                names.names[1] = new lsarpc.LsarTranslatedName();
    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/main/java/jcifs/SID.java

     */
    public interface SID {
    
        /**
         * SID type indicating no type information.
         */
        int SID_TYPE_USE_NONE = 0;
    
        /**
         * SID type indicating a user account.
         */
        int SID_TYPE_USER = 1;
    
        /**
         * SID type indicating a domain group.
         */
        int SID_TYPE_DOM_GRP = 2;
    
        /**
         * SID type indicating a domain.
         */
        int SID_TYPE_DOMAIN = 3;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDTest.java

                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                rpc.sid_t st = buildSidT((byte) 1, ident, 10, 20, 30);
    
                // Act: type USER, decrement true
                SID sid = new SID(st, jcifs.SID.SID_TYPE_USER, "DOM", "alice", true);
    
                // Assert: last element dropped
                assertEquals("S-1-5-10-20", sid.toString());
                assertEquals("DOM", sid.getDomainName());
    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/org/codelibs/fess/helper/SambaHelperTest.java

            assertEquals(7, SambaHelper.SID_TYPE_INVALID);
            assertEquals(8, SambaHelper.SID_TYPE_UNKNOWN);
            assertEquals(0, SambaHelper.SID_TYPE_USE_NONE);
            assertEquals(1, SambaHelper.SID_TYPE_USER);
            assertEquals(5, SambaHelper.SID_TYPE_WKN_GRP);
        }
    
        public void test_init() {
            ComponentUtil.setFessConfig(new MockFessConfig());
            sambaHelper.init();
    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/org/codelibs/fess/helper/SambaHelper.java

        /**
         * SID type for a non-use SID.
         */
        public static final int SID_TYPE_USE_NONE = 0;
    
        /**
         * SID type for a user.
         */
        public static final int SID_TYPE_USER = 1;
    
        /**
         * SID type for a well-known group.
         */
        public static final int SID_TYPE_WKN_GRP = 5;
    
        /**
         * The Fess configuration.
         */
        protected FessConfig fessConfig;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

         * SID type indicating no type information.
         */
        public static final int SID_TYPE_USE_NONE = lsarpc.SID_NAME_USE_NONE;
        /**
         * SID type indicating a user account.
         */
        public static final int SID_TYPE_USER = lsarpc.SID_NAME_USER;
        /**
         * SID type indicating a domain group.
         */
        public static final int SID_TYPE_DOM_GRP = lsarpc.SID_NAME_DOM_GRP;
        /**
         * SID type indicating a domain.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SidResolver.java

         *
         * Domain groups nested inside a local group are currently not expanded. In
         * this case the key (SID) type will be SID_TYPE_DOM_GRP rather than
         * SID_TYPE_USER.
         *
         * @param tc
         *            The context to use
         * @param authorityServerName
         *            The server from which the local groups will be queried.
         * @param flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SIDCacheImpl.java

                final SID out = sids[si].unwrap(SID.class);
                final LsarTranslatedName resp = rpc.names.names[si];
                out.domainName = null;
                switch (resp.sid_type) {
                case jcifs.SID.SID_TYPE_USER:
                case jcifs.SID.SID_TYPE_DOM_GRP:
                case jcifs.SID.SID_TYPE_DOMAIN:
                case jcifs.SID.SID_TYPE_ALIAS:
                case jcifs.SID.SID_TYPE_WKN_GRP:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top