[bug #16216] smbfs performance suffers badly if no username is specified in the URL



URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16216>

                 Summary: smbfs performance suffers badly if no username is
specified in the URL
                 Project: GNU Midnight Commander
            Submitted by: ptsekov
            Submitted on: Wed 03/29/06 at 18:07
                Category: VFS
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: current (CVS or snapshot)
        Platform Version: All

    _______________________________________________________

Details:

1) From the Left or Right menu select SMB Link

2) Type the hostname of a remote samba server

3) \\Password for \\xxx.xxx.xxx.xxx\IPC$ dialog appears. In the Username
field type GUEST

4) Navigate to a share and press Enter. Notice how long it takes to load the
listing

5) Go to a .tar.gz file and hit Enter -> MC will crash

This problem is caused by the fact that smbfs uses a pool of active
connections which are uniquely identified by their hostname, username and
sharename. When no user is specified in the url, but in the "Password for"
dialog and this name is different from the current login name, smbfs thinks
that we are trying to connect to the remote machine with the current login
name. This confuses smbfs and it doesn't notice that there is a valid
connection which can be reused - the result is that smbfs opens a new
connection each time it needs to issue a command to the samba server.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16216>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]