[Freeipa-devel] Summary of ipaldap changes in master
Petr Viktorin
pviktori at redhat.com
Tue Nov 5 13:00:54 UTC 2013
Hello,
In master (IPA 3.4), an ipaldap entry's `single_value` is now a
dict-like object, rather than a function:
entry = ldap.get_entry(dn)
print 'Hello, %s!' % entry.single_value['cn']
entry.single_value['wasGreeted'] = True
Additionally, there is now a `raw` dict-like view that bypasses IPA's
type conversions. This should be useful if you are working with unknown
schema (e.g. AD).
entry.raw['someBooleanValue'] = ['TRUE']
Happy hacking!
--
Petr³
More information about the Freeipa-devel
mailing list