[Freeipa-devel] [PATCH] 0051 Move mep template under cn=etc
Simo Sorce
ssorce at redhat.com
Fri Jan 14 14:49:51 UTC 2011
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.
--
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-simo-0051-2-Move-mep-templates-under-cn-etc.patch
Type: text/x-patch
Size: 3502 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110114/6966dd89/attachment.bin>
More information about the Freeipa-devel
mailing list