Yea that's no problem, non root users can mount samba drives if they are given permission to do so. I thought you were doing it the other way around. The smbd service is to allow other computers access to the samba share on your linux box, which has to be run as root. If just want to mount a samba share from a windows computer, you just need to add this to your fstab:
Code:
//computername/share /mnt/share smbfs gid=users,rw,username=Win32UserName,passwd=Win32Password 0 0
the /mnt/share directory must be owned by the users group.
For added security, you can store the username/password in a seperate file /etc/smb-credentials. The format to this file is as follows:
Code:
username = _*username*_
password = _*password*_
domain = _*domain*_
Make sure you cmod 640 /etc/smb-credentials so only root can read this file. The domain line is not needed if it is in your smb.conf file.
you would then mount the drive like this:
Code:
//computername/share /mnt/share smbfs gid=users,rw,credentials=/etc/smb-credentials 0 0
If you don't want it to mount on boot, add in noauto in the options and you can mount the share by typing mount /mnt/share.
Hope this helps!
...drkstr