Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SECURITY_SHARE (0.15 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            }
            return 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            if ( this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator ) {
                NtlmPasswordAuthenticator pwAuth = (NtlmPasswordAuthenticator) this.ctx.getCredentials();
                if ( isExternalAuth(pwAuth) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                    return batchLimits[8];
            }
            return 0;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
    
            if( session.transport.server.security == SECURITY_SHARE &&
                            ( session.auth.hashesExternal ||
                            session.auth.password.length() > 0 )) {
    
                if( session.transport.server.encryptedPasswords ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            if( response.isLoggedInAsGuest &&
                                        "GUEST".equalsIgnoreCase( auth.username ) == false &&
                                        transport.server.security != SmbConstants.SECURITY_SHARE &&
                                        auth != NtlmPasswordAuthentication.ANONYMOUS) {
                                throw new SmbAuthException( NtStatus.NT_STATUS_LOGON_FAILURE );
                            }
        
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                ",dialectIndex="        + dialectIndex +
                ",securityMode=0x"      + Hexdump.toHexString( server.securityMode, 1 ) +
                ",security="            + ( server.security == SECURITY_SHARE ? "share" : "user" ) +
                ",encryptedPasswords="  + server.encryptedPasswords +
                ",maxMpxCount="         + server.maxMpxCount +
                ",maxNumberVcs="        + server.maxNumberVcs +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                        + Hexdump.toHexString(this.server.securityMode, 1) + ",security="
                        + ( this.server.security == SmbConstants.SECURITY_SHARE ? "share" : "user" ) + ",encryptedPasswords="
                        + this.server.encryptedPasswords + ",maxMpxCount=" + this.server.smaxMpxCount + ",maxNumberVcs=" + this.server.maxNumberVcs
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                    blob = (byte[])cred;
                } else {
                    throw new SmbException("Unsupported credential type");
                }
            } else if (session.transport.server.security == SECURITY_SHARE) {
                if (cred instanceof NtlmPasswordAuthentication) {
                    NtlmPasswordAuthentication auth = (NtlmPasswordAuthentication)cred;
                    lmHash = new byte[0];
                    ntHash = new byte[0];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int OPEN_FUNCTION_FAIL_IF_EXISTS      = 0x0000;
        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int PID = (int)( Math.random() * 65536d );
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER  = 0x01;
    
        static final int CMD_OFFSET        = 4;
        static final int ERROR_CODE_OFFSET = 5;
        static final int FLAGS_OFFSET      = 9;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                else {
                    throw new SmbException("Unsupported credential type " + ( cred != null ? cred.getClass() : "NULL" ));
                }
            }
            else if ( server.security == SmbConstants.SECURITY_SHARE ) {
                if ( cred instanceof NtlmPasswordAuthenticator ) {
                    NtlmPasswordAuthenticator a = (NtlmPasswordAuthenticator) cred;
                    this.lmHash = new byte[0];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        // open function
        static final int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000;
        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER = 0x01;
    
        static final int CMD_OFFSET = 4;
        static final int ERROR_CODE_OFFSET = 5;
        static final int FLAGS_OFFSET = 9;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                        ex = se;
                    }
    
                    if ( !this.getConfig().isAllowGuestFallback() && response.isLoggedInAsGuest()
                            && negoResp.getServerData().security != SmbConstants.SECURITY_SHARE
                            && ! ( this.credentials.isGuest() || this.credentials.isAnonymous() ) ) {
                        throw new SmbAuthException(NtStatus.NT_STATUS_LOGON_FAILURE);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
Back to top