Change the defaultaccess to 'auth'

Set defaultaccess to 'read' in distribution slapd.conf and add warnings
Set schemacheck to 'on' in distribution slapd.conf and add warnings
This commit is contained in:
Kurt Zeilenga 1999-10-15 20:34:42 +00:00
parent 795d98456a
commit 859dbe1398
2 changed files with 7 additions and 2 deletions

View File

@ -27,7 +27,7 @@
int defsize = SLAPD_DEFAULT_SIZELIMIT;
int deftime = SLAPD_DEFAULT_TIMELIMIT;
AccessControl *global_acl = NULL;
int global_default_access = ACL_READ;
int global_default_access = ACL_AUTH;
int global_readonly = 0;
char *replogfile;
int global_lastmod = ON;

View File

@ -5,8 +5,13 @@
#
include %SYSCONFDIR%/slapd.at.conf
include %SYSCONFDIR%/slapd.oc.conf
schemacheck off
# 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
pidfile %LOCALSTATEDIR%/slapd.pid