Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for dom (0.33 sec)

  1. src/main/java/jcifs/smb/DfsImpl.java

            if ( tf.getConfig().isDfsDisabled() )
                return null;
            String dom = domain.toLowerCase(Locale.ROOT);
            synchronized ( this.dcLock ) {
                CacheEntry<DfsReferralDataInternal> ce = this.dcCache.get(dom);
                if ( ce != null && System.currentTimeMillis() > ce.expiration ) {
                    ce = null;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SidTest.java

            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getRequiredProperty(TestProperties.TEST_GROUP_NAME), s.getAccountName());
            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[] {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

         * @throws IOException
         */
        public jcifs.SID[] getGroupMemberSids ( String authorityServerName, CIFSContext tc, 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);
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SID.java

         */
        public static final int SID_TYPE_USE_NONE = 0;
    
        /**
         * 
         */
        public static final int SID_TYPE_USER = 1;
    
        /**
         * 
         */
        public static final int SID_TYPE_DOM_GRP = 2;
    
        /**
         * 
         */
        public static final int SID_TYPE_DOMAIN = 3;
    
        /**
         * 
         */
        public static final int SID_TYPE_ALIAS = 4;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            }
            this.pathConsumed -= i;
        }
    
    
        @Override
        public void fixupDomain ( String dom ) {
            String s = getServer();
            if ( s.indexOf('.') < 0 && s.toUpperCase(Locale.ROOT).equals(s) ) {
                String fqdn = s + "." + dom;
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Applying DFS netbios name hack %s -> %s ", s, fqdn));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SIDCacheImpl.java

                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:
                    rpc.unicode_string ustr = rpc.domains.domains[ resp.sid_index ].name;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        dom = userInfo.substring(0, i);
                        u = i + 1;
                    }
                    else if ( c == ':' ) {
                        pass = userInfo.substring(i + 1);
                        break;
                    }
                }
                user = userInfo.substring(u, i);
            }
    
            this.domain = dom != null ? dom : ( defDomain != null ? defDomain : "" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

    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;
        public static final int SID_TYPE_WKN_GRP = lsarpc.SID_NAME_WKN_GRP;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(ntcreds.getUsername());
                assertEquals(user, ntcreds.getUsername());
                assertNotNull(ntcreds.getUserDomain());
                if ( dom != null ) {
                    assertEquals(dom, ntcreds.getUserDomain());
                }
                assertNotNull(ntcreds.getPassword());
                assertEquals(pass, ntcreds.getPassword());
    
                f.exists();
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SidResolver.java

         * tokenGroups constructed attribute retrieved via LDAP).
         * <p/>
         * 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.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
Back to top