I am going through Sun's tutorial on JAAS and am trying to get it to work with AD. JAAS Authentication
It seems to "almost" work. I'm not getting any errors. I used LDAP Browser from Softerra to verify my LDAP syntax. (very handy free tool btw)
Here's my conf:
com.sun.security.auth.module.JndiLoginModule required debug=true
Here's the full output:
[JndiLoginModule] user provider: ldap://secretname:389/CN=Users,DC=secretname,DC=com
[JndiLoginModule] group provider: ldap//secretname:389/CN=Users,DC=secretname,DC=com
ldap username: secretname
ldap password: secret
[JndiLoginModule]: User not found
[JndiLoginModule] regular authentication failed
[JndiLoginModule]: aborted authentication failed
User not found
Any help would be appreciated. I think I've read all the tutorials I could find online. But if you want to pass one along, I certainly won't be offended.
I would really appreciate specifics of what I'm doing wrong.
Thanks in advance.