Update README.md
This commit is contained in:
parent
7134899dbb
commit
d3921c1c39
@ -33,7 +33,7 @@ start the openLDAP daemon server
|
||||
> vim /etc/ldap/ldap.conf
|
||||
```
|
||||
|
||||
create a openLDAP root user password
|
||||
create a **password** for openLDAP root user
|
||||
```
|
||||
> slappasswd
|
||||
New password:
|
||||
@ -43,7 +43,7 @@ Re-enter new password:
|
||||
|
||||
### _Base administrative Tasks for openLDAP_
|
||||
|
||||
create a file setting up our default rootDN and our *hostname* (change dc=example,dc=com as needed)
|
||||
create a file setting up our default rootDN and our *hostname* **(change *dc=example,dc=com* as needed)**
|
||||
```
|
||||
> vim change_root.ldif
|
||||
dn: olcDatabase={1}mdb,cn=config
|
||||
@ -56,7 +56,7 @@ now save this changes in the main database
|
||||
> ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f change_root.ldif
|
||||
```
|
||||
|
||||
create a file setting up our default rootPW (_change {SSHA}hashpwd with our previous *password*_)
|
||||
create a file setting up our default rootPW **(change *{SSHA}hashpwd* with our previous *password*)**
|
||||
```
|
||||
> vim change_password.ldif
|
||||
dn: olcDatabase={1}mdb,cn=config
|
||||
@ -69,6 +69,6 @@ now apply our new password for the main database
|
||||
> ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f change_password.ldif
|
||||
modifying entry "olcDatabase={1}mdb,cn=config"
|
||||
```
|
||||
we are done with our slapd root configuration and can begin creating new LDAP directories (.ldif files)
|
||||
we are done with our openLDAP root configuration and can begin creating new LDAP directories (.ldif files)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user