Ldap

OpenLDAP

Ldap

mkdir /usr/local/etc/openldap/slapd.d/ cp -v /usr/local/etc/openldap/slapd.ldif.sample /usr/local/etc/openldap/slapd.d/slapd.ldif now edit the file slapd.ldif and at least change: 12,13c12,13 < olcArgsFile: /var/db/run/slapd.args < olcPidFile: /var/db/run/slapd.pid --- > olcArgsFile: /var/run/openldap/slapd.args > olcPidFile: /var/run/openldap/slapd.pid because that is where FreeBSD expects openldap to put these files. WIP This does not work yet # create the configuration database out of the ldif file: slapadd -n0 -F /usr/local/etc/openldap/slapd.d/ -l /usr/local/etc/openldap/slapd.d/slapd.ldif # start slapd with debug option to see error messages (CTRL-c if it works) /usr/local/libexec/slapd -d1 -F /usr/local/etc/openldap/slapd. ...

top