Quanah Gibson-Mount wrote:


--On August 5, 2009 11:26:02 AM -0700 Howard Chu <[email protected]> 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


Reply via email to