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: ldap multiple dc rootdn?
Date: Mon, 16 May 2005 17:40:25 +1000
Hi all,

Starting to play with LDAP :D and having an issue where it doesn't like 
my fqdn.
(openldap 2.2.26)

In short I would like to know if I can have multiple dc for my rootdn? 
(it appears I'm limited to 2).

I want to use dc=au because I'm in Australia, ie:
dc=domain,dc=net,dc=au

I can setup ldap using that domain and search it

*Code:*
cephas # ldapsearch -D "cn=Manager,dc=domain,dc=net,dc=au" -W
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


but when I use the migration tools and create the base.ldif, importing 
it fails

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


also, phpldapadmin refuses to create it, with the same error.

Setting the system up with just dc=domain,dc=net works perfectly

Is there something special I have to do?

I can create my rootdn as dc=net,dc=au and then create another dc under 
that dc=domain, but this is quite ugly and I was hoping I could get all 
three on the one. if there is no solution I guess I could create the 
base as dc=au, then subs dc=net and dc=domain.

Is there something special I have to do?

Cheers,
Chris
-- 
gentoo-server@g.o mailing list

Replies:
Re: ldap multiple dc rootdn?
-- Chris S
Navigation:
Lists: gentoo-server: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
several semi-related questions
Next by thread:
Re: ldap multiple dc rootdn?
Previous by date:
Re: several semi-related questions
Next by date:
Re: several semi-related questions


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.