mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Allow dn.base=""
This commit is contained in:
parent
ef7b181f8b
commit
2c9a238571
@ -136,9 +136,9 @@ parse_acl(
|
||||
split( argv[i], '=', &left, &right );
|
||||
split( left, '.', &left, &style );
|
||||
|
||||
if ( right == NULL || *right == '\0' ) {
|
||||
if ( right == NULL ) {
|
||||
fprintf( stderr,
|
||||
"%s: line %d: missing \"=\" in (or value after) \"%s\" in to clause\n",
|
||||
"%s: line %d: missing \"=\" in \"%s\" in to clause\n",
|
||||
fname, lineno, left );
|
||||
acl_usage();
|
||||
}
|
||||
|
@ -10,6 +10,10 @@ schemacheck off
|
||||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
# global ACLs
|
||||
access to dn.base="" attr=objectClass by users read
|
||||
access to * by * read
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
@ -50,4 +54,4 @@ access to filter="objectclass=groupofnames"
|
||||
by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop
|
||||
by * break
|
||||
|
||||
access to * by * read
|
||||
# fall into global ACLs
|
||||
|
Loading…
Reference in New Issue
Block a user