Debian – add Samba users without having to add UNIX ones

debiansamba

I am configuring a Samba share on my Debian server and I'd like to create some simple username:password accounts that could access the shares without having to add UNIX users to my machine.

Can I do that ?

Thanks a lot in advance !

Quentin

Best Answer

Here is a good explanation: http://ubuntuforums.org/showthread.php?t=825686

"The reason you need a unix account is so samba can restrict access to files according to permissions set on the filesystem. If the unix user doesn't have local permission to read a file, the samba user with the same name won't be able to read it either, regardless of the share's settings. I think you can disable the unix account, as long as the samba user is listed in /etc/passwd with a UID."