Set defaultaccess to 'read' in distribution slapd.conf and add warnings
Set schemacheck to 'on' in distribution slapd.conf and add warnings
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;
#
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