Re: Crash in ldap_unbind()

jenifer adam <[email protected]> Sat, 13 Jun 2009 23:54:17 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <[email protected]>
On May 1, 3:04 am, [email protected] wrote:
> Hi Qiang,
>
> Thanks for your suggestion. No, I didn't call ldap_unbind() to destroy
> the handle. I'm using LDAP_OPT_RECONNECT option. According to theSDK
> doc (http://www.mozilla.org/directory/csdk-docs/
> using.htm#handle_failover), I shouldn't need to call ldap_unbind() to
> reconnect, right?
>
> As to ldap_unbind_s(), theSDKdoc (http://www.mozilla.org/directory/
> csdk-docs/writing.htm#close_connection_server) says "Both ldap_unbind
> () and ldap_unbind_s() are synchronous functions. These functions are
> identical; they use different names so that each authentication
> function (ldap_simple_bind() and ldap_simple_bind_s()) has a
> corresponding function for closing the server connection". Also the
> definitions of these two functions look almost the same to me.
>
> Thanks,
> Yang

I have developed my own softphone based on http://www.voipsipsdk.com
and my customers are happy