[Samba] /etc/passwd backend

Andrew Bartlett abartlet at samba.org
Mon Sep 30 13:57:08 MDT 2013

On Mon, 2013-09-30 at 13:46 +0000, Miroslav Kolar wrote:
> Hello,
> I would like to understand if it's possible to use /etc/passwd and /etc/shadow like backend for LDB.
> If not, would it be possible to use samba-tool or something similar to create the new user with password hash in MD5?
> Is there perhaps an API to Samba4 which can be used for user management, especially creating/modifying users when password is MD5 hash?

You should instead use nss_winbind to have the system query the users
from our ldb for nsswitch.  That way, we do not have two databases to
keep 'in sync'. 

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba mailing list