1 .TH LDAPWHOAMI 1 "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 ldapwhoami \- LDAP who am i? tool
16 .BI \-d \ debuglevel\fR]
24 .BI \-y \ passwdfile\fR]
28 .BI \-h \ ldaphost\fR]
30 .BI \-p \ ldapport\fR]
32 .BR \-O \ security-properties ]
49 implements the LDAP "Who Am I?" extended operation.
52 opens a connection to an LDAP server, binds, and performs a whoami
57 Show what would be done, but don't actually perform the whoami operation.
59 debugging in conjunction with -v.
62 Run in verbose mode, with many diagnostics written to standard output.
65 Set the LDAP debugging level to \fIdebuglevel\fP.
67 must be compiled with LDAP_DEBUG defined for this option to have any effect.
70 Use simple authentication instead of SASL.
73 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
76 Prompt for simple authentication.
77 This is used instead of specifying the password on the command line.
80 Use \fIpasswd\fP as the password for simple authentication.
83 Use complete contents of \fIpasswdfile\fP as the password for
84 simple authentication.
87 Specify URI(s) referring to the ldap server(s).
90 Specify an alternate host on which the ldap server is running.
91 Deprecated in favor of -H.
94 Specify an alternate TCP port where the ldap server is listening.
95 Deprecated in favor of -H.
97 .BI \-P \ 2\fR\||\|\fI3
98 Specify the LDAP protocol version to use.
100 .BI \-O \ security-properties
101 Specify SASL security properties.
104 Enable SASL Interactive mode. Always prompt. Default is to prompt
108 Enable SASL Quiet mode. Never prompt.
111 Specify the authentication ID for SASL bind. The form of the ID
112 depends on the actual SASL mechanism used.
115 Specify the requested authorization ID for SASL bind.
117 must be one of the following formats:
119 .I <distinguished name>
125 Specify the SASL mechanism to be used for authentication. If it's not
126 specified, the program will choose the best mechanism the server knows.
129 Issue StartTLS (Transport Layer Security) extended operation. If you use
131 , the command will require the operation to be successful.
134 ldapwhoami -x -D "cn=Manager,dc=example,dc=com" -W
139 .BR ldap_extended_s (3)
141 The OpenLDAP Project <http://www.openldap.org/>
144 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
146 is derived from University of Michigan LDAP 3.3 Release.