mount.cifs cannot mount a DFS share when using Kerberos authentication
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Invalid
|
Low
|
|||
cifs-utils (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: smbfs
In Karmic, it is possible to mount a CIFS filesystem from a DFS referral, but it would fail when using Kerberos authentication. Witness:
WARTHOGS\
mount.cifs kernel mount options: unc=//warthogs.
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
In the above example, //warthogs.
When not specifying "-o sec=krb5" (or when using "-o sec=ntlm"), the mount complete just fine. It also work is I use the direct UNC path, //warthogs-
uname -r: 2.6.31-20-generic
keyutils 1.2-10 (no change to /etc/request-
likewise-open5 5.0.3991.
I assigned the bug to smbfs, but I think it might actually be in the cifs kernel module and not in smbfs at all. I attached the relevant part of dmesg, after enabling the cifs module debug mode (echo 1 > /proc/fs/
Changed in samba: | |
status: | Unknown → Confirmed |
Changed in samba (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in samba: | |
status: | Confirmed → In Progress |
affects: | samba (Ubuntu) → cifs-utils (Ubuntu) |
Changed in samba: | |
importance: | Unknown → Low |
Changed in samba: | |
status: | In Progress → Invalid |
For comparison purpose, here is the output of "smbclient -d3 -k -c showconnect //warthogs. biz/namespace1/ firstshare" . We can see that it work as expected.