0 Replies Latest reply on Feb 6, 2006 10:50 AM by idelaney

    Problem with JBoss Portal and LDAP authentication

    idelaney

      I'm having a problem with the Portal trying to authenticate against LDAP. I'm using AS 4.0.3SP1 and Portal 2.2.0, both built from source, along with MySQL and OpenLDAP.

      I'm trying to use the LdapExtLoginModule to authenticate the user and get the roles from the LDAP, but the only way I can make it work is to have the users exist in the MySQL database as well as the LDAP store.

      My intention is to keep the login and permissions information in one place, the LDAP repository. I thought that was the purpose behind the LdapExtLoginModule. But if I don't have the user in the database as well, the password authentication fails with 'No Such User' in 'UserModuleImpl'.

      I'm not sure what other information would be needed to diagnose this issue, and I don't want to clutter up the forums with a bunch of useless debug dumps, so let me know what further information would help, and I'll put it in a follow-up.