Hey, I’m setting up LDAP with jaas.conf and it do...
# troubleshoot
c
Hey, I’m setting up LDAP with jaas.conf and it doesn’t seem to work properly. This is my config file:
Copy code
WHZ-Authentication {
  com.sun.security.auth.module.LdapLoginModule sufficient
  userProvider="ldap://****(no port provided?)/dc=office,dc=****,dc=com"
  authIdentity="{USERNAME}"
  userFilter="(|(sAMAccountName={USERNAME})(cn=*{USERNAME}*))"
  java.naming.security.authentication="simple"
  bindDn="CN=****,OU=****,OU=****,DC=office,DC=****,DC=com"
  bindCredential="****"
  debug="true"
  useSSL="false";
};
Do I need to provide a port? userFilter is as I need it to be. Am I missing params? Do I have a way to debug the lookup for the LDAP groups? Would appreciate a hint.