On Saturday 16 August 2008 06:19:56 pm Günter Kukkukk wrote: > 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
Attached is my system's fstab with scrubbed password entries. To note, running mount manually by hand instead of using the fstab entry works. -- Gary L. Greene, Jr. Sent from: peorth 19:04:29 up 1 day, 48 min, 3 users, load average: 0.51, 0.80, 0.80 ========================================================================== 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.
/dev/sdd1 / xfs
defaults 1 1
/dev/sdc1 /home xfs
defaults 1 2
/dev/sda1 /mnt/windows ntfs rw,umask=0,nls=utf8
0 0
/dev/sdb2 /mnt/mandriva xfs defaults
1 2
/dev/sda2 swap swap defaults
0 0
/dev/hdb /mnt/dvdrw iso9660,udf
noauto,ro,user,exec 0 0
none /proc proc defaults
0 0
none /dev/pts devpts mode=620
0 0
none /dev/shm tmpfs defaults
0 0
none /sys sysfs defaults
0 0
none /sys/kernel/debug debugfs defaults
0 0
/tmp/app/1/image /tmp/app/1 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/2/image /tmp/app/2 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/3/image /tmp/app/3 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/4/image /tmp/app/4 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/5/image /tmp/app/5 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/6/image /tmp/app/6 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/7/image /tmp/app/7 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
//mimir.tolharadys.net/greeneg /home/greeneg/mnt/MIMIR cifs
user=greeneg,password=XXXXXXXX,uid=greeneg 0 0
//skuld.tolharadys.net/greeneg /home/greeneg/mnt/SKULD cifs
user=greeneg,password=XXXXXXXX,uid=greeneg,gid=greeneg 0 0
signature.asc
Description: This is a digitally signed message part.
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
