[Freeipa-devel] [PATCH] Add conditional (env.use_ldap2 is True) modifications required by new LDAP backend.

Pavel Zuna pzuna at redhat.com
Tue Apr 21 13:41:05 UTC 2009


Changes to backend.py:
- in Executioner.create_context, if use_ldap2 is True, connect to LDAP using 
Backend.ldap2 instead of Backend.ldap.

Changes to frontend.py:
- in Command.__attributes_2_entry, if use_ldap2 is True, don't convert attribute 
values to strings. Converting to strings was in place for the old LDAP backend 
to work. It is buggy with unicode strings. The new LDAP backend makes it's own 
safe conversions.

Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-conditional-env.use_ldap2-is-True-modification.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090421/3c49adb6/attachment.ksh>


More information about the Freeipa-devel mailing list