mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue