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? Thank you in advance for your answers. Regards, Miroslav
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
Seemingly Similar Threads
- upg. CentOS 7.5 to 7.6: unable to mount smb shares - samba NT domain member using ldap
- enumerating group members with nss_winbind (4.0.9 as AD DC)
- Samba3-beta1 as a PDC and using tdbsam as passdb backend it takes the home-directory info from /etc/passwd
- Git branch with compiling fixes for win32
- Samba4, idmap.ldb & ID_TYPE_BOTH