On Sat, 2013-07-13 at 03:59 -0700, Linda Walsh wrote:
lynn wrote:
Hi How do I put this in /etc/fstab mount -t cifs //altea/shared /home/shared -osec=krb5,multiuser,username=cifsuser
I've tried: //altea/shared /home/shared cifs sec=krb5,multiuser,username=cifsuser 0 0 and replacing the server with its IP, but nothing.
The manual mount works fine. The client log shows no reference to cifs and there's no record of a request from it on the server.
Any ideas? Thanks
Hi
I normally use /etc/cifstab, but tried putting a mount in /etc/fstab and seem to have no problem.
1) I specified no 'sec' parameter, OK, so that's: sec=sys
2), I can find no mention of a multiuser parameter (perhaps you meant "setuids"). We don't need setuids. For multiuser please see: man mount.cifs
Where is your password? In the keytab
Do you have a domain or workgroup? domain
I put user/password/domain in a credentials file in my ~/.ssh dir, man page says to use format: username=law password=law_pw domain=domain or workgroup name
I don't think credentials work with kerberos (?).
but my mount line in fstab looks like:
//ATHENAE/C$/ /mnt/ cifs rw,uid=law,gid=Administrators,nocase,serverino,credentials=/home/law/.ssh/athenae,setuids 0 0
Note -- params that caused it to fail: directio & sfu -- both documented but both causing problems: directio was just an 'unknown' parameter and sfu gave, in "dmesg",:
CIFS VFS: cifs_mount failed w/return code = -113 init_special_inode: bogus i_mode (755) for inode cifs:0 CIFS VFS: Error connecting to socket. Aborting operation
Not a problem. I think sfu was for older domains. All our Linux stuff is in the directory.
As I say, the line is fstab is totally ignored during boot. There's an easy workaround but I'd like to know why. Thanks for your time, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org