directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quanah Gibson-Mount <qua...@zimbra.com>
Subject Re: [Client-API] Should the unbind() operation close the connection ?
Date Wed, 05 Aug 2009 18:33:01 GMT


--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

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Mime
View raw message