📄 slapauth.8
字号:
.TH SLAPAUTH 8C "RELEASEDATE" "OpenLDAP LDVERSION".\" Copyright 2004-2007 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..SH NAMEslapauth \- 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 [\-F confdir].B [\-M mech].B [\-R realm].B [\-U authcID].B [\-X authzID].B ID [...].LP.SH DESCRIPTION.LP.B Slapauthis 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-policyand.B authz-regexpdirectives, and then parses the .B IDlist given on the command-line..LP.SH OPTIONS.TP.B \-venable 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 \-F " confdir"specify a config directory.If both.B -fand.B -Fare specified, the config file will be read and converted toconfig directory format and written to the specified directory.If neither option is specified, an attempt to read thedefault config directory will be made before trying to use the defaultconfig file. If a valid config directory exists then thedefault config file is ignored..TP.BI \-M " mech"specify a mechanism..TP.BI \-R " realm"specify a realm..TP.BI \-U " authcID"specify an ID to be used as .I authcIDthroughout the test session.If present, and if no.B authzIDis given, the IDs in the ID list are treated as .BR authzID ..TP.BI \-X " authzID"specify an ID to be used as .I authzIDthroughout the test session.If present, and if no.B authcIDis given, the IDs in the ID list are treated as .BR authcID .If both.I authcID and.I authzIDare given via command line switch, the ID list cannot be present..SH EXAMPLESThe command.LP.nf.ft tt SBINDIR/slapauth -f /ETCDIR/slapd.conf -v \\ -U bjorn -X u:bjensen.ft.fitests whether the user.I bjorncan assume the identity of the user .I bjensenprovided the directives.LP.nf.ft tt authz-policy from authz-regexp "^uid=([^,]+).*,cn=auth$" "ldap:///dc=example,dc=net??sub?uid=$1".ft.fiare 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 OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -