From: Kurt Zeilenga Date: Fri, 16 Apr 2004 01:51:25 +0000 (+0000) Subject: rename X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=765a6bd5d480dec2fec3bb3af19cc01b01fad278;p=openldap rename --- diff --git a/doc/man/man8/slapauth.8 b/doc/man/man8/slapauth.8 new file mode 100644 index 0000000000..2575b0e174 --- /dev/null +++ b/doc/man/man8/slapauth.8 @@ -0,0 +1,103 @@ +.TH SLAPAUTH 8C "RELEASEDATE" "OpenLDAP LDVERSION" +.\" Copyright 2004 The OpenLDAP Foundation All Rights Reserved. +.\" Copying restrictions apply. See COPYRIGHT/LICENSE. +.SH NAME +slapauth \- Check a list of string-represented IDs for authc/authz. +.SH SYNOPSIS +.B SBINDIR/slapauth +.B [\-v] +.B [\-d level] +.B [\-f slapd.conf] +.B [\-U authcID] +.B [\-X authzID] +.B ID [...] +.LP +.SH DESCRIPTION +.LP +.B Slapauth +is used to check the behavior of the slapd in mapping identities +for authentication and authorization purposes, as specified in +.BR slapd.conf (5). +It opens the +.BR slapd.conf (5) +configuration file, reads in the +.B authz-policy +and +.B authz-regexp +directives, and then parses the +.B ID +list given on the command-line. +.LP +.SH OPTIONS +.TP +.B \-v +enable verbose mode. +.TP +.BI \-d " level" +enable debugging messages as defined by the specified +.IR level . +.TP +.BI \-f " slapd.conf" +specify an alternative +.BR slapd.conf (5) +file. +.TP +.BI \-U " authcID" +specify an ID to be used as +.I authcID +throughout the test session. +If present, and if no +.B authzID +is given, the IDs in the ID list are treated as +.BR authzID . +.TP +.BI \-X " authzID" +specify an ID to be used as +.I authzID +throughout the test session. +If present, and if no +.B authcID +is given, the IDs in the ID list are treated as +.BR authcID . +If both +.I authcID +and +.I authzID +are given via command line switch, the ID list cannot be present. +.SH EXAMPLES +The command +.LP +.nf +.ft tt + SBINDIR/slapauth -f /ETCDIR/slapd.conf -v \\ + -U bjorn -X u:bjensen + +.ft +.fi +tests whether the user +.I bjorn +can assume the identity of the user +.I bjensen +provided the directives +.LP +.nf +.ft tt + authz-policy from + authz-regexp "^uid=([^,]+).*,cn=auth$" + "ldap:///dc=example,dc=net??sub?uid=$1" + +.ft +.fi +are defined in +.BR slapd.conf (5). +.SH "SEE ALSO" +.BR ldap (3), +.BR slapd (8) +.BR slaptest (8) +.LP +"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) +.SH ACKNOWLEDGEMENTS +.B OpenLDAP +is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). +.B OpenLDAP +is derived from University of Michigan LDAP 3.3 Release. diff --git a/doc/man/man8/slapsaslauth.8 b/doc/man/man8/slapsaslauth.8 deleted file mode 100644 index 2575b0e174..0000000000 --- a/doc/man/man8/slapsaslauth.8 +++ /dev/null @@ -1,103 +0,0 @@ -.TH SLAPAUTH 8C "RELEASEDATE" "OpenLDAP LDVERSION" -.\" Copyright 2004 The OpenLDAP Foundation All Rights Reserved. -.\" Copying restrictions apply. See COPYRIGHT/LICENSE. -.SH NAME -slapauth \- Check a list of string-represented IDs for authc/authz. -.SH SYNOPSIS -.B SBINDIR/slapauth -.B [\-v] -.B [\-d level] -.B [\-f slapd.conf] -.B [\-U authcID] -.B [\-X authzID] -.B ID [...] -.LP -.SH DESCRIPTION -.LP -.B Slapauth -is used to check the behavior of the slapd in mapping identities -for authentication and authorization purposes, as specified in -.BR slapd.conf (5). -It opens the -.BR slapd.conf (5) -configuration file, reads in the -.B authz-policy -and -.B authz-regexp -directives, and then parses the -.B ID -list given on the command-line. -.LP -.SH OPTIONS -.TP -.B \-v -enable verbose mode. -.TP -.BI \-d " level" -enable debugging messages as defined by the specified -.IR level . -.TP -.BI \-f " slapd.conf" -specify an alternative -.BR slapd.conf (5) -file. -.TP -.BI \-U " authcID" -specify an ID to be used as -.I authcID -throughout the test session. -If present, and if no -.B authzID -is given, the IDs in the ID list are treated as -.BR authzID . -.TP -.BI \-X " authzID" -specify an ID to be used as -.I authzID -throughout the test session. -If present, and if no -.B authcID -is given, the IDs in the ID list are treated as -.BR authcID . -If both -.I authcID -and -.I authzID -are given via command line switch, the ID list cannot be present. -.SH EXAMPLES -The command -.LP -.nf -.ft tt - SBINDIR/slapauth -f /ETCDIR/slapd.conf -v \\ - -U bjorn -X u:bjensen - -.ft -.fi -tests whether the user -.I bjorn -can assume the identity of the user -.I bjensen -provided the directives -.LP -.nf -.ft tt - authz-policy from - authz-regexp "^uid=([^,]+).*,cn=auth$" - "ldap:///dc=example,dc=net??sub?uid=$1" - -.ft -.fi -are defined in -.BR slapd.conf (5). -.SH "SEE ALSO" -.BR ldap (3), -.BR slapd (8) -.BR slaptest (8) -.LP -"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) -.SH ACKNOWLEDGEMENTS -.B OpenLDAP -is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). -.B OpenLDAP -is derived from University of Michigan LDAP 3.3 Release.