Skip to content

Convert ldif files according to a config file - A sync tool is also included

License

Notifications You must be signed in to change notification settings

schurlix/ldifconvert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ldifmangle and ldifdiff

  • ldifmangle: mangle (i.e. convert) ldif files according to rules in a config file maybe in order to populate a target system with the modified user data.

  • ldifdiff: produces an ldif suited as input for ldapmodify for writing deltas to a target system

  • Just copy the example directory and change the Makefile .. enjoy!

ldifmangle:

ldifmangle.py <configfile> (see example)

ldifdiff:

takes two input files (source, target resp. <from> and <to>) and generates an input file for ldapmodify to stdout (ldapmodify is part of the openldap suite) ldifdiff.py <from-ldif> <to-ldif> > output.ldif (see example)

Installation

Optional, but likely

remarks

  • using make Make is truly old, but here it is quite handy as in case of failures it does all the exception handling for us.

About

Convert ldif files according to a config file - A sync tool is also included

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published