jenkins

create a local user in jenkins along side LDAP authentication


The purpose is to create a local user in jenkins(granting admin rights) along side the LDAP group authentication so that this "local" user can perform all admin actions whenever the LDAP authentication is not working. I can set up active directory user(valid users with a valid id), but i want to explore the possibility of setting up "local" jenkins user I tried to figure this out through JENKINS JIRA but there is no mention of jenkins local user.

Can anyone help me figure this out.


Solution

  • You can't.

    When you activate LDAP authentication, you automatically disable Jenkins' internal user database. Both cannot co-exist.