Wednesday, June 4, 2014

Using slapadd in OpenLDAP

A correct way to use slapadd:

/sbin> slapadd -f d:\OpenLDAP\etc\openldap\slapd.conf -l d:\data\root-unit.ldif

Note that -F d:\OpenLDAP\etc\openldap won't work, you must use the -f parameter.

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull