Skip to content

Commit

Permalink
documentation - new password management policy (georchestra#3965)
Browse files Browse the repository at this point in the history
* new passwords management policy -ldap

Steps to enable rotation password management policy

* Update openldap.md

* Update openldap.md
  • Loading branch information
marwanehcine authored Jan 11, 2024
1 parent 2d7a13f commit b935b1d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/setup/openldap.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,23 @@ ldapvi --host localhost -D "cn=admin,dc=georchestra,dc=org" -w "secret" -b "dc=g

* [Apache Directory Studio](http://directory.apache.org/studio/), a powerful desktop client.
* our own [console](/console/README.md) web application, available at ```/console/manager/``` to members of the ```SUPERUSER``` group, is probably the easiest one.

# Enabling rotation policy for passwords management

To enable rotation policy for passwords management, please run the following commands:
```
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f ppolicy-rotation.ldif
```
```
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f rotationpolicyoverlay.ldif
```
To disable password expire for no humain users (geoserver_privileged_user, idatafeeder), please run the following commands:
```
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f pwd_no_expire.ldif
```
```
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f pwd_no_expire_users.ldif
```
If rotation policy for passwords management is enabled, password has to be set after 12 months.
Alerts will be shown to user during last month.
This duration can be set with the 'pwdMaxAge' option in the 'rotationpolicyoverlay.ldif' file.

0 comments on commit b935b1d

Please sign in to comment.