any ideas?
-c
Chris S wrote:
> 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
|