[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: LDAP to /etc/passwd
On Wed, 25 Sep 2002, Kristyan Osborne wrote:
> Hi,
>
> I have an LDAP server which has user accounts in it. I want to make a
> new server but I dont want it to talk to the LDAP sever for user
> accounts (at the mo). Has anyone got or knows of a script or program
> which will take account info from LDAP and make it into an /etc/passwd
> file.
if you are using nss_ldap on a system, kust run
getent passwd > passwd.new
cheers, jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"Sams Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--