Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for could (0.13 sec)

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

                // this is not too good, probably should better pass the address and check that it is a netbios one.
                // While we could look up the domain controller/KDC we cannot really make the java kerberos implementation
                // use a KDC of our choice.
                // A potential workaround would be to try to get the server FQDN by reverse lookup, but this might have
                // security implications and also is not how Microsoft does it.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SID.java

        }
    
    
        /**
         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
         * <tt>S-1-5-21-1496946806-2192648263-3843101252</tt> and RID <tt>1029</tt> would
         * yield the SID <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt>.
         * 
         * @param domsid
         * @param rid
         */
        public SID ( SID domsid, int rid ) {
    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)
  3. src/main/java/jcifs/util/transport/Transport.java

            try {
                /*
                 * We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
                 * return which would render the timeout effectively useless.
                 */
                if ( this.state != 5 && this.state != 6 ) {
                    doConnect();
                }
            }
            catch ( Exception ex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     */
        public boolean equals( Object obj ) {
            if( obj instanceof NtlmPasswordAuthentication ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                }
                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpFilter.java

            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            p.setProperty("jcifs.smb.lmCompatibility", "0");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/KerberosTest.java

            EncryptionKey[] keys = Krb5Util.keysFromJavaxKeyTab(keytab, principalName);
    
            if ( keys == null || keys.length == 0 ) {
                throw new KrbException("Could not find any keys in keytab for " + principalName); //$NON-NLS-1$
            }
    
            KrbAsReqBuilder builder = new KrbAsReqBuilder(principalName, keytab);
            Credentials creds = builder.action().getCreds();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

        public String getTypeText() {
            if (origin_server != null)
                resolveWeak();
            return SID_TYPE_NAMES[type];
        }
    
        /**
         * Return the domain name of this SID unless it could not be
         * resolved in which case the numeric representation is returned.
         */
        public String getDomainName() {
            if (origin_server != null)
                resolveWeak();
    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/ConcurrencyTest.java

                try ( OutputStream s = exclFile.openOutputStream(false, SmbConstants.FILE_NO_SHARE) ) {
                    try {
                        exclFile.delete();
                        fail("Could remove locked file");
                    }
                    catch ( SmbException e ) {
                        if ( e.getNtStatus() == NtStatus.NT_STATUS_SHARING_VIOLATION ) {
                            return;
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "1200" );
            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            Config.setProperty( "jcifs.smb1.smb.lmCompatibility", "0" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
Back to top