[Pkg-samba-maint] Bug#505299: smbfs: "mount error 2 = No such file or directory" (with "sec=krb5")

George B. i93.borg at gmail.com
Tue Nov 11 15:13:34 UTC 2008


Package: smbfs
Version: 2:3.2.4-1
Severity: important

(resubmitting due to personal "fail")

Hello,

I am unable to mount a share on my Windows XP machine using mount.cifs/smbmount. Connecting via smbclient works fine. Using smbmount in Etch works fine (as I understand, that worked in a different way?)

Workstation is part of a domain.

---
# mount.cifs //machine.fqn.com/Werk mnt/ --verbose -o user=user,dom=fqn.com,sec=krb5
parsing options: user=user,dom=fqn.com,sec=krb5
Password:

mount.cifs kernel mount options unc=//machine.fqn.com\Werk,ip=10.0.2.2,pass=password,ver=1,user=user,dom=fqn.com,sec=krb5
mount error 2 = No such file or directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
---

Using any other "sec" option results in a "mount error 13 = Permission denied" and a failed login entry in the WinXP event log.

I attach a network capture file. Looks like the server replies to the protocol negotiation request with STATUS_SUCCESS and then the client drops the connection. If this is true then it is a classic case of WTF??? ;-)

I'm not sure why smbclient authenticates successfully - looks like it is using some sort of NTLM authentication mode, but none of the NTLM "sec" options helped mount.cifs.

I would be happy to help troubleshoot this, as I really need to get this working. Please ask.


Thanks,

George.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbfs depends on:
ii  libc6                2.7-15              GNU C Library: Shared libraries
ii  libcomerr2           1.41.2-1            common error description library
ii  libkeyutils1         1.2-9               Linux Key Management Utilities (li
ii  libkrb53             1.6.dfsg.4~beta1-4  MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libtalloc1           1.2.0~git20080616-1 hierarchical pool based memory all
ii  libwbclient0         2:3.2.4-1           client library for interfacing wit
ii  netbase              4.34                Basic TCP/IP networking system
ii  samba-common         2:3.2.4-1           Samba common files used by both th

smbfs recommends no packages.

Versions of packages smbfs suggests:
ii  smbclient                     2:3.2.4-1  a LanManager-like simple client fo

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba.cap
Type: application/octet-stream
Size: 1113 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20081111/3e918ddf/attachment.obj 


More information about the Pkg-samba-maint mailing list