View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19225Bug reportsUser / Groups / Rolespublic2026-10-26 21:21
Reporterhalliballi123 Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version5.6.x 
Summary19225: User Creation -> no Auth Type Option available
Description

We switched from LimeSurvey 3 to 5.

When I created new users in LimeSurvey 3, there was the option that said that the user will use LDAP Auth and I just had to fill in the username and click on create. That worked fine.

Now in LimeSurvey 5 when I create new users there is no option for authentication type and I have to fill in all the fields like mail address, username, firstname lastname, then create the user. Go to the users permissions and switch authentication type to LDAP. That is not very userfriendly/convenient.

Is there a way to get the old behaviour back, is there some switch or config that I can set?

Steps To Reproduce

Steps to reproduce

Click in user administration on new user / add user

Expected result

There should be the option to chose the auth type
and if you chose ldap auth, you only need to enter the username, nothing else.
That was the behaviour in LimeSurvey v3

Actual result

ini the new dialog there is no option for selecting the authtype like database auth oder ldap auth

TagsNo tags attached.
Attached Files
grafik.png (27,076 bytes)   
grafik.png (27,076 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)5.6.42+231024
I will donate to the project if issue is resolvedNo
BrowserFirefox, Edge
Database type & versionmysql
Server OS (if known)ubuntu
Webserver software & version (if known)apache
PHP Version8.0.30
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-11-08 10:59

developer   ~78331

With 3.X : there are a dropdown to allow to choose the Auth plugin used
LDAP disable the input

My opinion :

  1. LimeSurvey issue : loose the plugin event ?
  2. AuthLDAP issue : must use the event ?
DenisChenu

DenisChenu

2023-11-08 11:05

developer   ~78332

OK : https://github.com/LimeSurvey/LimeSurvey/blob/3a7f44cb145d0083a0e375396dc45bd781ba58b1/application/views/admin/user/editusers.php#L84

Need to create a new event to allow Plugin to update this form (and maybe User rules (no need email here).

c_schmitz

c_schmitz

2026-10-26 21:21

administrator   ~86878

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41089

Related Changesets

LimeSurvey: master b043c425

2026-10-26 20:05

c_schmitz


Details Diff
Fixed issue 19225: When adding a user, LDAP could not be chosen as login method, so all details had to be entered and the login method changed afterwards
Dev The add user dialog now has "Allowed login methods" checkboxes (shown when more than one authentication plugin is active); with LDAP the user is looked up in the directory and full name/email are optional, the new user gets exactly the selected auth_* permissions
Affected Issues
19225
mod - application/controllers/UserManagementController.php Diff File
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File
mod - application/core/plugins/Authdb/Authdb.php Diff File
mod - application/views/userManagement/partial/addedituser.php Diff File
mod - assets/packages/usermanagement/js/usermanagement.js Diff File
mod - tests/unit/plugins/AuthLDAPTest.php Diff File
add - tests/unit/plugins/AuthdbTest.php Diff File

Issue History

Date Modified Username Field Change
2023-11-08 10:54 halliballi123 New Issue
2023-11-08 10:54 halliballi123 File Added: grafik.png
2023-11-08 10:59 DenisChenu Note Added: 78331
2023-11-08 10:59 DenisChenu File Added: Capture d’écran du 2023-11-08 10-57-18.png
2023-11-08 10:59 DenisChenu Bug heat 0 => 2
2023-11-08 11:05 DenisChenu Note Added: 78332
2026-10-26 21:21 c_schmitz Changeset attached => LimeSurvey master b043c425
2026-10-26 21:21 c_schmitz Note Added: 86878
2026-10-26 21:21 c_schmitz Assigned To => c_schmitz
2026-10-26 21:21 c_schmitz Status new => resolved
2026-10-26 21:21 c_schmitz Resolution open => fixed
2026-10-26 21:21 c_schmitz Bug heat 2 => 4