Update README.md
This commit is contained in:
parent
1b67f10504
commit
534d178291
@ -75,9 +75,9 @@ cn: admin
|
||||
userPassword: {SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF # Replace with the hash of your password
|
||||
description: LDAP administrator
|
||||
```
|
||||
Execute create_admin.ldif
|
||||
Execute create_admin.ldif using as password, the root password _admin_ which is the default one
|
||||
```
|
||||
root@example:/etc/ldap# ldapadd -x -H ldap:/// -D "cn=admin,dc=example,dc=com" -w 1234 -f /etc/ldap/create_admin.ldif
|
||||
root@example:/etc/ldap# ldapadd -x -H ldap:/// -D "cn=admin,dc=example,dc=com" -w admin -f create_admin.ldif
|
||||
adding new entry "cn=admin,dc=example,dc=com"
|
||||
```
|
||||
Check the attributes of our new administrator user of our domain (parentDN)
|
||||
@ -316,4 +316,8 @@ modifying entry "olcDatabase={1}mdb,cn=config"
|
||||
```
|
||||
If successful, the output will show the modified entry.
|
||||
|
||||
## _Password schemas_
|
||||
|
||||
|
||||
|
||||
<!--ldappasswd -H ldap://server_domain_or_IP -x -D "cn=admin,dc=example,dc=com" -W -S "uid=bob,ou=people,dc=example,dc=com"-->
|
Loading…
Reference in New Issue
Block a user