1
1
.TH LDAPWHOAMI 1 "RELEASEDATE" "OpenLDAP LDVERSION"
2
.\" $OpenLDAP: pkg/ldap/doc/man/man1/ldapwhoami.1,v 1.10.2.6 2009/01/22 00:00:48 kurt Exp $
2
.\" $OpenLDAP: pkg/ldap/doc/man/man1/ldapwhoami.1,v 1.10.2.8 2009/06/08 18:23:33 quanah Exp $
3
3
.\" Copyright 1998-2009 The OpenLDAP Foundation All Rights Reserved.
4
4
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
59
63
Show what would be done, but don't actually perform the whoami operation.
61
debugging in conjunction with -v.
65
debugging in conjunction with \fB\-v\fP.
64
68
Run in verbose mode, with many diagnostics written to standard output.
75
79
Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
76
For SASL Binds, the server is expected to ignore this value.
80
For SASL binds, the server is expected to ignore this value.
79
83
Prompt for simple authentication.
95
99
Specify an alternate host on which the ldap server is running.
96
Deprecated in favor of -H.
100
Deprecated in favor of \fB\-H\fP.
98
102
.BI \-p \ ldapport
99
103
Specify an alternate TCP port where the ldap server is listening.
100
Deprecated in favor of -H.
102
.BI \-P \ 2\fR\||\|\fI3
103
Specify the LDAP protocol version to use.
104
Deprecated in favor of \fB\-H\fP.
105
106
.BI \-O \ security-properties
106
107
Specify SASL security properties.
109
.BR \-e \ [ ! ] \fIext\fP [ =\fIextparam\fP ]
111
.BR \-E \ [ ! ] \fIext\fP [ =\fIextparam\fP ]
113
Specify general extensions with \fB\-e\fP and search extensions with \fB\-E\fP.
114
\'\fB!\fP\' indicates criticality.
118
[!]assert=<filter> (an RFC 4515 Filter)
119
[!]authzid=<authzid> ("dn:<dn>" or "u:<user>")
123
[!]postread[=<attrs>] (a comma-separated attribute list)
124
[!]preread[=<attrs>] (a comma-separated attribute list)
125
abandon, cancel (SIGINT sends abandon/cancel; not really controls)
130
[!]domainScope (domain scope)
131
[!]mv=<filter> (matched values filter)
132
[!]pr=<size>[/prompt|noprompt] (paged results/prompt)
133
[!]sss=[\-]<attr[:OID]>[/[\-]<attr[:OID]>...] (server side sorting)
134
[!]subentries[=true|false] (subentries)
135
[!]sync=ro[/<cookie>] (LDAP Sync refreshOnly)
136
rp[/<cookie>][/<slimit>] (LDAP Sync refreshAndPersist)
109
140
Enable SASL Interactive mode. Always prompt. Default is to prompt
124
155
Specify the requested authorization ID for SASL bind.
126
157
must be one of the following formats:
128
.I <distinguished name>
158
.BI dn: "<distinguished name>"
134
163
Specify the SASL mechanism to be used for authentication. If it's not
135
164
specified, the program will choose the best mechanism the server knows.
138
167
Issue StartTLS (Transport Layer Security) extended operation. If you use
140
, the command will require the operation to be successful.
168
\fB\-ZZ\fP, the command will require the operation to be successful.
143
ldapwhoami -x -D "cn=Manager,dc=example,dc=com" -W
171
ldapwhoami \-x \-D "cn=Manager,dc=example,dc=com" \-W
146
174
.BR ldap.conf (5),