Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for sid (0.16 sec)

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

     * </pre>
     */
    
    public class SID extends rpc.sid_t {
    
        public static final int SID_TYPE_USE_NONE = lsarpc.SID_NAME_USE_NONE;
        public static final int SID_TYPE_USER    = lsarpc.SID_NAME_USER;
        public static final int SID_TYPE_DOM_GRP = lsarpc.SID_NAME_DOM_GRP;
        public static final int SID_TYPE_DOMAIN  = lsarpc.SID_NAME_DOMAIN;
        public static final int SID_TYPE_ALIAS   = lsarpc.SID_NAME_ALIAS;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SID.java

         */
        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");
                SYSTEM = new SID("S-1-5-18");
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SID.java

        /**
         * 
         */
        public static final int SID_TYPE_WKN_GRP = 5;
    
        /**
         * 
         */
        public static final int SID_TYPE_DELETED = 6;
    
        /**
         * 
         */
        public static final int SID_TYPE_INVALID = 7;
    
        /**
         * 
         */
        public static final int SID_TYPE_UNKNOWN = 8;
    
    
        /**
         * 
         * @return domain SID
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SID;
    
    
    /**
     * Internal use only
     * 
     * @internal
     */
    public class SecurityDescriptor implements SecurityInfo {
    
        /**
         * Descriptor type
         */
        private int type;
    
        /**
         * ACEs
         */
        private ACE[] aces;
        private SID ownerUserSid, ownerGroupSid;
    
    
        /**
         * 
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TestProperties.java

        static final String TEST_DOMAIN_SHORT = "test.domain.netbios";
        static final String TEST_DOMAIN_SID = "test.domain.sid";
        static final String TEST_DOMAIN_DC = "test.domain.dc";
        static final String TEST_USER_SID = "test.user.sid";
    
        static final String TEST_GROUP_SID = "test.group.sid";
        static final String TEST_GROUP_NAME = "test.group.name";
    
        static final String TEST_CONFIG_DIR = "test.config.dir";
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Feb 29 16:38:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/SidTest.java

            assertEquals(jcifs.SID.SID_TYPE_DOM_GRP, s.getType());
        }
    
    
        @Test
        public void resolveWellKnownUsers () throws IOException {
            SID domsid = new SID(getRequiredProperty(TestProperties.TEST_DOMAIN_SID));
            int rids[] = new int[] {
                500, 501
            };
            for ( int rid : rids ) {
                SID sid = new SID(domsid, rid);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SambaHelper.java

            }
            if (logger.isDebugEnabled()) {
                logger.debug("Ignored SID: {} {}", type, sid);
            }
            return null;
        }
    
        public String getAccountId(final jcifs.smb1.smb1.SID sid) {
            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

                SID out = sids[ si ].unwrap(SID.class);
                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:
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                if (responseData.getUrl().startsWith("smb:")) {
                    final SID[] allowedSids = (SID[]) metaDataMap.get(SmbClient.SMB_ALLOWED_SID_ENTRIES);
                    if (allowedSids != null) {
                        for (final SID sid : allowedSids) {
                            final String accountId = sambaHelper.getAccountId(sid);
                            if (accountId != null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

        public SamrDomainHandle(DcerpcHandle handle,
                    SamrPolicyHandle policyHandle,
                    int access,
                    rpc.sid_t sid) throws IOException {
            this.handle = handle;
            MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.7K bytes
    - Viewed (0)
Back to top