Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for CAP_EXTENDED_SECURITY (0.13 sec)

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

            this.capabilities &= this.server.scapabilities;
            if ( ( this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY ) == SmbConstants.CAP_EXTENDED_SECURITY )
                this.capabilities |= SmbConstants.CAP_EXTENDED_SECURITY; // & doesn't copy high bit
    
            if ( ctx.getConfig().isUseUnicode() || ctx.getConfig().isForceUnicode() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            snd_buf_size = Math.min( snd_buf_size, server.maxBufferSize );
            capabilities &= server.capabilities;
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY)
                capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit
    
            if ((capabilities & ServerMessageBlock.CAP_UNICODE) == 0) {
                // server doesn't want unicode
                if (FORCE_UNICODE) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                    if (auth == NtlmPasswordAuthentication.ANONYMOUS) {
                        lmHash = new byte[0];
                        ntHash = new byte[0];
                        capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                    } else if (session.transport.server.encryptedPasswords) {
                        lmHash = auth.getAnsiHash( session.transport.server.encryptionKey );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer,
                                        int bufferIndex ) {
            int start = bufferIndex;
    
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == 0) {
                server.encryptionKey = new byte[server.encryptionKeyLength];
                System.arraycopy( buffer, bufferIndex,
                        server.encryptionKey, 0, server.encryptionKeyLength );
    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/SmbComSessionSetupAndX.java

                    if ( a.isAnonymous() ) {
                        this.lmHash = new byte[0];
                        this.ntHash = new byte[0];
                        this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                        if ( a.isGuest() ) {
                            this.accountName = a.getUsername();
                            if ( this.isUseUnicode() )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int CAP_LOCK_AND_READ    = 0x0100;
        static final int CAP_NT_FIND          = 0x0200;
        static final int CAP_DFS              = 0x1000;
        static final int CAP_EXTENDED_SECURITY = 0x80000000;
    
        // file attribute encoding
        static final int ATTR_READONLY   = 0x01;
        static final int ATTR_HIDDEN     = 0x02;
        static final int ATTR_SYSTEM     = 0x04;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        static final int CAP_NT_FIND = 0x0200;
        static final int CAP_DFS = 0x1000;
        static final int CAP_LARGE_READX = 0x4000;
        static final int CAP_LARGE_WRITEX = 0x8000;
        static final int CAP_EXTENDED_SECURITY = 0x80000000;
    
        // file attribute encoding
        /**
         * File is marked read-only
         */
        static final int ATTR_READONLY = 0x01;
        /**
         * File is marked hidden
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

                this.capabilities = ( this.useNTSmbs ? SmbConstants.CAP_NT_SMBS : 0 ) | ( this.useNtStatus ? SmbConstants.CAP_STATUS32 : 0 )
                        | ( this.useExtendedSecurity ? SmbConstants.CAP_EXTENDED_SECURITY : 0 )
                        | ( this.useLargeReadWrite ? SmbConstants.CAP_LARGE_READX : 0 ) | ( this.useLargeReadWrite ? SmbConstants.CAP_LARGE_WRITEX : 0 )
                        | ( this.useUnicode ? SmbConstants.CAP_UNICODE : 0 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    switch (state) {
                        case 10: /* NTLM */
                            if (auth != NtlmPasswordAuthentication.ANONYMOUS &&
                                    transport.hasCapability(SmbConstants.CAP_EXTENDED_SECURITY)) {
                                state = 20; /* NTLMSSP */
                                break;
                            }
        
                            request = new SmbComSessionSetupAndX( this, andx, auth );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

            boolean anonymous = this.credentials.isAnonymous();
            do {
                switch ( state ) {
                case 10: /* NTLM */
    
                    if ( trans.hasCapability(SmbConstants.CAP_EXTENDED_SECURITY) ) {
                        log.debug("Extended security negotiated");
                        state = 20; /* NTLMSSP */
                        break;
                    }
    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