# Reset admin password

**URL:** https://forum.yunohost.org/t/reset-admin-password/1681
**Category:** Support
**Tags:** english
**Created:** [June 22, 2016, 6:37pm UTC](https://forum.yunohost.org/t/reset-admin-password/1681 "2016-06-22T18:37:39Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![jerome](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/a587f6/32.png) [@jerome](https://forum.yunohost.org/u/jerome)
#### Post date: [October 17, 2016, 7:51pm UTC](https://forum.yunohost.org/t/reset-admin-password/1681/16 "2016-10-17T19:51:29Z")

</div>

> [@CaptainSqrt2](#):
>
> I’m not sure to totally understand what you’re pointing out though.

It’s related to the new configuration regeneration system - see the [v2.4 release note](https://forum.yunohost.org/t/yunohost-2-4-released/1544). It allows to manage the configuration files’ update of each service - including LDAP and `slapd.conf`. When you modify _by hand_ one of those configuration files, it will not be automatically regenerated regarding the YunoHost provided one. Instead, your local modifications will be kept. Conversely, if no modification has been made to this configuration file, it will be updated with the next YunoHost upgrade.

So, if you change the LDAP configuration file to set a new password, then regenerate the configuration database - regarding `/etc/ldap/slapd.conf` content and stored in `/etc/ldap/slapd.d`-, then put back the original `slapd.conf` file, it will be as if no local modification has been made to this file. Thus, this file will be updated with the next YunoHost upgrade - without the admin password. But, the configuration database will also be regenerated regarding `/etc/ldap/slapd.conf` content at the end of the upgrade, and the admin password will be lost again…

---

_[View the full topic](https://forum.yunohost.org/t/reset-admin-password/1681)._
