[Freeipa-devel] [PATCHES] All-around improvements to baseldap.py classes.

Rob Crittenden rcritten at redhat.com
Fri Jul 31 18:27:19 UTC 2009


Pavel Zůna wrote:
> 0001: Enable attribute re-mapping and ordering when printing entries.
> 
> Also print multiple values on one line separated by commas.

Ok, though we'll have to see what that looks like on very large values.

One thing I'm thinking is memberOf. In v1 when showing a user you'd also 
get the list of groups they are a member of. All one one line would be 
really hard to grok.

> -----------------------------------------------------------------------
> 0002: Prevent double encoding/decoding when processing compound types.
> 

ack

> -----------------------------------------------------------------------
> 0003: Fix bug in _get_syntax (it was always returning None).
> 
> Also prevent a few cases of double processing of arguments.

ack

> 
> -----------------------------------------------------------------------
> 0004: All-around improvements to baseldap.py classes.
> 
> - attribute re-mapping, ordering and hiding
>   (Enables plugins to completely hide LDAP internals from users
>    and full localization of command output.)
> - translation of member DNs into object names
>   (No more DNs when listing group members etc.)
> - support for "singleton" LDAP objects
>   (Objects like "pwpolicy"; not accessed by primary key.)
> - new base classes for commands: LDAPModMember, LDAPAddMember
>   and LDAPRemoveMember
>   (Providing support for objects with 'member'-like attributes.)
> - LDAPSearch implicit exit code changed to 1 when nothing is found

Why the switch to ONELEVEL as the scope? Otherwise looks ok.

rob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090731/f47eb6c9/attachment.bin>


More information about the Freeipa-devel mailing list