I'm having trouble getting openldap working on slackware 10.2.
I installed the package from linuxpackages.net, and have a very basic and minimual slapd.conf file.
Code:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
loglevel 296
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
password-hash {SSHA}
database bdb
suffix "dc=hopto,dc=org"
rootdn "cn=Manager,dc=hopto,dc=org"
rootpw {SSHA}QxZTzC3ZAYiGtpoOp+J4GkrM14XU3NC8
directory /var/ldap/hopto.org
mode 0600
index objectClass eq
index cn,sn,mail pres,eq
cachesize 2000
access to *
by * read
I can start slapd, but the I can't kill it, even with -sigkill.
Tried:
Code:
kill -INT `cat /var/run/slapd.pid`
kill -s sigkill `pidof slapd`
killall slapd
I have to reboot to stop it.
Maybe I'm wrong, but I thought a INT signal to the master slapd process should cause it to clean up and terminate.
I'm thinking I must be doing something wrong. If you know what, please advise. Or if you know of a better way of getting a basic openldap working on slackware, let me know.
Thanks