Hello all, I have a tree and two servers are lying on that. One has master replica and other does not have anything. and i set option as always referral.. So if i do ldapsearch it returns the proper referral url But through C API i am trying...
It is able to connect to server and while ldap_search_s also did not return any error but tht ldap_first_entry returns null. If i do always chain it is working properly.. So ldap_set_option(ld,LDAP_OPT_REFERRALS,LDAP_OPT_ON) bydefault this shuld to be enabled to follow the referrals, even i put this code to set properly.. after that also it does not get the value.. i tried to print that url like.. char tmp[10][100]; . . . ldap_get_option(ld,LDAP_OPT_REFERRAL_URLS,tmp) printed tmp... it shows nothing... anybody have idea how to do that.. how to debug or trace the execution .. how to check which machine it is connected currently and the where it is searching for the query..? thanks in advance, -"kalyan" --- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.
