[Bug 209520] Re: SMB error: Unable to mount location when server configured with security=share

Sebastien Bacher seb128 at ubuntu.com
Sat Jun 21 15:41:52 BST 2008


I've updated the example name in the config to correspond to the
commands used and I can confirm than before the update clients can't
connect, after the update connecting using smbclient, smb or nautilus
works correctly, and changing the client lanman auth option brings the
system back to the situation before upgrade

** Description changed:

  Binary package hint: nautilus
  
  I just updated Ubuntu 8.04.
  Whenever I make a connection to the Window share, I got this error dialog: 
  
  Unable to mount location
  Failed to mount Windows share
  
  With and OK button.
  
  ProblemType: Bug
  Architecture: i386
  Date: Sun Mar 30 21:19:59 2008
  DistroRelease: Ubuntu 8.04
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: nvidia
  Package: nautilus 1:2.22.1-0ubuntu1
  PackageArchitecture: i386
  ProcEnviron:
   PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.24-12-generic i686
  
  TEST CASE:
  
  1) install the samba package
  2) configure 'security = share' and 'lanman auth = yes' in the [globals] section of /etc/samba/smb.conf
  3) add a user account to the server (e.g., with 'adduser user')
  4) set a password for this (insecure!) account with 'smbpasswd user'
  5) add a share which points to this user, e.g.:
-   [test]
+   [user]
          comment = Test share
          path = /home/user
          writable = yes
          guest ok = no
          user = user
  6) with the hardy version of the libsmbclient package installed, test the following:
    a) smbclient //localhost/user
          should return
       Server not using user level security and no password supplied.
       Server requested LANMAN password (share-level security) but 'client use lanman auth' is disabled
    b) nautilus smb://localhost/user
          should prompt for a password, and, even when entered correctly, return
       Couldn't display "smb://localhost/user"
       Error: Failed to mount Windows share
       Please select another viewer and try again.
  7) install the libsmbclient package from hardy-proposed
  8) both of the above two tests should now succeed
  9) set 'client lanman auth = no' in /etc/samba/smb.conf
  10) confirm that both of the above tests again fail when the config is overridden

** Description changed:

  Binary package hint: nautilus
  
  I just updated Ubuntu 8.04.
  Whenever I make a connection to the Window share, I got this error dialog: 
  
  Unable to mount location
  Failed to mount Windows share
  
  With and OK button.
  
  ProblemType: Bug
  Architecture: i386
  Date: Sun Mar 30 21:19:59 2008
  DistroRelease: Ubuntu 8.04
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: nvidia
  Package: nautilus 1:2.22.1-0ubuntu1
  PackageArchitecture: i386
  ProcEnviron:
   PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.24-12-generic i686
  
  TEST CASE:
  
  1) install the samba package
  2) configure 'security = share' and 'lanman auth = yes' in the [globals] section of /etc/samba/smb.conf
- 3) add a user account to the server (e.g., with 'adduser user')
- 4) set a password for this (insecure!) account with 'smbpasswd user'
+ 3) add a user account to the server (e.g., with 'sudo adduser user')
+ 4) set a password for this (insecure!) account with 'sudo smbpasswd user'
  5) add a share which points to this user, e.g.:
    [user]
          comment = Test share
          path = /home/user
          writable = yes
          guest ok = no
          user = user
  6) with the hardy version of the libsmbclient package installed, test the following:
    a) smbclient //localhost/user
          should return
       Server not using user level security and no password supplied.
       Server requested LANMAN password (share-level security) but 'client use lanman auth' is disabled
    b) nautilus smb://localhost/user
          should prompt for a password, and, even when entered correctly, return
       Couldn't display "smb://localhost/user"
       Error: Failed to mount Windows share
       Please select another viewer and try again.
  7) install the libsmbclient package from hardy-proposed
  8) both of the above two tests should now succeed
  9) set 'client lanman auth = no' in /etc/samba/smb.conf
  10) confirm that both of the above tests again fail when the config is overridden

-- 
SMB error: Unable to mount location when server configured with security=share
https://bugs.launchpad.net/bugs/209520
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list