openldap/servers/slapd/slapd.conf

35 lines
1.0 KiB
Plaintext
Raw Normal View History

1999-09-09 06:52:19 +08:00
# $OpenLDAP$
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
1998-10-25 09:41:42 +08:00
include %SYSCONFDIR%/slapd.at.conf
include %SYSCONFDIR%/slapd.oc.conf
# Using ACLs to control access is wise. When ACLs are used,
# "defaultaccess none" is recommended (default is 'auth').
defaultaccess read
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
1998-08-09 08:43:13 +08:00
pidfile %LOCALSTATEDIR%/slapd.pid
argsfile %LOCALSTATEDIR%/slapd.args
1998-08-09 08:43:13 +08:00
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=your-domain, dc=com"
#suffix "o=Your Organization Name, c=US"
1998-08-09 08:43:13 +08:00
directory /usr/tmp
rootdn "cn=root, dc=your-domain, dc=com"
#rootdn "cn=root, o=Your Organization Name, c=US"
1998-08-09 08:43:13 +08:00
rootpw secret
# cleartext passwords, especially for the rootdn, should
# be avoid. See slapd.conf(5) for details.