1 .TH LDAPWHOAMI 1 "2008/07/16" "OpenLDAP 2.4.11"
2 .\" $OpenLDAP: pkg/ldap/doc/man/man1/ldapwhoami.1,v 1.10.2.4 2008/02/11 23:26:39 kurt Exp $
3 .\" Copyright 1998-2008 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 .BI \-O \ security-properties\fR]
51 implements the LDAP "Who Am I?" extended operation.
54 opens a connection to an LDAP server, binds, and performs a whoami
59 Show what would be done, but don't actually perform the whoami operation.
61 debugging in conjunction with -v.
64 Run in verbose mode, with many diagnostics written to standard output.
67 Set the LDAP debugging level to \fIdebuglevel\fP.
69 must be compiled with LDAP_DEBUG defined for this option to have any effect.
72 Use simple authentication instead of SASL.
75 Use the Distinguished Name \fIbinddn\fP to bind to the LDAP directory.
78 Prompt for simple authentication.
79 This is used instead of specifying the password on the command line.
82 Use \fIpasswd\fP as the password for simple authentication.
85 Use complete contents of \fIpasswdfile\fP as the password for
86 simple authentication.
89 Specify URI(s) referring to the ldap server(s); only the protocol/host/port
90 fields are allowed; a list of URI, separated by whitespace or commas
94 Specify an alternate host on which the ldap server is running.
95 Deprecated in favor of -H.
98 Specify an alternate TCP port where the ldap server is listening.
99 Deprecated in favor of -H.
101 .BI \-P \ 2\fR\||\|\fI3
102 Specify the LDAP protocol version to use.
104 .BI \-O \ security-properties
105 Specify SASL security properties.
108 Enable SASL Interactive mode. Always prompt. Default is to prompt
112 Enable SASL Quiet mode. Never prompt.
115 Specify the authentication ID for SASL bind. The form of the ID
116 depends on the actual SASL mechanism used.
119 Specify the realm of authentication ID for SASL bind. The form of the realm
120 depends on the actual SASL mechanism used.
123 Specify the requested authorization ID for SASL bind.
125 must be one of the following formats:
127 .I <distinguished name>
133 Specify the SASL mechanism to be used for authentication. If it's not
134 specified, the program will choose the best mechanism the server knows.
137 Issue StartTLS (Transport Layer Security) extended operation. If you use
139 , the command will require the operation to be successful.
142 ldapwhoami -x -D "cn=Manager,dc=example,dc=com" -W
147 .BR ldap_extended_operation (3)
149 The OpenLDAP Project <http://www.openldap.org/>
151 .\" Shared Project Acknowledgement Text
152 .B "OpenLDAP Software"
153 is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
154 .B "OpenLDAP Software"
155 is derived from University of Michigan LDAP 3.3 Release.