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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
