Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-server
Navigation:
Lists: gentoo-server: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-server@g.o
From: Chris S <taskara@...>
Subject: Re: ldap multiple dc rootdn?
Date: Fri, 27 May 2005 14:59:54 +1000
Paul Kölle wrote:

> please post the ldif containing the entries for you intended base, I'll
>
>give it a shot.
>  
>
Hi Paul,
Sorry for the delay.. been super busy.

As previously mentioned, it's the base that I can't create with 3 dc 
levels, however I can get around it by creating base level of two, then 
adding the third dc, then switching the base back to 3 levels (although 
this doesn't "feel" clean). All the same, here's my configuration. Any 
pointers, slaps around the head appreciated.

openldap 2.2.26 emerged and configured

searching is successful:

*code*
dually # ldapsearch -D "cn=Manager,dc=domain,dc=net,dc=au" -W -x
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1
*/code*

here is my base.ldif:

*code*
dn: dc=net,dc=au
dc: net
objectClass: top
objectClass: domain

dn: dc=domain,dc=net,dc=au
dc: domain
objectClass: top
objectClass: domain
*/code*

when I try and insert it:

*code*
dually / # ldapadd -D "cn=Manager,dc=domain,dc=net,dc=au" -W -f 
/tmp/base.ldif -x
Enter LDAP Password:
adding new entry "dc=net,dc=au"
ldap_add: Server is unwilling to perform (53)
        additional info: no global superior knowledge
*/code*

and if I try with:

*code*
dn: dc=au
dc: au
objectClass: top
objectClass: domain

dn: dc=net,dc=au
dc: net
objectClass: top
objectClass: domain

dn: dc=domain,dc=net,dc=au
dc: domain
objectClass: top
objectClass: domain
*/code*

I get:

*code*
dually / # ldapadd -D "cn=Manager,dc=domain,dc=net,dc=au" -W -f 
/tmp/base2.ldif -x
Enter LDAP Password:
adding new entry "dc=au"
ldap_add: Server is unwilling to perform (53)
        additional info: no global superior knowledge
*/code*

awaiting slap over the head!

Cheers,
Chris

>cheers
> Paul
>  
>
-- 
gentoo-server@g.o mailing list

Replies:
Re: ldap multiple dc rootdn?
-- Paul Kölle
References:
ldap multiple dc rootdn?
-- Chris S
Re: ldap multiple dc rootdn?
-- Chris S
Re: ldap multiple dc rootdn?
-- Paul Kölle
Re: ldap multiple dc rootdn?
-- Chris S
Re: ldap multiple dc rootdn?
-- Paul Kölle
Re: ldap multiple dc rootdn?
-- Chris S
Re: ldap multiple dc rootdn?
-- Paul Kölle
Navigation:
Lists: gentoo-server: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: ldap multiple dc rootdn?
Next by thread:
Re: ldap multiple dc rootdn?
Previous by date:
Re: Which popular backup tool?
Next by date:
Re: ldap multiple dc rootdn?


Updated Jun 17, 2009

Summary: Archive of the gentoo-server mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.