did you syncronise /etc/passwd (or the shadow file) with smbpasswd? Did you activate the user with: smbpasswd -a username ???? have you configured the share with a force user or force group parameter? Michael ----- Original Message ----- From: "ic_admin" <admin@i-concept.de> To: "SuSE-Security_MailList" <suse-security@suse.com> Sent: Friday, July 12, 2002 12:01 PM Subject: [suse-security] mount sambashare with non-root-user
Hello,
I want to mount a samba-share in my linux-box but don't want do this as root. I put an entry in my /etc/fstab like this:
"//smbserver/share /mnt smbfs username=abc,password=abc,uid=500,gid=100,rw,noauto,users,exec 0 0"
... and I am able to mount this share as root and root is not the owner of the files. BUT when I try to mount this as an user I get the error message: "cannot mount on /mnt: operation is not allowed".
Does anybody know a way to do this with a standard user?
Thanks and regards
Ruediger
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
--- Ausgehende Mail ist zertifiziert virenfrei. Überprüft durch AVG Antivirus System (http://www.grisoft.com/de). Version: 6.0.371 / Virendatenbank: 206 - Erstellungsdatum: 14.06.2002