Source

mindref-sbin / slap-reindex

Full commit
1
2
3
4
5
6
7
#!/bin/sh

/etc/init.d/slapd stop > /dev/null

su openldap -c "slapindex"

/etc/init.d/slapd start > /dev/null