Commit 2c9a2385 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Allow dn.base=""

parent ef7b181f
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment