]> git.sur5r.net Git - openldap/commitdiff
Fix anonymous mapping
authorKurt Zeilenga <kurt@openldap.org>
Sat, 3 Jun 2000 16:29:34 +0000 (16:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 3 Jun 2000 16:29:34 +0000 (16:29 +0000)
servers/slapd/aclparse.c

index 23faa9f3f66084973898b34902c638c5cce8743e..bb8377b95023514d1cb08e269829b8b69dc35377 100644 (file)
@@ -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