slapadd for 10,20
This commit is contained in:
parent
9f9c5a0cea
commit
43587fecce
1 changed files with 8 additions and 3 deletions
11
README.md
11
README.md
|
@ -1,10 +1,15 @@
|
|||
Add your basedn to basedn (eg: `echo o=denkn,c=at > basedn`).
|
||||
|
||||
For initialization, first shutdown slapd and delete `/var/lib/ldap/` (you will loose all of your data!),
|
||||
then use `./90.root.ldif | slapadd -b \`cat basedn\` -v`.
|
||||
then use `./90.root.ldif.sh | slapadd -b \`cat basedn\` -v`.
|
||||
|
||||
Now you can start slapd again.
|
||||
For adding 10 and 20 use:
|
||||
|
||||
Via `ldapadd -Y external` you can add any other ldif.
|
||||
slapadd -b `cat basedn` -v -l 10.acls.ldif
|
||||
slapadd -b `cat basedn` -v -l 20.passwordhash.ldif
|
||||
|
||||
Now you can start slapd with your fresh config.
|
||||
|
||||
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