Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SID_TYPE_DOM_GRP (0.2 sec)

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

         */
        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;
    
        /**
         * SID type indicating a local group or alias.
         */
        int SID_TYPE_ALIAS = 4;
    
        /**
    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

        /**
         * 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.
         */
        public static final int SID_TYPE_DOMAIN = lsarpc.SID_NAME_DOMAIN;
        /**
         * SID type indicating a local group or alias.
    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/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test getting the SID type as text.
         */
        @Test
        void testGetTypeText() {
            rpc.sid_t rpcSid = new rpc.sid_t();
            SID sid = new SID(rpcSid, SID.SID_TYPE_DOM_GRP, null, null, false);
            assertEquals("Domain group", sid.getTypeText());
        }
    
        /**
         * Test the unwrap method.
         *
         * @throws SmbException if the SID string is invalid
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            }
        };
    
        public void test_constants() {
            assertEquals(4, SambaHelper.SID_TYPE_ALIAS);
            assertEquals(6, SambaHelper.SID_TYPE_DELETED);
            assertEquals(2, SambaHelper.SID_TYPE_DOM_GRP);
            assertEquals(3, SambaHelper.SID_TYPE_DOMAIN);
            assertEquals(7, SambaHelper.SID_TYPE_INVALID);
            assertEquals(8, SambaHelper.SID_TYPE_UNKNOWN);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDCacheImplTest.java

                names.names[0].sid_index = 0;
                // Second is a domain group
                names.names[1] = new lsarpc.LsarTranslatedName();
                names.names[1].sid_type = (short) jcifs.SID.SID_TYPE_DOM_GRP;
                names.names[1].name = new UnicodeString("Domain Users", false);
                names.names[1].sid_index = 0;
                rpc.names = names;
                return null;
            }).when(handle).sendrecv(any());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SambaHelper.java

        /**
         * SID type for a deleted account.
         */
        public static final int SID_TYPE_DELETED = 6;
    
        /**
         * SID type for a domain group.
         */
        public static final int SID_TYPE_DOM_GRP = 2;
    
        /**
         * SID type for a domain.
         */
        public static final int SID_TYPE_DOMAIN = 3;
    
        /**
         * SID type for an invalid SID.
         */
    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/SidResolver.java

         * tokenGroups constructed attribute retrieved via LDAP).
         *
         * 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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

                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:
                    final rpc.unicode_string ustr = rpc.domains.domains[resp.sid_index].name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                // Build a group SID with domain name and RID 512
                SID group = new SID(buildSidT((byte) 1, ident, 10, 20, 512), jcifs.SID.SID_TYPE_DOM_GRP, "DOM", "Domain Admins", false);
    
                jcifs.SID member = new SID("S-1-5-21-1000");
                jcifs.SID[] expected = new jcifs.SID[] { member };
    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/jcifs/smb/SID.java

         */
        public jcifs.SID[] getGroupMemberSids(final String authorityServerName, final CIFSContext tc, final int flags) throws IOException {
            if (this.type != SID_TYPE_DOM_GRP && this.type != SID_TYPE_ALIAS) {
                return new SID[0];
            }
    
            return tc.getSIDResolver().getGroupMemberSids(tc, authorityServerName, getDomainSid(), getRid(), flags);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top