diff --git a/INSTALL.md b/INSTALL.md index ec13576..f157d22 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -56,10 +56,15 @@ loginShell: /bin/bash homeDirectory: /home/marisa EOF ``` +When creating the groups and users, we will be asked the openLDAP root password (default: admin) ``` -root@example:/etc/ldap/slapd.d# ldapadd -x -D cn=admin,dc=example,dc=com -W -f add_content.ldif +root@example:/# ldapadd -x -D cn=admin,dc=example,dc=com -W -f add_content.ldif ``` -When creating the groups and users, we will be asked:\ +Notice the userPassword is invalid, let's set a proper one +``` +root@example:/# ldappasswd -x -D cn=admin,dc=example,dc=com -W -S uid=marisa,ou=people,dc=example,dc=com +``` +When setting up the password, we will be asked:\ 1-the password for the user marisa (qwerty), 2-reenter the password for marisa, 3-the openLDAP root password (admin)