Slapd.conf# Start slapd.conf
# Do not simply cut and paste this file!
# Know what your are Doing!
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba3.schema
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
access to dn.base=""
by self write
by * auth
access to attr=userPassword
by self write
by * auth
access to attr=shadowLastChange
by self write
by * read
access to *
by * read
by anonymous auth
#loglevel 256
# To Use the loglevel option add the folowing to /etc/syslog.conf
# local4.* -/data/ldap/log/openldap.log
# Then restart the syslog with:
# service syslog restart
schemacheck on
idletimeout 30
backend bdb
database bdb
checkpoint 1024 5
cachesize 10000
suffix "dc=dghartung,dc=com"
rootdn "cn=Manager,dc=dghartung,dc=com"
# rootpw = yourpasswd
rootpw {SSHA}86kTavd9Dw3FAz6qzWTrCOKX/c0Qe+UV
# Generate a "SSHA" passwd with the following command:
# # slappasswd yourpasswd
directory /data/ldap
# End slapd.conf
LDAP | PDC Docs |
|