Searching for an access control instruction
Steps
-
To search the
dc=example,dc=combase distinguished name (DN) entry, run theldapsearchtool.The filter
"(aci=*)"matches allaciattributes under the base DN, and theaciattribute is specified so that only it is returned. Thecn=Directory Managerbind DN has the privileges to view an access control instruction (ACI).Example:
$ bin/ldapsearch --baseDN dc=example,dc=com "(aci=*)" aciResult:
The system displays the following ACI information.
dn: dc=example,dc=com aci: (targetattr!="userPassword") (version 3.0; acl "Allow anonymous read access for anyone"; allow (read,search,compare) userdn="ldap:///anyone";) aci: (targetattr="*") (version 3.0; acl "Allow users to update their own entries"; allow (write) userdn="ldap:///self";) aci: (targetattr="*") (version 3.0; acl "Grant full access for the admin user"; allow (all) userdn="ldap:///uid=admin,dc=example,dc=com";)