# Authentication methods

**URL:** <https://forums.suse.com/t/authentication-methods/5618>\
**Category:** Rancher 1.x\
**Created:** [February 22, 2017, 8:25am UTC](https://forums.suse.com/t/authentication-methods/5618 "2017-02-22T08:25:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomer\_Leibovich](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@Tomer\_Leibovich](https://forums.suse.com/u/Tomer_Leibovich)\
**Post date:** [February 22, 2017, 8:25am UTC](https://forums.suse.com/t/authentication-methods/5618/1 "2017-02-22T08:25:59Z")

</div>

Hi,

If LDAP authentication is enabled, the local admin can no longer be in use?  
In case the password of the local admin is lost, how it can be reset? I don’t see option to reset admin password from the UI.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [February 22, 2017, 8:51am UTC](https://forums.suse.com/t/authentication-methods/5618/2 "2017-02-22T08:51:01Z")

</div>

One authentication method is enabled at a time. If you turn on LDAP then local is no longer enabled and there is no “local admin password” anymore. The user who enables authentication is automatically an Admin and can add others. If you forget the password for a user you reset them in LDAP. If you manage to delete the last admin and lock yourself out you can disable auth in the DB: [http://docs.rancher.com/rancher/v1.4/en/faqs/troubleshooting/#help-i-turned-on-access-control-and-can-no-longer-access-rancher-how-do-i-reset-rancher-to-disable-access-control](http://docs.rancher.com/rancher/v1.4/en/faqs/troubleshooting/#help-i-turned-on-access-control-and-can-no-longer-access-rancher-how-do-i-reset-rancher-to-disable-access-control)
