Description
1. Start server, then add this entry:
dn: ou=test,ou=system
objectclass: referral
ref: ldap://somewhere/ou=test,ou=system
2. Search the entry, it will return a search reference:
ldapsearch -h localhost -p 10389 -D uid=admin,ou=system -w secret -x -b "ou=system"
- search reference
ref: ldap://somewhere/ou=test,ou=system??sub
3. Restart the server, then run the same search:
ldapsearch -h localhost -p 10389 -D uid=admin,ou=system -w secret -x -b "ou=system"
- test, system
dn: ou=test,ou=system
ou: test
objectclass: referral
objectclass: top
The referral is now returned as a regular entry, not a search reference.