Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 177 for type (0.47 sec)

  1. src/main/java/jcifs/ntlmssp/Type2Message.java

         * 
         * @param tc
         *            context to use
         * @param type1
         *            The Type-1 message which this represents a response to.
         */
        public Type2Message ( CIFSContext tc, Type1Message type1 ) {
            this(tc, type1, null, null);
        }
    
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         * 
         * @param tc
         *            context to use
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                            0xffffffff);
                }
                byte[] type1 = new byte[hostInfo ?
                        (32 + domain.length + workstation.length) : 16];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8);
                writeULong(type1, 8, 1);
                writeULong(type1, 12, flags);
                if (hostInfo) {
                    writeSecurityBuffer(type1, 16, 32, domain);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
                    int blockSize = ( this.file.getType() == SmbConstants.TYPE_FILESYSTEM ) ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/DelegatingNameServiceClient.java

        @Override
        public NetbiosAddress getNbtByName ( String host, int type, String scope ) throws UnknownHostException {
            return this.nscl.getNbtByName(host, type, scope);
        }
    
    
        @Override
        public NetbiosAddress getNbtByName ( String host, int type, String scope, InetAddress svr ) throws UnknownHostException {
            return this.nscl.getNbtByName(host, type, scope, svr);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Sent by the server in the Type 2 message to indicate that the
         * target authentication realm is a domain.
         */
        public static final int NTLMSSP_TARGET_TYPE_DOMAIN = 0x00010000;
    
        /**
         * Sent by the server in the Type 2 message to indicate that the
         * target authentication realm is a server.
         */
        public static final int NTLMSSP_TARGET_TYPE_SERVER = 0x00020000;
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @param type2 The Type-2 message.
         * @param password The password.
         * @return A <code>byte[]</code> containing the LanManager response.
         */
        public static byte[] getLMResponse(Type2Message type2, String password) {
            if (type2 == null || password == null) return null;
            return NtlmPasswordAuthentication.getPreNTLMResponse(password,
                    type2.getChallenge());
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            String name;
            int versionMajor;
            int versionMinor;
            int type;
            String commentOrMasterBrowser;
    
            public String getName() {
                return name;
            }
            public int getType() {
                return (type & 0x80000000) != 0 ? SmbFile.TYPE_WORKGROUP : SmbFile.TYPE_SERVER;
            }
            public int getAttributes() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                try {
    SmbComReadAndX request = new SmbComReadAndX( file.fid, fp, r, null );
    if( file.type == SmbFile.TYPE_NAMED_PIPE ) {
        request.minCount = request.maxCount = request.remaining = 1024;
    }
                    file.send( request, response );
                } catch( SmbException se ) {
                    if( file.type == SmbFile.TYPE_NAMED_PIPE &&
                            se.getNtStatus() == NtStatus.NT_STATUS_PIPE_BROKEN ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

        }
        public String toString() {
            return new String( "NetServerEnum2[" + super.toString() +
                    ",name=" + name +
                    ",serverTypes=" + (serverTypes == SV_TYPE_ALL ?
                            "SV_TYPE_ALL" : "SV_TYPE_DOMAIN_ENUM" ) +
                    "]" );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

                }
    
                SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off);
    
                int type = this.file.getType();
                int r, n;
                int blockSize = ( type == SmbConstants.TYPE_FILESYSTEM ) ? this.readSizeFile : this.readSize;
                do {
                    r = len > blockSize ? blockSize : len;
    
                    if ( log.isTraceEnabled() ) {
    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)
Back to top