[Bug 623763] New: Samba ignores "credentials" option in </etc/fstab> or mount command
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 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 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 . 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-sam.... Reproducible: Always Steps to Reproduce: 1. Use the "credentials" option in 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 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.
http://bugzilla.novell.com/show_bug.cgi?id=623763
http://bugzilla.novell.com/show_bug.cgi?id=623763#c1
Lars Müller
http://bugzilla.novell.com/show_bug.cgi?id=623763
http://bugzilla.novell.com/show_bug.cgi?id=623763#c2
Suresh Jayaraman
https://bugzilla.novell.com/show_bug.cgi?id=623763
https://bugzilla.novell.com/show_bug.cgi?id=623763#c3
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=623763
http://bugzilla.novell.com/show_bug.cgi?id=623763#c4
--- Comment #4 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com