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Ā³
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel