http://bugzilla.novell.com/show_bug.cgi?id=623763 http://bugzilla.novell.com/show_bug.cgi?id=623763#c0 Summary: Samba ignores "credentials" option in </etc/fstab> or mount command Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: jimoe@sohnen-moe.com QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 Linux 2.6.34-12-desktop x86_64 smbd: 3.5.4-4.1-2382-SUSE-SL11.3 I updated from openSuse v11.2 to v11.3. The SMB services are no longer mounted. The reason is that the "credentials" (or "cred") option in </etc/fstab> is ignored, and also when using the mount command. If I remove "credentials" and add "username=xxx,password=yyy", the services are mounted. I cannot tell if it is the "credentials" option or something about the password file (which has 600 permission). There were no messages in <dmesg> about the credentials file, only that the mount failed because of incorrect authentication. The same applies to </var/log/samba/log.smbd>. Note: I decided to make this severity level Major because of the security implications; the passwords are in plain text in a world readable file. See also <http://forums.opensuse.org/english/get-help-here/network-internet/442214-samba-ignores-credentials-option.html>. Reproducible: Always Steps to Reproduce: 1. Use the "credentials" option in </etc/fstab> to mount remote SMB services, or "mount.cifs //service-name <mount-point> -o credentials=<path-to-cred-file>". 2. Install or upgrade to openSuse v11.3 Actual Results: The services are not mounted at startup or with the mount command. Expected Results: The services are mounted at startup or with the mount command. Here are two typical fstab entries. (The first is an OS/2 server that needs a lot of cajoling.) //sma-server1/graphics /w cifs credentials=/home/sma-user4/.smb/.smbpw,uid=sma-user4,gid=users,sec=lanman,file_mode=0666,dir_mode=0777,servern=SMA-SERVER1,nocase,noserverino 0 0 //sma-nas-01/photos /v cifs credentials=/home/sma-user4/.smb/.smbpw,uid=jmoe,gid=users 0 0 </home/sma-user4/.smb/.smbpw> looks like this: username=xxx password=yyy -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.