[Freeipa-devel] Re: [PATCH] Fix bug in host plugins, where host*-mod on 'localityname' attribute were creating new values instead of modifying them.
Pavel Zuna
pzuna at redhat.com
Wed Jun 10 15:37:11 UTC 2009
Rob Crittenden wrote:
> 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?
It would, but we can't do that, because the IPA plugin framework doesn't allow
parameter names to be this short.
> 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?
Why didn't I think of this? Good idea, I'll try to implement it.
> rob
Pavel
More information about the Freeipa-devel
mailing list