Search code examples
ldapsonarqubesonarqube-ops

How to delete a user from SonarQube and re-activate?


In our SonarQube instance we have recently enabled LDAP authentication. Prior to LDAP integration the users were manually created. It so happened some of the users were created using the same LDAP user ID and custom password.

Now when LDAP is integrated we want all users use the LDAP ID/pass instead of previously manually created ID/password. SonarQube login works with manually created password rather than LDAP password. So how do remove the manually created users and only activate the LDAP users?

PS: I dont see the option to delete but only to de-activate

enter image description here


Solution

  • As replied by Jeroen Heier in comments, removing users from Administration > Security > Users will allow you to reuse the login of the removed user with an LDAP account.

    If it's not the case, please describe what you're doing.