import users from LDAP to local password file (pwd.db)

2011-07-08 Thread Frank Bonnet
Hello I need to import the necessary users's data from an OpenLDAP directory server to put them in the local password files , anyone has done this before ? The machine use nss_ldap and pam_ldap to authenticate users but for robustness during the holidays I would like to have a local

Re: import users from LDAP to local password file (pwd.db)

2011-07-08 Thread Moises Castellanos
Hi You can try with getent(1) passwd and see if you can work with the output Regards On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet f.bon...@esiee.fr wrote: Hello I need to import the necessary users's data from an OpenLDAP directory server to put them in the local password files , anyone

Re: import users from LDAP to local password file (pwd.db)

2011-07-08 Thread Frank Bonnet
getent does not show the encrypted password field On 07/08/2011 05:43 PM, Moises Castellanos wrote: Hi You can try with getent(1) passwd and see if you can work with the output Regards On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnetf.bon...@esiee.fr wrote: Hello I need to import the

Re: import users from LDAP to local password file (pwd.db)

2011-07-08 Thread Dan Nelson
In the last episode (Jul 08), Frank Bonnet said: On 07/08/2011 05:43 PM, Moises Castellanos wrote: On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnetf.bon...@esiee.fr wrote: I need to import the necessary users's data from an OpenLDAP directory server to put them in the local password files ,