Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for SmbTransport (0.23 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

    import jcifs.smb1.util.*;
    import jcifs.smb1.util.transport.*;
    
    public class SmbTransport extends Transport implements SmbConstants {
    
        static final byte[] BUF = new byte[0xFFFF];
        static final SmbComNegotiate NEGOTIATE_REQUEST = new SmbComNegotiate();
        static LogStream log = LogStream.getInstance();
        static HashMap dfsRoots = null;
    
        static synchronized SmbTransport getSmbTransport( UniAddress address, int port ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTransport.java

     * 
     * @author mbechler
     * @internal
     */
    public interface SmbTransport extends AutoCloseable {
    
        /**
         * @return the context this transport is attached to
         */
        CIFSContext getContext ();
    
    
        /**
         * 
         * @param type
         * @return transport instance with the given type
         */
        <T extends SmbTransport> T unwrap ( Class<T> type );
    
    
        /**
         * 
         * {@inheritDoc}
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

            UniAddress dc = new UniAddress( addr );
            SmbTransport trans = SmbTransport.getSmbTransport( dc, 0 );
            if (USERNAME == null) {
                trans.connect();
                if (SmbTransport.log.level >= 3)
                    SmbTransport.log.println(
                        "Default credentials (jcifs.smb1.smb1.client.username/password)" +
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                // https://lists.samba.org/archive/samba-technical/2009-August/066486.html
                // UniAddress addr = UniAddress.getByName(authDomain, true, tf);
                // SmbTransport trans = tf.getTransportPool().getSmbTransport(tf, addr, 0);
                try ( SmbTransport dc = getDc(tf, authDomain) ) {
                    CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/DfsResolver.java

         * 
         * @param domain
         * @param tf
         * @return connection
         * @throws CIFSException
         * @throws jcifs.smb.SmbAuthException
         */
        SmbTransport getDc ( CIFSContext tf, String domain ) throws CIFSException;
    
    
        /**
         * Resolve the location of a DFS path
         * 
         * @param domain
         * @param root
         * @param path
         * @param tf
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/DfsTest.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.DfsReferralData;
    import jcifs.DfsResolver;
    import jcifs.SmbResource;
    import jcifs.SmbTransport;
    import jcifs.internal.dfs.DfsReferralDataImpl;
    import jcifs.smb.DfsImpl;
    
    
    /**
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

    import java.io.IOException;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.DfsReferralData;
    import jcifs.SmbSession;
    import jcifs.SmbTransport;
    
    
    /**
     * @author mbechler
     *
     */
    public interface SmbTransportInternal extends SmbTransport {
    
        /**
         * @param cap
         * @return whether the transport has the given capability
         * @throws SmbException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            if( log.level >= 5 ) {
                log.println("macSigningKey:");
                Hexdump.hexdump( log, macSigningKey, 0, macSigningKey.length );
            }
        }
    
        public SigningDigest( SmbTransport transport,
                    NtlmPasswordAuthentication auth ) throws SmbException {
            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (NoSuchAlgorithmException ex) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

    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 ) {
            return 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            // handled special in SmbTransport.doRecv()
            return 0;
        }
        public String toString() {
            return new String( "SmbComReadAndXResponse[" +
                super.toString() +
                ",dataCompactionMode=" + dataCompactionMode +
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
Back to top