1# ldapsearch does not return anything tangible in the output if it enounters a referral
2
3# Asking for the referral will return LDAP_REFERRAL
4Referral (10)
5Matched DN: cn=Gern Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com
6Referral: ldap://hostB/cn=Gern%20Jensen,ou=Information%20Technology%20Division,ou=People,dc=example,dc=com??sub
7# Asking for anything under a referral will do the same
8Referral (10)
9Matched DN: cn=Gern Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com
10Referral: ldap://hostB/cn=child,cn=Gern%20Jensen,ou=Information%20Technology%20Division,ou=People,dc=example,dc=com??sub
11