[Freeipa-devel] [PATCHES] 106-113 Access raw LDAP values directly from LDAPEntry

Jan Cholasta jcholast at redhat.com
Wed Feb 27 15:31:45 UTC 2013


Hi,

these patches add the ability to access and manipulate raw attribute 
values as they are returned from python-ldap to the LDAPEntry class. 
This is useful for comparing entries, computing modlists for the modify 
operation, deleting values that don't match the syntax of an attribute, 
etc., because we don't need to care what syntax does a particular 
attribute use, or what Python type is used for it in the framework (raw 
values are always list of str). It should also make interaction with 
non-389 DS LDAP servers easier in the framework.

(It might be too late for this kind of changes to get into 3.2 now, I'm 
posting these patches mainly so that you are aware that they exist.)

Honza

-- 
Jan Cholasta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-106-Make-LDAPEntry-a-wrapper-around-dict-rather-than-a-d.patch
Type: text/x-patch
Size: 6998 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-107-Introduce-IPASimpleLDAPObject.decode-method-for-deco.patch
Type: text/x-patch
Size: 3057 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-108-Always-use-lists-for-values-in-LDAPEntry-internally.patch
Type: text/x-patch
Size: 3524 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-109-Store-both-encoded-and-decoded-values-in-LDAPEntry.patch
Type: text/x-patch
Size: 13414 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-110-Make-sure-attributeTypes-updates-are-done-before-obj.patch
Type: text/x-patch
Size: 1039 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-111-Remove-legacy-toDict-and-origDataDict-methods-of-LDA.patch
Type: text/x-patch
Size: 4780 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-112-Save-raw-attribute-values-of-search-results-in-IPASi.patch
Type: text/x-patch
Size: 830 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-113-Use-raw-attribute-values-when-generating-modlists-in.patch
Type: text/x-patch
Size: 3124 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130227/52a09e1e/attachment-0007.bin>


More information about the Freeipa-devel mailing list