Date: Fri, 8 Jul 2011 11:13:19 -0430 From: Moises Castellanos <m2o7i1@gmail.com> To: Frank Bonnet <f.bonnet@esiee.fr> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: import users from LDAP to local password file (pwd.db) Message-ID: <CAJqSfq7y7AJdwNGSZmnZXeuy1oTBaAp8ipeq2qwbrs6xbYq%2BiA@mail.gmail.com> In-Reply-To: <4E1713AF.7000806@esiee.fr> References: <4E1713AF.7000806@esiee.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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.bonnet@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 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 password file on this > machine which > is our mailhub. > > The OpenLDAP server runs on another machine and if it fails during holidays > I want > my mailhub to be standalone for authentication in order to let email > service running > even the directory server crash. > > Thanks > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org <freebsd-questions-unsubscribe@freebsd.org>" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJqSfq7y7AJdwNGSZmnZXeuy1oTBaAp8ipeq2qwbrs6xbYq%2BiA>