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<[email protected]>
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<[email protected]>
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/

Reply via email to