Auto-populate fields while creating a new user with LDAP
|Assignee:||Jean-Philippe Lang||% Done:|
|Category:||Accounts / authentication|
The On-the-fly user creation option for LDAP authentication works fine if the user tries to login with he's credentials. But it would be useful if the administrator was able to create the user based on the Authentication mode and the fields would be auto-populated just as if the user logins for the first time.
Sometimes the administrator needs to add permissions to the user and he cannot to this as the user does not exist, so he must create it but is asked to fill in all information instead of gathering them from LDAP.
#1 Updated by Jean-Philippe Lang almost 5 years ago
- File ldap_autocomplete.png added
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 2.3.0
- Resolution set to Fixed
Feature added in r11080.For this to work:
- your LDAP must be configured with anonymous access or a predefined user account (not compatible with #1913)
- all attribute names (login, firstname, lastname, email) must be entered in your LDAP definition
When creating a new user, typing a few letters in the "login" field will trigger a search in the LDAP and show the results in a drop down menu. Clicking a result will populate the form fields: