Bug 6909 - Cannot mount Samba shares as ordinary user, works as root.
Summary: Cannot mount Samba shares as ordinary user, works as root.
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: User & Group Accounts (show other bugs)
Version: 3.3.9
Hardware: x86 Linux
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-11-19 22:16 UTC by endless97c@yahoo.com (dead mail address)
Modified: 2020-12-22 01:17 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description endless97c@yahoo.com (dead mail address) 2009-11-19 22:16:40 UTC
I cannot mount Samba shares from the terminal as ordinary user.  I have the "user" option set in fstab.  The command

mount /mnt/userver/files/


error -1 (Unknown error 4294967295) opening credential file /etc/samba/auth.userver.moral

The permissions for the credential file are:

-rw-r----- 1 root root

While the permissions for mount and mount.cifs3 are:

-rwsr-xr-x 1 root root 97016 2009-03-17 08:32 /bin/mount
-rwsr-xr-x 1 root root 30900 2009-11-13 19:24 /bin/mount.cifs3

Mounting as root works with no problem so it seems the system is not recognizing that mount as ordinary user should be able to read the credential file.  This was working for users some months ago.  I hadn't tried it for some weeks before discovering the problem so I'm not sure if an update might have caused it.  I am running Mandriva 2009.1 with the Samba packages being 3.3.9-0.2.
Comment 1 Björn Jacke 2020-12-22 01:17:28 UTC
this is not a samba bug please consult the samba mailing list or your os vendor for how to handle this