javax.naming.CommunicationException: simple bind failed

Peter Schober peter.schober at
Wed Aug 26 03:29:12 EDT 2015

* Vignesh, Vanna G. <vignesh at> [2015-08-26 00:08]:
> I am using AD for authentication. It works fine with ldap and
> 389. However, if I use ldaps with port 389/ ssl= true and tls=false,
> it is throwing error saying that cannot bind simple dn.

Also note that IANA has registered port 636 for LDAPS (LDAP over SSL).
You'd use port 389 for LDAP+STARTTLS.

More information about the users mailing list