Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getSmbSession (0.12 sec)

  1. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @param ctx
         * @return session
         */
        SmbSession getSmbSession ( CIFSContext ctx );
    
    
        /**
         * @param tf
         * @param targetHost
         * @param targetDomain
         * @return session
         */
        SmbSession getSmbSession ( CIFSContext tf, String targetHost, String targetDomain );
    
    
        /**
         * @return whether this is a SMB2 connection
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeConnection.java

                        SmbTransportInternal trans = this.exclusiveTransport;
                        try ( SmbSessionInternal smbSession = trans.getSmbSession(this.ctx, host, targetDomain).unwrap(SmbSessionInternal.class);
                              SmbTreeImpl uct = smbSession.getSmbTree(share, null).unwrap(SmbTreeImpl.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                        " not specified. SMB signing may not work propertly." +
                        "  Skipping DC interrogation." );
            } else {
                SmbSession ssn = trans.getSmbSession( NtlmPasswordAuthentication.DEFAULT );
                ssn.getSmbTree( LOGON_SHARE, null ).treeConnect( null, null );
            }
            return new NtlmChallenge( trans.server.encryptionKey, dc );
        }
    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/SmbTransport.java

            this.port = port;
            this.localAddr = localAddr;
            this.localPort = localPort;
        }
    
        synchronized SmbSession getSmbSession() {
            return getSmbSession( new NtlmPasswordAuthentication( null, null, null ));
        }
        synchronized SmbSession getSmbSession( NtlmPasswordAuthentication auth ) {
            SmbSession ssn;
            long now;
    
            ListIterator iter = sessions.listIterator();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/OplockTests.java

                    .unwrap(SmbTransportInternal.class);
                  SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
                  SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) {
    
                if ( trans.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    .unwrap(SmbTransportInternal.class);
                  SmbSessionInternal smbSession = smbTransport.getSmbSession(tf, dc.getHostName(), null).unwrap(SmbSessionInternal.class);
                  SmbTreeInternal tree = smbSession.getSmbTree(tf.getConfig().getLogonShare(), null).unwrap(SmbTreeInternal.class) ) {
                tree.connectLogon(tf);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

         */
        @Override
        public SmbSessionImpl getSmbSession ( CIFSContext tf ) {
            return getSmbSession(tf, null, null);
        }
    
    
        /**
         *
         * @param tf
         *            context to use
         * @return a session for the context
         */
        @Override
        @SuppressWarnings ( "resource" )
        public synchronized SmbSessionImpl getSmbSession ( CIFSContext tf, String targetHost, String targetDomain ) {
    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/http/NtlmHttpFilter.java

                                + "  Skipping DC interrogation.");
                }
                else {
                    try ( SmbSessionInternal ssn = trans.getSmbSession(tf.withDefaultCredentials()).unwrap(SmbSessionInternal.class) ) {
                        ssn.treeConnectLogon();
                    }
                }
                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ConcurrencyTest.java

                        .unwrap(SmbTransportInternal.class);
                      SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
                      SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) {
    
                    if ( trans.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    ssn = trans.getSmbSession(NtlmPasswordAuthentication.NULL);
                    tree = ssn.getSmbTree(null, null);
                    tree.treeConnect(null, null);
                } else if ((a = NtlmAuthenticator.requestNtlmPasswordAuthentication(
                            url.toString(), sae)) != null) {
                    auth = a;
                    ssn = trans.getSmbSession(auth);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top