[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
search filter not working with referrals?
I've created a directory tree with 2 referrals to 2 other directory tree (on
2 separate database) as shown below. when i execute "ldapsearch -b
ou=domain1,o=global cn=*", users from domain2 were returned in the results
despite specifying the base to be "ou=domain1,o=global" to search for domain
1 user only. have i done something wrong? how can i limit the search base to
only one ou/domain.
Thanks.
dn: o=global
objectclass: top
objectclass: organization
o: global
dn: ou=domain1,o=global
objectclass: top
objectclass: organizationalunit
ou: domain1
dn: ou=domain2,o=global
objectclass: top
objectclass: organizationalunit
ou: domain2
dn:
ref="ldap://ldap.mydomain.org/ou=people,dc=domain1,dc=org",ou=domain1,o=glob
al
objectclass: top
objectclass: referral
ref: ldap://ldap.mydomain.org/ou=people,dc=domain1,dc=org
dn:
ref="ldap://ldap.mydomain.org/ou=people,dc=domain2,dc=org",ou=domain2,o=glob
al
objectclass: top
objectclass: referral
ref: ldap://ldap.mydomain.org/ou=people,dc=domain2,dc=org