directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Chu <...@symas.com>
Subject Re: [Client-API] Should the unbind() operation close the connection ?
Date Wed, 05 Aug 2009 18:26:02 GMT
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.
>
> --Quanah
>
> --On August 5, 2009 1:53:42 PM -0400 Alex Karasulu<akarasulu@gmail.com>
> wrote:
>
>> I think this is a matter of whether or not you are dealing with
>> connection pooling.
>>
>> Regards,
>> Alex
>>
>>
>> On Wed, Aug 5, 2009 at 12:05 PM, Emmanuel Lecharny<elecharny@apache.org>
>> wrote:
>>
>> AFAICT, there is nowhere in the RFC a place where it's explicitely said
>> that the Unbnd operation closes the connection.
>>
>> Should we close the connection on the client side when doing a Unbond(),
>> or keep it open ?
>>
>> --
>> --
>> cordialement, regards,
>> Emmanuel L├ęcharny
>> www.iktek.com
>> directory.apache.org

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Mime
View raw message