mirror of
https://github.com/luzifer-docker/openldap.git
synced 2024-12-20 20:51:17 +00:00
Clarifications for issue #7 initiated by virtuman.
This commit is contained in:
parent
d2da60fbba
commit
cb424dd34b
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ prefix used in `modules/ppolicy.ldif` for the `olcPPolicyDefault` attribute. Th
|
||||||
value used for `olcPPolicyDefault` is derived from `$SLAPD_PPOLICY_DN_PREFIX,(dc
|
value used for `olcPPolicyDefault` is derived from `$SLAPD_PPOLICY_DN_PREFIX,(dc
|
||||||
component parts from $SLAPD_DOMAIN)`.
|
component parts from $SLAPD_DOMAIN)`.
|
||||||
|
|
||||||
After loading the module, you have to load a default password policy, like so:
|
After loading the module, you have to load a default password policy, assuming you are on a host that has the client side tools installed (maybe you have to change the hostname as well):
|
||||||
|
|
||||||
```
|
```
|
||||||
ldapadd -h localhost -x -c -D 'cn=admin,dc=ldap,dc=example,dc=org' -w [$SLAPD_PASSWORD] -f default-policy.ldif
|
ldapadd -h localhost -x -c -D 'cn=admin,dc=ldap,dc=example,dc=org' -w [$SLAPD_PASSWORD] -f default-policy.ldif
|
||||||
|
|
Loading…
Reference in a new issue