haider
asked on
LDAP problem
Any one tried ldap_init() function??? I am using this function but getting a problem.
If i call ldap_init(host_name, host_port) then value for field ld_host in returned LADPObj is NULL and any further
API call like ldap_set_option() crash down the system.
If i use ldap_open(host_name, host_port) it's initialized properly, but then I can't use ldap_set_option() function.
Please help me to solve out this problem, plz plz plz ...
If i call ldap_init(host_name, host_port) then value for field ld_host in returned LADPObj is NULL and any further
API call like ldap_set_option() crash down the system.
If i use ldap_open(host_name, host_port) it's initialized properly, but then I can't use ldap_set_option() function.
Please help me to solve out this problem, plz plz plz ...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
O,sorry,really, you can use ldap_set_option after ldap_open
BUT:
>>If i use ldap_open(host_name, host_port) it's >>initialized properly, but then I can't use >>ldap_set_option() function
???
BUT:
>>If i use ldap_open(host_name, host_port) it's >>initialized properly, but then I can't use >>ldap_set_option() function
???
ASKER
but when I try to use ldap_set_option after ldap_open then it hangs out on ldap_set_option. what is the reason???
Can see snippet of your code?
Dear haider
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity, I will suggest to
"PAQ at zero points"
since you never gave more feedback.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity, I will suggest to
"PAQ at zero points"
since you never gave more feedback.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
ASKER
how to set flag if I don't use ldap_set_option()???