Using samba 3.2.1, when trying to mount cifs mounts at boot from in the /etc/fstab, I get the following error in my syslog: CIFS VFS: cifs_mount failed w/return code = -22 After enabling debugging from the /proc interface, I get this: fs/cifs/cifsfs.c: Devname: //skuld.tolharadys.net/greeneg flags: 0 fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 10 with uid: 0 fs/cifs/connect.c: Username: greeneg fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 10) rc = -22 CIFS VFS: cifs_mount failed w/return code = -22 Can someone please shed some light on this? Error codes versus helpful error messages are less than helpful.... -- Gary L. Greene, Jr. Sent from: peorth 19:39:10 up 1:23, 3 users, load average: 0.20, 0.21, 0.18 =========================================================================Developer and Project Lead for the AltimatOS open source project Volunteer Developer for the KDE open source project See http://www.altimatos.com/ and http://www.kde.org/ for more information ========================================================================= Please avoid sending me Word or PowerPoint attachments. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://lists.samba.org/archive/samba/attachments/20080816/4aad6125/attachment.bin
Am Samstag, 16. August 2008 schrieb Gary Greene:> Using samba 3.2.1, when trying to mount cifs mounts at boot from in > the /etc/fstab, I get the following error in my syslog: > > CIFS VFS: cifs_mount failed w/return code = -22 > > After enabling debugging from the /proc interface, I get this: > > > fs/cifs/cifsfs.c: Devname: //skuld.tolharadys.net/greeneg flags: 0 > fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 10 with uid: 0 > fs/cifs/connect.c: Username: greeneg > fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 10) rc = -22 > CIFS VFS: cifs_mount failed w/return code = -22 > > Can someone please shed some light on this? Error codes versus helpful error > messages are less than helpful.... >the value -22 is the negative representation of EINVAL (from errno.h), which cifs is returning here in connect.c function cifs_mount(), when it parses parameters passed down by mount and "an error condition is seen" during parameter handling. Please post your complete cifs mount entry from /etc/fstab or the 'mount -t cifs ...' command you used for testing. Cheers, G?nter
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://lists.samba.org/archive/samba/attachments/20080816/9b4dc755/attachment.bin
Maybe Matching Threads
- Client driver installation
- Assistance needed on using mount.smbfs (cifs) to authenticate to samba server with encrypt passwords = No.
- CIFS mount intermittently unavailable: cifs_mount failed w/return code = -5
- Failed to mount CIFS from Windows Vista/7 with sec=ntlmv2 on Linux
- Samba Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13