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.

CSP on Apache

To add CSP to root if sort of funny. The following will NOT work for most cases !!     <LocationMatch "^/$">        Header s...