reformating README
This commit is contained in:
parent
3cafd73a54
commit
ab4db6e676
1 changed files with 8 additions and 5 deletions
13
README.md
13
README.md
|
@ -1,7 +1,10 @@
|
|||
Add your basedn to basedn (eg: `echo o=denkn,c=at > basedn`).
|
||||
For initialization, first shutdown slapd and delete `/var/lib/ldap/` (you will lost all your data!),
|
||||
then use `./90.root.ldif | slapadd -b `cat basedn` -v`.
|
||||
Now you can start slapd again.
|
||||
Via `ldapadd -Y external` you can add any other ldif.
|
||||
For adding user run `./90.user.ldif.sh | ldapadd -Y external`.
|
||||
|
||||
For initialization, first shutdown slapd and delete `/var/lib/ldap/` (you will lost all your data!),
|
||||
then use `./90.root.ldif | slapadd -b \`cat basedn\` -v`.
|
||||
|
||||
Now you can start slapd again.
|
||||
|
||||
Via `ldapadd -Y external` you can add any other ldif.
|
||||
|
||||
For adding an user run `./90.user.ldif.sh username givenname surname emailaddr | ldapadd -Y external`.
|
||||
|
|
Loading…
Reference in a new issue