Mr. LDIF is a Python tool that creates an initial LDAP authentication database by generating a seed.
Setting up Mr. LDIF only requires a few simple steps. Without any seed files, such as a passwd file, it can generate a base LDIF to define the root structure of your LDAP hierarchy. It even creates containers for Users, Groups, Samba, and more.
To provide Mr. LDIF with complete information about your Unix and Samba users, you need to gather your flatfile databases. This includes becoming root and making copies of your passwd, group, and shadow files. If you're using NIS, you will need to use ypcat to access your passwd file.
Additionally, generating your samba password and account files is easy with the pdbedit utility. Simply edit the Mr. LDIF Config file, and you're ready to go.
Overall, Mr. LDIF is a useful tool with its own set of unique features that make it stand out from other migration tools. Give it a try if you're in need of a script to build a seed LDAP authentication database.
Version 1.0: N/A