[Pdns-dev] Ldap converter utility

Norbert Sendetzky norbert at linuxnetworks.de
Sat Jan 10 17:43:06 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bert

Here's the first version of the pdns_ldapconf utility. It generates 
standard ldif output, which adds the associateddomain attribute to a 
tree used by ldapdns and which can be applied by

ldapmodify -D "<admindn>" -W -x -f <ldiffile>

Compilation in the ldapbackend directory is easy but requires the 
arguments.diff patch (otherwise you get lost in the dependency hell):

g++ -o pdns_ldapconv pdns_ldapconv.cc powerldap.cc 
../../pdns/arguments.cc -I ../../ -I ../../pdns/ -lldap

ToDo:
- - automake things (don't know how to do this)
- - conversion of ldapdns PTR record entires (anyone interested?)

Outstanding patches:
- - arguments.diff
- - loglevel2.diff


Norbert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAkAAK50ACgkQxMLs5v5/7eC2gACfb3SWcs7iWFvMwFskBtf0ILdm
2B8An2/0j5AuzuAORAMed1qAvxDer0RY
=rAld
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdns_ldapconv.cc
Type: text/x-c++src
Size: 3462 bytes
Desc: not available
Url : http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20040110/1a7864fd/pdns_ldapconv.bin


More information about the Pdns-dev mailing list