LDIF Generation using Python-LDAP

Guruprasad lgp171188 at gmail.com
Sat May 16 14:29:39 CEST 2009


Hi,
I tried generating a LDIF file from a dictionary using 'ldif' module
as illustrated in http://www.python-ldap.org/doc/html/ldif.html. But
at the end of the LDIF data, I get a newline and a 'None', whereas
there is no such thing in the result shown in that example. How to get
rid of those unwanted characters. I am using Python-LDAP 2.3.5-1 on
Debian Lenny.

Thank you.

Regards,
Guruprasad.




More information about the python-ldap mailing list