Update INSTALL.md
This commit is contained in:
parent
d78813f499
commit
33d86b72de
@ -21,10 +21,10 @@ Use the following command to start openLDAP
|
|||||||
```
|
```
|
||||||
root@example:/# slapd -h "ldap:/// ldapi:///" -g openldap -u openldap -F /etc/ldap/slapd.d
|
root@example:/# slapd -h "ldap:/// ldapi:///" -g openldap -u openldap -F /etc/ldap/slapd.d
|
||||||
```
|
```
|
||||||
Generate a password hash for our administrator user, 1234 here being the password
|
Generate a password hash for our administrator user, Op3nLd4p! here being the password to comply with password policies
|
||||||
```
|
```
|
||||||
root@example:/# slappasswd -s 1234
|
root@example:/# slappasswd -s Op3nLd4p!
|
||||||
{SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF
|
{SSHA}vP1xt9t8+/GmOXmqlH1yNh305+MpUDe+
|
||||||
```
|
```
|
||||||
Create the .ldif file that will create the admin user, edit the _userPassword_ attribute with our password hash\
|
Create the .ldif file that will create the admin user, edit the _userPassword_ attribute with our password hash\
|
||||||
(you can copy & paste the entire command until userPassword, copy your password hash with the mouse, and paste it directly)
|
(you can copy & paste the entire command until userPassword, copy your password hash with the mouse, and paste it directly)
|
||||||
@ -36,7 +36,7 @@ objectClass: organizationalRole
|
|||||||
objectClass: simpleSecurityObject
|
objectClass: simpleSecurityObject
|
||||||
cn: admin
|
cn: admin
|
||||||
description: LDAP administrator
|
description: LDAP administrator
|
||||||
userPassword: {SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF # Replace with the hash of your password
|
userPassword: {SSHA}vP1xt9t8+/GmOXmqlH1yNh305+MpUDe+ # Replace with the hash of your password
|
||||||
EOL
|
EOL
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user