From b05d071c3a83758f2a9b1e107fc1a71c4ca1102e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 3 Jun 2000 16:29:34 +0000 Subject: [PATCH] Fix anonymous mapping --- servers/slapd/aclparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5