Re: convert info from directory_administrator to passwd/group-file

Andrew Bartlett <[email protected]>
Newsgroups gmane.network.directoryadmin
Message-ID <[email protected]>
On Wed, 2003-08-27 at 22:54, [email protected] wrote:
> Hi, 
>  
> I use a Perl-Skript from www.padl.com/OSS/MigrationTools.html to convert 
> /etc/passwd and /etc/group to an LDIF file. 
> Does anybody know a possibility to reconvert/export the information of the 
> directory_administrator to a passwd/group-file ? 

Connect to the system with nss_ldap (ie, configure nsswitch).  Then run
'getent passwd' and 'getent group'

Andrew Bartlett

-- 
Andrew Bartlett                                 [email protected]
Manager, Authentication Subsystems, Samba Team  [email protected]
Student Network Administrator, Hawker College   [email protected]
http://samba.org     http://build.samba.org     http://hawkerc.net
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/UHEsw6AkmCjZ77cRAhouAKCEHBQK6f+IaAWAR1JZ9W1MTkq3xwCgkP9s
aX0ALGuvawnbHD6ecepmtPw=
=85Sk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.