import users from LDAP to local password file (pwd.db)
m2o7i1 at gmail.com
Fri Jul 8 16:14:08 UTC 2011
You can try with getent(1) passwd and see if you can work with the output
On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet <f.bonnet at esiee.fr> wrote:
> I need to import the necessary users's data from an OpenLDAP directory
> 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
> 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.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscribe at freebsd.org <freebsd-questions-unsubscribe at freebsd.org>"
More information about the freebsd-questions