[Freeipa-devel] [PATCH] 0051 Move mep template under cn=etc

Jakub Hrozek jhrozek at redhat.com
Fri Jan 14 15:01:28 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/14/2011 03:49 PM, Simo Sorce wrote:
> On Fri, 14 Jan 2011 13:30:18 +0100
> Jakub Hrozek <jhrozek at redhat.com> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 01/14/2011 12:59 PM, Jakub Hrozek wrote:
>>> On 01/14/2011 12:52 AM, Simo Sorce wrote:
>>>
>>>> Ticket #760
>>>
>>>
>>> Ack
>>
>> Sorry, I have to witdhdraw my ack. I'm getting an installation error
>> with this patch:
>>
>> - -----------------------------------------------------------------
>> 2011-01-14 07:25:13,490 INFO stdout=add objectclass:
>>         mepTemplateEntry
>> add cn:
>>         NGP HGP Template
>> add mepRDNAttr:
>>         cn
>> add mepStaticAttr:
>>         ipaUniqueId: autogenerate
>>         objectclass: ipanisnetgroup
>>         objectclass: ipaobject
>>         nisDomainName: idm.lab.bos.redhat.com
>> add mepMappedAttr:
>>         cn: $cn
>>         memberHost: $dn
>>         description: ipaNetgroup $cn
>> adding new entry "cn=NGP HGP
>> Template,cn=etc,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com"
>>
>>
>> 2011-01-14 07:25:13,490 INFO stderr=ldap_initialize(
>> ldap://vm-061.idm.lab.bos.redhat.com )
>> ldap_add: No such object (32)
>>         matched DN: dc=idm,dc=lab,dc=bos,dc=redhat,dc=com
>>
>> 2011-01-14 07:25:13,490 CRITICAL Failed to load host_nis_groups.ldif:
>> Command '/usr/bin/ldapmodify -h vm-061.idm.lab.bos.redhat.com -v -f
>> /tmp/tmpQdQTOE -x -D cn=Directory Manager -y /tmp/tmpoMHTnX' returned
>> non-zero exit status 32
>> - -----------------------------------------------------------------
>>
>> Since it didn't even match cn=etc, it looks like this step was run
>> before the bootstrapping step?
> 
> Thanks for catching this one.
> Attached a patch that moves templates creation after we bootstrap and
> create cn=etc.
> 
> As a nice side effect the mep entry for admin is not created (we want
> it that way as we already have the admins group).
> 
> Simo.
> 

Ack
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0wZUgACgkQHsardTLnvCVk/wCgnX0e35bJxBzxQ1PWvTFXGPg7
aAAAoKsrgbcPx6DVfiyqa840mbtEPH1L
=Od25
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list