directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: [Client-API] Should the unbind() operation close the connection ?
Date Wed, 05 Aug 2009 22:34:14 GMT
Quanah Gibson-Mount wrote:
>
>
> --On August 5, 2009 11:26:02 AM -0700 Howard Chu <hyc@symas.com> wrote:
>
>> Quanah Gibson-Mount wrote:
>>> AFAIK, it is perfectly valid to unbind and then rebind as a new user,
>>> without ever closing the connection, and without ever involving
>>> connection pooling.  This is why various LDAP api's, such as Net::LDAP,
>>> allow for the unbind operation as something separate than the close
>>> operation.
>>
>> Wrong.
>>
>> To rebind as a new user and keep the same connection, simply issue a new
>> Bind request. Unbind = Close.
>
> Eh, you're right.  I needed to refresh my Net::LDAP functions list. :P
Yep. What I found is that jLdap and ldapSdk are using disconnect() 
instead of unbind(), which is probably more meaningful.

-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message