[Freeipa-devel] Re: [PATCH] Fix bug in host plugins, where host*-mod on 'localityname' attribute were creating new values instead of modifying them.

Rob Crittenden rcritten at redhat.com
Wed Jun 10 15:22:44 UTC 2009


Pavel Zuna wrote:
> [Re-post of forgotten patch.]
> 
> Depends on Patch 0004: Add host plugin port to new LDAP backend.
> 
> Patch 0005: Fix bug in host plugins, where host*-mod on 'localityname' 
> attribute were creating new values instead of modifying them.
> 
> Pavel

Would it be better to just switch the attribute to 'l' in the plugin 
instead?

This does bring up a general problem if we don't handle attribute 
aliasing. I believe that in the schema it lists the preferred order of 
the attributes (so 'l', 'locality', 'localityname'). Can we use the 
schema you load to do this attribute-name rewriting?

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/20090610/0a69d23c/attachment.bin>


More information about the Freeipa-devel mailing list