Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Convert 10.3x LDAP database to UNIX passwd file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Convert 10.3x LDAP database to UNIX passwd file
Authored by: Mortimer.CA on Aug 02, '04 12:26:14PM

If you want to always have a flat file backup, most LDAP servers allow for dumping to an LDIF file (see RFC 2849). Since OS X Server's LDAP server is based on OpenLDAP, I'm guessing (!) the slapcat utility should be around somewhere to accomplish this.



[ Reply to This | # ]
Convert 10.3x LDAP database to UNIX passwd file
Authored by: arg on Aug 02, '04 01:16:19PM

Yes. Thank you. I actually did use slapcat to generate an LDIF file. But I still needed (well, wanted, really) a way to convert that info to a UNIX style passwd file. And now I have it through the wonders of shell scripting, which I'm just discovering (in case you can't tell). Anyway, thanks again for the comment.



[ Reply to This | # ]