Paul Clapham wrote:But that was your idea to write that message. In reality you only know that there's some kind of problem with authentication. I'd suggest you let the exception speak for itself:
i have change it to ex.printStackTrace() this is the output:
and when i run this command on terminal : ldapwhoami -vvv -h 192.168.1.1 -p 389 -D "dc=dtn,dc=com" -x -w kosini
the output is this : ldap_initialize(
ldap://192.168.1.1:389 )
ldap_bind: Invalid credentials (49)
from my reference site that i have post before, only tell me to setting ldap, am i suppose to setting PAM also ? if yes, what should i do