From: Kurt Zeilenga Date: Sat, 3 Jun 2000 16:29:34 +0000 (+0000) Subject: Fix anonymous mapping X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2773 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b05d071c3a83758f2a9b1e107fc1a71c4ca1102e;p=openldap Fix anonymous mapping --- diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 23faa9f3f6..bb8377b950 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -154,7 +154,7 @@ parse_acl( } if( *right == '\0' ) { - a->acl_dn_pat = ch_strdup("^$"); + a->acl_dn_pat = ch_strdup("anonymous"); } else if ( strcmp(right, "*") == 0 || strcmp(right, ".*") == 0 @@ -274,7 +274,7 @@ parse_acl( } else if ( strcmp( right, "*" ) == 0 ) { /* dn=* */ - /* any or users? any for now */ + /* any or users? users for now */ pat = ch_strdup( "users" ); } else if ( strcmp( right, ".+" ) == 0