Hi Andrew, Thanks a lot for your answer!
I understand your point. This is actually the way I want to go. But before doing so, I need to migrate my users from /etc/passwd to LDB. I'd like to do it without letting them know and a need to ask them to change their password. Do you think it's possible to do it? Regards, Miroslav >-----Original Message----- >From: Andrew Bartlett [mailto:abart...@samba.org] >Sent: 30 September, 2013 21:57 >To: Miroslav Kolar >Cc: samba@lists.samba.org >Subject: Re: [Samba] /etc/passwd backend > >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 > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba