Bug 6909 - Cannot mount Samba shares as ordinary user, works as root.
Cannot mount Samba shares as ordinary user, works as root.
Status: NEW
Product: Samba 3.3
Classification: Unclassified
Component: User & Group Accounts
x86 Linux
: P3 normal
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2009-11-19 22:16 UTC by endless97c
Modified: 2009-11-19 22:16 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 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.