RE: LDAP api ldap_set_option and LDAP_OPT_AUTO_RECONNECT parameter

From: Rhett Gong [MSFT] (v-raygon_at_online.microsoft.com)
Date: 09/03/04


Date: Fri, 03 Sep 2004 10:53:26 GMT

Could you tell when you call ldap_set_option(LDAP_OPT_AUTO_RECONNECT ,
LDAP_OFF)? LDAP_PARAM_ERROR (Error 59) may be returned if the LDAP
connection object was invalid. Could you also try calling ldap_get_option
before ldap_set_option to if they return the same problem?

In addition, what version of WLDAP32.LIB you are using?

Best regards,
Rhett Gong [MSFT]
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.



Relevant Pages

  • Re: New MacBook Pros
    ... general term (while still calling out individuals whose arguments ... "tard" if all the Mactards agree to drop their disparaging remarks ... And, when I do, I try not to do too much namecalling. ... Because it is invalid. ...
    (comp.sys.mac.advocacy)
  • Re: using threads
    ... I have an LDAP program that uses threads to perform LDAP searches. ... I have the JList/listmodel that will display the data and a jbutton is really calling a local method from actionPerformedthat will call my LDAP class's searchmethod. ... The searchmethod ends up spawning another class that implements Runnable to do the real work of searching my directory server. ... I seem to think I now have to tell my worker object that uses a thread about my listmodel so that when it gets the data from its search operation it has to be the one to update the listmodel. ...
    (comp.lang.java.programmer)
  • Re: Silverlight Wont Instal
    ... Calling an illegal alien an "undocumented worker" is like calling a ... Error Code: 2 ... Installing printer driver ... The printer name is invalid. ...
    (microsoft.public.windowsxp.general)
  • Re: ldap startup failure with FC3
    ... > My guess is the first line will solve it...most ldap newbies run slapadd ... Fatal error, run database recovery ... Invalid argument ...
    (Fedora)
  • Re: New MacBook Pros
    ... general term (while still calling out individuals whose ... "tard" if all the Mactards agree to drop their disparaging ... That's your choice but it doesn't make it invalid. ... I see you are unable to back up your assertion, while I did back up my ...
    (comp.sys.mac.advocacy)