[Samba] Some questions about Samba user accounts.

Rowland penny rpenny at samba.org
Thu May 6 17:36:11 UTC 2021


On 06/05/2021 17:56, Jason Long wrote:
> Thank you.
> What is wrong with the "useradd" and "smbpasswd" commands?


Nothing, when used with a standalone server, you just do not use them 
with a Unix domain member.

'useradd' creates a Unix user and 'smbpasswd' will make it a Samba user 
on a standalone server, but, in AD, all your users must be in AD and 
Samba maps them from AD users to Unix users via the 'idmap config lines 
you set in the Unix domain members smb.conf

Rowland





More information about the samba mailing list