[Freeipa-devel] [PATCH] compat ieee802Device entries for ipaHost entries

Jan Cholasta jcholast at redhat.com
Tue Apr 24 10:03:31 UTC 2012


On 23.4.2012 22:45, Nalin Dahyabhai wrote:
> On Mon, Apr 23, 2012 at 05:03:28PM +0200, Jan Cholasta wrote:
>> On 16.4.2012 22:39, Nalin Dahyabhai wrote:
>>> This bit of configuration creates a cn=computers area under cn=compat
>>> which we populate with ieee802Device entries corresponding to any
>>> ipaHost entries which have both fqdn and macAddress values.
>>
>> Please add this to install/updates/10-schema_compat.update as well.
>
> Okay, I think a simple copy is enough, but am not yet sufficiently
> familiar with the install/{share,update} stuff to be completely sure.
>
> Nalin

I did some more testing and found out that this line:

default:schema-compat-entry-rdn: 'cn=%first("%{fqdn}")'

needs to be changed to:

default:schema-compat-entry-rdn: cn=%first("%{fqdn}")

in both install/share/schema_compat.uldif and 
install/updates/10-schema_compat.update, otherwise we get entries with 
DN like this: 
"'cn=test.example.com',cn=computers,cn=compat,dc=example,dc=com".

Besides this, both clean installs and upgrades seem to work fine with 
this patch.

Honza

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list