[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
referral on openldap v2.07
I've manged to get referral working on openldap v1.2.11 but when upgraded to
v2.0.7, re-generate new databases, it seems that the referral stopped
working. I performed a search "ldapsearch -x -b "c=sg" cn=*". Pls help.
Thanks.
Below is my configuration:
1. 3 ldap databases on the same machine:
database ldbm
suffix "o=org1"
rootdn "cn=rootdn,o=org1"
rootpw secret
directory /var/lib/ldap/org1
database ldbm
suffix "o=org2"
rootdn "cn=rootdn,o=org2"
rootpw secret
directory /var/lib/ldap/org2
database ldbm
suffix "c=sg"
rootdn "cn=rootdn,c=sg"
rootpw secret
directory /var/lib/ldap/global
2. ldif added to the global database
dn: c=sg
objectclass: country
c: singapore
dn: ref="ldap://localhost/o=org1",c=sg
objectclass: referral
ref: ldap://localhost/o=org1
3. Results returned from ldapsearch:
version: 2
#
# filter: cn=*
# requesting: ALL
#
# search reference
ref: ldap://localhost/o=org1
# search result
search: 2
result: 0 Success
# numResponses: 2
# numReferences: 1
I've also tried the following ldif for global database but without success:
dn: c=sg
objectclass: country
c: singapore
dn: o=org1,c=sg
objectclass: referral
objectclass: extensibleobject
o: org1
ref: ldap://localhost/o=org1/