[Freeipa-devel] [PATCH] Add conditional (env.use_ldap2 is True) modifications required by new LDAP backend.
Rob Crittenden
rcritten at redhat.com
Wed Apr 22 19:14:14 UTC 2009
Pavel Zuna wrote:
> 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
Ack.
Pushed to master.
rob
More information about the Freeipa-devel
mailing list