Hi all,
in the ACL chapter of the online documentation to OpenLDAP 2.6 (and likely the versions before) there might be a mismatch of singular/plural usage of the "users" keyword.
In chapter 8.3.2 "who to grant access to" table 5.3 lists specifier "users" as "authenticated users" entities. This is further shown in chapter 8.4.2 "matching anonymous and authenticated users".
In chapter 8.4.9 "tips for using regular expressions in access control" the singular is used: "Use shorthands. The user directive matches authenticated users and the anonymous directive matches anonymous users."
As well as in the subchapters 8.5.x where the singular is used in set definitions.
My question now is: does it matter whether singular or plural of user is used in ACLs? If so, where to use one and where to use the other? Does it follow natural language useage?
Thanks,
Uwe
Uwe Sauter wrote:
Hi all,
in the ACL chapter of the online documentation to OpenLDAP 2.6 (and likely the versions before) there might be a mismatch of singular/plural usage of the "users" keyword.
In chapter 8.3.2 "who to grant access to" table 5.3 lists specifier "users" as "authenticated users" entities. This is further shown in chapter 8.4.2 "matching anonymous and authenticated users".
In chapter 8.4.9 "tips for using regular expressions in access control" the singular is used: "Use shorthands. The user directive matches authenticated users and the anonymous directive matches anonymous users."
As well as in the subchapters 8.5.x where the singular is used in set definitions.
The examples in monospaced font use the exact keywords. The wording in the regular text is just conversational English.
The keywords for sets are not the same as for regular ACLs.
My question now is: does it matter whether singular or plural of user is used in ACLs? If so, where to use one and where to use the other? Does it follow natural language useage?
Use them as shown in the examples.
Howard Chu wrote:
Uwe Sauter wrote:
Hi all,
in the ACL chapter of the online documentation to OpenLDAP 2.6 (and likely the versions before) there might be a mismatch of singular/plural usage of the "users" keyword.
In chapter 8.3.2 "who to grant access to" table 5.3 lists specifier "users" as "authenticated users" entities. This is further shown in chapter 8.4.2 "matching anonymous and authenticated users".
In chapter 8.4.9 "tips for using regular expressions in access control" the singular is used: "Use shorthands. The user directive matches authenticated users and the anonymous directive matches anonymous users."
As well as in the subchapters 8.5.x where the singular is used in set definitions.
The examples in monospaced font use the exact keywords. The wording in the regular text is just conversational English.
In particular, the Admin Guide is only a guide, not a reference manual. Read the slapd.access(5) manpage for exact syntax.
openldap-technical@openldap.org