I am creating a LDAP Connection
using ldap connect
function. Then I authenticate the user with username and password using bind
.
I want to ask if the bind
fails then, does the Connection
is terminated or I need to disconnect it explicitly using disconnect
?
P.S.: I am using Java LDAP.
UPDATE:
I am using connect
and bind
functions from class LDAPConnection
in com.novell.ldap.*
.