[Samba] Samba local user without /etc/passwd

Marc Muehlfeld mmuehlfeld at samba.org
Thu Jul 9 08:26:36 UTC 2015


Hello Gionatan,

Am 09.07.2015 um 10:05 schrieb Gionatan Danti:
> When creating a local user, I always first create a Unix user with
> passwd and then I use smbpasswd -a <unixuser> to establish the mapping
> between the tdbsam database and the local /etc/passwd file.
> 
> I wonder if, using the tdbsam in conjunction with winbind, the local
> unix user (stored in /etc/passwd) creation can be bypassed. After all,
> it's winbind's role to map "virtual" user to real unix ID.
> 
> So, my question is: there is a method to create a "virtual" user, only
> stored inside the tdbsam database, without touching the real unix local
> users (stored inside /etc/passwd).


If you really want to create a _local_ user on your member server, the
account must exist local. For _domain_ users, you don't need a local
account.


Regards,
Marc




More information about the samba mailing list