- Posts: 2
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
AuthLDAP - Credentials are valid but we failed to create a user.
- Merrxi
- Topic Author
- Offline
- New Member
Less
More
1 week 4 days ago #263391
by Merrxi
AuthLDAP - Credentials are valid but we failed to create a user. was created by Merrxi
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.5.1 (docker-image martialblog/limesurvey:6.5.1-240320-fpm-alpine)
Own server or LimeSurvey hosting: self-hosted
Survey theme/template: custom theme
I have the same or a similar issue as in this related post. As suggested there, I opened a new topic.
Our setup is LimeSurvey running in a docker container with AuthLDAP Plugin Version 1.0.0 activated.
It is configured to work with our AD.
Some but not all new users get the error message:
Then I create the user manually, set authentication to AuthLDAP and it works for them.
For some users the auto create user does work as expected.
Recently the message changed to (translated to English, so it could deviate a little)
Recently I activated the AuditLog plugin to help debugging this issue, so maybe this added the new lines?
Any help to debug and fix this problem would be appreciated.
Your LimeSurvey version: 6.5.1 (docker-image martialblog/limesurvey:6.5.1-240320-fpm-alpine)
Own server or LimeSurvey hosting: self-hosted
Survey theme/template: custom theme
I have the same or a similar issue as in this related post. As suggested there, I opened a new topic.
Our setup is LimeSurvey running in a docker container with AuthLDAP Plugin Version 1.0.0 activated.
It is configured to work with our AD.
Some but not all new users get the error message:
Code:
Credentials are valid but we failed to create a user.
Then I create the user manually, set authentication to AuthLDAP and it works for them.
For some users the auto create user does work as expected.
Recently the message changed to (translated to English, so it could deviate a little)
Code:
Credentials are valid but we failed to create a user.Cannot create user.E-mail is not valid.
Recently I activated the AuditLog plugin to help debugging this issue, so maybe this added the new lines?
Any help to debug and fix this problem would be appreciated.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13716
- Thank you received: 2502
1 week 4 days ago #263410
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic AuthLDAP - Credentials are valid but we failed to create a user.
User need a valid email address, your LDAP return a valid email address for all user ?
If not :
If not :
- Return the issue community.limesurvey.org/bug-tracker/ (i really think we must remove mandatory email address for user)
- Create your own LDAP Auth plugin assign a false email address to user
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Merrxi
Please Log in to join the conversation.
- Merrxi
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
1 week 4 days ago #263422
by Merrxi
Replied by Merrxi on topic AuthLDAP - Credentials are valid but we failed to create a user.
Thanks for the advice. I checked the AD and it seems, I have used the wrong attribute in the AuthLDAP config.
We have multiple attributes for the mail address, but the one I used did not have always a valid address.
I changed it to use an other attribute and now it works as expected.
We have multiple attributes for the mail address, but the one I used did not have always a valid address.
I changed it to use an other attribute and now it works as expected.
The following user(s) said Thank You: DenisChenu
Please Log in to join the conversation.