unclear error when lanman authentication is refused on the server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs |
Expired
|
Medium
|
|||
gvfs (Ubuntu) |
Triaged
|
Low
|
Ubuntu Desktop Bugs | ||
Hardy |
Won't Fix
|
High
|
Unassigned | ||
nautilus (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
samba (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
High
|
Steve Langasek |
Bug Description
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
NonfreeKernelMo
Package: nautilus 1:2.22.1-0ubuntu1
PackageArchitec
ProcEnviron:
PATH=/
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 '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
should prompt for a password, and, even when entered correctly, return
Couldn't display "smb://
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
Changed in gvfs: | |
importance: | Undecided → High |
Changed in nautilus: | |
milestone: | none → ubuntu-8.04.1 |
Changed in gvfs: | |
status: | New → Triaged |
Changed in samba: | |
assignee: | nobody → vorlon |
importance: | Undecided → High |
status: | New → In Progress |
Changed in samba: | |
milestone: | none → ubuntu-8.04.1 |
Changed in samba: | |
status: | New → Won't Fix |
Changed in nautilus: | |
milestone: | ubuntu-8.04.1 → none |
status: | Confirmed → Invalid |
status: | Confirmed → Invalid |
Changed in gvfs: | |
status: | Triaged → Fix Committed |
Changed in samba: | |
milestone: | ubuntu-8.04.1 → none |
status: | In Progress → Fix Committed |
Changed in gvfs: | |
status: | Fix Committed → Triaged |
Changed in samba: | |
milestone: | none → ubuntu-8.04.1 |
status: | Fix Committed → In Progress |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
description: | updated |
Changed in samba: | |
status: | Fix Committed → Fix Released |
Changed in gvfs: | |
status: | New → Triaged |
summary: |
- SMB error: Unable to mount location when server configured with - security=share + unclear error when lanman authentication is refused on the server |
Changed in gvfs (Ubuntu): | |
assignee: | nobody → desktop-bugs |
importance: | High → Low |
Changed in gvfs: | |
status: | Unknown → New |
Changed in nautilus (Ubuntu): | |
assignee: | nobody → nermin1001 (nermin-b) |
Changed in nautilus (Ubuntu): | |
assignee: | nermin1001 (nermin-b) → nobody |
Changed in gvfs: | |
importance: | Unknown → Medium |
Changed in gvfs: | |
status: | New → Expired |
I can confirm this problem on hardy.
It may be caused by me not getting a username/password dialog when connecting to smb://server. When not using kerberos I see no shares (could be because I only allow users to view shares *after* authentication) and samba server-side has "restrict anonymous" set to "1". Which means that listing the shares requires a logon.
I can only view the shares if I create a kerberos ticket. After that I can see the shares, but when I click on one, I get the above mentioned error.
With kerberos:
gnomevfs-ls smb://server works.
After that gnomevfs-ls smb://server/share also works.
without kerberos:
gnome-vfs-ls smb://server asks for username and password
After that gnome-vfs-ls smb://server/share also works.
It would appear that nautilus smb support is broken in hardy somehow, at least for authenticated smb support.
Note that this used to work in feisty and gutsy.