mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
in the <what> clause of ACLs, only 'attr=' or 'attrs=' are allowed; the former for backwards compatibility, while slapd.access(5) correctly uses only the latter form
This commit is contained in:
parent
8e89944abc
commit
79bc396ed8
@ -246,7 +246,8 @@ parse_acl(
|
||||
acl_usage();
|
||||
}
|
||||
|
||||
} else if ( strncasecmp( left, "attr", 4 ) == 0 ) {
|
||||
} else if ( strcasecmp( left, "attr" ) == 0
|
||||
|| strcasecmp( left, "attrs" ) == 0 ) {
|
||||
a->acl_attrs = str2anlist( a->acl_attrs,
|
||||
right, "," );
|
||||
if ( a->acl_attrs == NULL ) {
|
||||
|
Loading…
Reference in New Issue
Block a user