Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ldap and multiple dc in rootdn?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sun May 15, 2005 11:13 am    Post subject: ldap and multiple dc in rootdn? Reply with quote

Hi,
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?
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 migrationtools # 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 migrationtools # 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?

Many thanks

edit: thought I would add that 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.
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Tazok
Guru
Guru


Joined: 25 Oct 2003
Posts: 310

PostPosted: Mon Sep 26, 2005 11:15 pm    Post subject: Reply with quote

Have you found any solution?
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Tue Nov 15, 2005 12:23 pm    Post subject: Reply with quote

any suggestions ???
I got this error too
realy need help

EDIT:
there is description of problem
and solution for it :)
this utility imports ldiffs maked by migrationtools without any errors

good luck !!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum