Closed henning-gerhardt closed 3 years ago
This is caused by the first line of LdapServerService.createNewUser(…)
which is:
if (!user.getLdapGroup().getLdapServer().isReadOnly())
So either the user has no LDAP group or the LDAP group has no LDAP server.
If you click on "Write LDAP configuration" after you added a new user but did forget to select the correct LDAP user group, you get a null pointer exception:
There is no check in user frontend which is checking is a ldap group selected for this user nor is in code a check if for a user a ldap group assigned.