Date: Sat, 09 Jul 2011 07:33:40 +0200 From: Frank Bonnet <f.bonnet@esiee.fr> To: Moises Castellanos <m2o7i1@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: import users from LDAP to local password file (pwd.db) Message-ID: <4E17E834.1080201@esiee.fr> In-Reply-To: <CAJqSfq6GKjXeNsBTDPP=WwCo1a=onbJ4kufpoSEK0Z-uXk81kA@mail.gmail.com> References: <4E1713AF.7000806@esiee.fr> <CAJqSfq7y7AJdwNGSZmnZXeuy1oTBaAp8ipeq2qwbrs6xbYq%2BiA@mail.gmail.com> <4E172DE2.1000308@esiee.fr> <CAJqSfq6GKjXeNsBTDPP=WwCo1a=onbJ4kufpoSEK0Z-uXk81kA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the pointer , I gonna try this Le 08/07/2011 20:35, Moises Castellanos a =E9crit : > On Fri, Jul 8, 2011 at 11:48 AM, Frank Bonnet<f.bonnet@esiee.fr> wrote= : > >> getent does not show the encrypted password field >> >> >> > You could use perl with Net::LDAP to generate the passwd file, someth= ing > like http://bit.ly/p6bWwI > > Regards > > > >> 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 Bonnet<f.bonnet@esiee.fr> wro= te: >>> >>> Hello >>>> >>>> I need to import the necessary users's data from an OpenLDAP direct= ory >>>> server >>>> to put them in the local password files , anyone has done this befor= e ? >>>> >>>> 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 th= is >>>> 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> >>>> <http://lists.**freebsd.org/mailman/listinfo/**freebsd-questions<htt= p://lists.freebsd.org/mailman/listinfo/freebsd-questions> >>>>> >>>> >>>> To unsubscribe, send any mail to "freebsd-questions-** >>>> unsubscribe@freebsd.org<freebs**d-questions-unsubscribe@**freebsd.or= g<freebsd-questions-unsubscribe@freebsd.org> >>>>> " >>>> >>>> ______________________________**_________________ >>> 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>" >>> >> >> >> -- >> >> Frank BONNET >> >> 01.45.92.66.17 >> >> Service des Moyens Informatiques Generaux >> >> ESIEE PARIS >> Cit=E9 Descartes / BP 99 >> 93162 NOISY-LE-GRAND Cedex >> http://www.esiee.fr<http://www.esiee.fr/> >> >> >> ______________________________**_________________ >> 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?4E17E834.1080201>