I'm currently improving a program featuring an ldap integration. This ldap integration is currently not able to handle ldap referrals.
I do understand, that i will gen entries back that will hold the URL to the referred domain controller, the port and the baseDN.
My question is:
For my searches to the ldap directory i do a bind of my main (root) ldap directory. What do i need to do know, when i come across one of those referral entries?
- Do i need a new bind to the server referred to?
- If so, is it neccessary, that the username and password i used for the root system will also work for the subsystem? Otherwise, i wouldn't be able to connect to it?
- Is there an easier way to tell an ldap search to chase referrals on its own?
I'm using the openLdap client for my searches through the ldap.