LDAP Synchronization Issues - Login does not work

0
Hi, I have added the LDAP Synchronization module to my application and changed security level to Prototype/demo. I am running the application locally.  I have ran "Test Connection" and received the "Connection established" message. I have also tried the "Test Authentication" and received the "Successful!" message.  However when I try to login to the application as the same user I did the "Test Authentication" with I get "The username or password you entered is incorrect". Logs : Connector - New login request from [Source-IP: 127.0.0.1, User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0] Ldap - Importing users by groups.   I did notice that there were some incomplete module statuses - but don't think it is related.   Thanks!      
asked
3 answers
0

Did you import the user into Mendix?

If you want to enable LDAP authentication each user must also be a Mendix user. You also need to tell Mendix which user uses the LDAP authentication and which one not.

answered
0

Hi Stephan,

Thank you for your response. In the LDAP settings there is a LDAP type field that has the following option.

"Authenticate and create: This will not synchronize users, but if a user that is unknown in Mendix logs in using a valid LDAP authentication, a Mendix user will be created and the user info will be requested from LDAP at that moment."

This is the option we are using so if the user is able to authenticate it should create the system user, however it does not, even though I know the credentials are correct as I used them with the "Test Authentication" option popup.

 

answered
0

After some debugging we narrowed down the issue to special characters in our group name. The synchronization worked as expected for a group without a '#' in the name but it did not work for one with a '#'.

answered