[Samba] Samba users without local unix users
craigwhite at azapple.com
Mon Mar 22 12:52:40 GMT 2004
On Mon, 2004-03-22 at 05:02, Felipe S. Elich wrote:
> Hello to all:
> First of all, sorry about my poor english. I am spanish :)
> I have a debian machine running as a samba file server. The important part
> of smb.conf is here:
> security = share
> encrypt passwords = true
> passdb backend = smbpasswd:/etc/samba/smbpasswd
> obey pam restrictions = yes
> invalid users = root
> passwd program = /usr/bin/passwd %u
> passwd chat = Enter\snew\sUNIX\spassword: %n\n
> Retype\snew\sUNIX\spassword: %
> n\n .
> I want to create samba users without local unix account. I've tried the
> smbpasswd -a newuser
> This command fails if newuser doesn't exist in local machine
> (in /etc/passwd). If the user exist, the smbpasswd -a command runs well.
> How can i create samba users without create local unix users?
You can't. You can have unix users without a valid shell however.
The closest thing to what you are asking is to map users (mapping
smbusers to say 1 or more unix users) but that is entirely a manual
More information about the samba