slapauth

From RaySoft

slapauth is used to check the behavior of the slapd in mapping identities for authentication and authorization purposes, as specified in slapd.conf. It opens the slapd.conf configuration file, reads in the authz-policy and authz-regexp directives, and then parses the ID list given on the command-line.[1]

Documentation

Syntax

slapauth [PARAMETER ...] ID

Parameters

-f FILE
Specify an alternative slapd.conf FILE.
-U ID
Specify an ID to be used as AUTHC_ID throughout the test session. If present, and if no AUTHZ_ID is given, the IDs in the ID list are treated as AUTHZ_ID.
-v
Enable verbose mode.
-X ID
Specify an ID to be used as AUTHZ_ID throughout the test session. If present, and if no AUTHC_ID is given, the IDs in the ID list are treated as AUTHC_ID. If both AUTHC_ID and AUTHZ_ID are given via command line switch, the ID list cannot be present.

References

  1. man 8 'slapauth'