[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Multiple base dn's (multiple naming contexts)
(Forgive me if I get some terminology incorrect, I'm new to LDAP).
I've set up a basic configuration for a server that needs to support
multiple domains.
Each domain has been configured:
dc=domain1,dc=com
objectclass=top
objectclass=dcObject
dc=domain1
dc=domain2,dc=net
objectclass=top
objectclass=dcObject
dc=domain1
I can add entried under either of these naming contexts, and I can
search for them - both of these work:
ldapsearch -b "dc=domain1,dc=com" "objectclass=*"
ldapsearch -b "dc=domain2,dc=net" "objectclass=*"
How can I do one search that would find all entries in both naming
contexts?
Alternately, how do I find the different base's? I think LDAP V3
supports this, by setting the scope
to "base" and the base to null. Is it possible with OpenLDAP 1.2?
Thanks-
Tom