Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SmbComNegotiateResponse (0.12 sec)

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

    import jcifs.util.Hexdump;
    import jcifs.util.Strings;
    import jcifs.util.transport.Response;
    
    
    /**
     * 
     */
    public class SmbComNegotiateResponse extends ServerMessageBlock implements SmbNegotiationResponse {
    
        private static final Logger log = LoggerFactory.getLogger(SmbComNegotiateResponse.class);
    
        private int dialectIndex;
    
        /* Negotiated values */
        private ServerData server;
        private int negotiatedFlags2;
    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/SmbComNegotiateResponse.java

    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    import java.io.UnsupportedEncodingException;
    
    class SmbComNegotiateResponse extends ServerMessageBlock {
    
        int dialectIndex;
        SmbTransport.ServerData server;
    
        SmbComNegotiateResponse( SmbTransport.ServerData server ) {
            this.server = server;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                  SmbTransportImpl transport = session.getTransport() ) {
                SmbNegotiationResponse nego = transport.getNegotiateResponse();
                if ( nego instanceof SmbComNegotiateResponse ) {
                    return ( (SmbComNegotiateResponse) nego ).getServerData().serverTimeZone * 1000 * 60L;
                }
                return 0;
            }
        }
    
    
        /**
         * {@inheritDoc}
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

        private String accountName, primaryDomain;
        private SmbComNegotiateResponse negotiated;
        private int capabilities;
    
    
        /**
         * 
         * @param tc
         * @param negotiated
         * @param andx
         * @param cred
         * @throws SmbException
         * @throws GeneralSecurityException
         */
        public SmbComSessionSetupAndX ( CIFSContext tc, SmbComNegotiateResponse negotiated, ServerMessageBlock andx, Object cred )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

    import jcifs.internal.SmbNegotiationResponse;
    import jcifs.internal.TreeConnectResponse;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.smb1.com.SmbComBlankResponse;
    import jcifs.internal.smb1.com.SmbComNegotiateResponse;
    import jcifs.internal.smb1.com.SmbComTreeConnectAndX;
    import jcifs.internal.smb1.com.SmbComTreeConnectAndXResponse;
    import jcifs.internal.smb1.com.SmbComTreeDisconnect;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

            SmbComSessionSetupAndXResponse response = null;
            SSPContext ctx = null;
            byte[] token = new byte[0];
            int state = 10;
            final SmbComNegotiateResponse negoResp = (SmbComNegotiateResponse) trans.getNegotiateResponse();
            boolean anonymous = this.credentials.isAnonymous();
            do {
                switch ( state ) {
                case 10: /* NTLM */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

        @Override
        public byte[] getServerEncryptionKey () {
            if ( this.negotiated == null ) {
                return null;
            }
    
            if ( this.negotiated instanceof SmbComNegotiateResponse ) {
                return ( (SmbComNegotiateResponse) this.negotiated ).getServerData().encryptionKey;
            }
            return null;
        }
    
    
        @Override
        public boolean isSigningOptional () throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
        protected void doConnect() throws IOException {
            /*
             * Negotiate Protocol Request / Response
             */
    
            SmbComNegotiateResponse resp = new SmbComNegotiateResponse( server );
            try {
                negotiate( port, resp );
            } catch( ConnectException ce ) {
                // Try an alternate port if there was an issue communicating to the server
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top