26 lines
597 B
Markdown
26 lines
597 B
Markdown
|
||
## Openldap
|
||
- init/update du password uid=admin
|
||
|
||
- changement du password du compte writer cn=admin
|
||
```
|
||
# on recherche le dn du user
|
||
ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -D cn=admin,dc=envole,dc=org -w changeme -b dc=envole,dc=org uid=admin dn -Q
|
||
|
||
# on hash le nouveau password
|
||
slappasswd -h {SHA} -s newpassword
|
||
|
||
# on constuit un ldif
|
||
dn: cn=admin,dc=envole,dc=org
|
||
changetype: modify
|
||
replace: userPassword
|
||
userPassword: {SHA} newpasswordhashed
|
||
|
||
```
|
||
|
||
- ne pas init la structure ninegate si master identity = LDAP
|
||
|
||
## Keycloak
|
||
- changement sur le realm
|
||
- changemet password admin-keycloak
|