mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
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:
parent
795d98456a
commit
859dbe1398
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user