LDAPVC(1)
π ldapvc β the LDAP verify credentials tool
okay so bestie, listen. this is the manual page for ldapvc(1), a General Commands Manual situation, and it's literally the tool that goes "hey, are these creds valid???" without, like, committing to anything. no cap. let's get into it. π¦
β¨ NAME β¨
ldapvc β LDAP verify credentials tool. that's it, that's the whole name. iconic.
β¨ SYNOPSIS β¨
ldapvc [-V[V]] [-d debuglevel] [-a] [-b] [-n] [-v] [-x] [-D binddn] [-W]
[-w passwd] [-y passwdfile] [-H ldapuri] [-e [!]ext[=extparam]]
[-E [!]ext[=extparam]] [-o opt[=optparam]] [-O security-properties] [-I]
[-Q] [-N] [-U authcid] [-R realm] [-X authzid] [-Y mech] [-Z[Z]]
Distinguished Name [Credentials]
look at all those little flags. it's giving β¨ customizable β¨. give it a Distinguished Name, optionally hand it some Credentials, and it'll vibe check the whole thing for you. π
β¨ DESCRIPTION β¨
so ldapvc implements the LDAP "Verify Credentials" extended operation. that's the whole personality.
here's the tea: a Verify Credentials operation acts like an LDAP Bind BUT β and this is the important part bestie β it has no impact upon the underlying LDAP session. it checks the creds, says yes or no, and then leaves the session exactly how it found it. it's a respectful little icon like that. π
β¨ OPTIONS β¨
-V[V]β print version info. and if you go full-VV? then it prints only the version information, nothing else. minimal queen energy. π-d debuglevelβ set the LDAP debugging level to debuglevel. heads up tho:ldapvchas to have been compiled withLDAP_DEBUGdefined for this option to do literally anything. noLDAP_DEBUG, no notes. π-aβ print theauthzIDthat results from a successful verification of credentials. slay, now you know who you are. πͺͺ-bβ print the results from theppolicycontrol after verification of credentials.-nβ show what would be done, but don't actually perform the operation. it's the dress rehearsal π. super useful for debugging when you pair it with-v.-vβ run in verbose mode, with lots of diagnostics written to standard output. it will not stop talking. it's me. π¬-xβ use simple authentication instead of SASL.-D binddnβ use the Distinguished Name binddn to bind to the LDAP directory. for SASL binds, the server is expected to just ignore this value (rude, but noted).-Wβ prompt for simple authentication. use this instead of putting the password right there on the command line.-w passwdβ use passwd as the password for simple authentication.-y passwdfileβ use the complete contents of passwdfile as the password for simple authentication.-H ldapuriβ specify URI(s) pointing at the ldap server(s). only the protocol/host/port fields are allowed, and it expects a list of URIs separated by whitespace or commas.-e [!]ext[=extparam]-E [!]ext[=extparam]
specify general extensions with -e, and Verify Credentials extensions with -E. the ! indicates criticality β put it in there and you mean business. β οΈ
General extensions:
[!]assert=<filter> (an RFC 4515 Filter)
[!]bauthzid (RFC 3829 authzid control)
[!]chaining[=<resolve>[/<cont>]]
[!]manageDSAit
[!]noop
ppolicy
[!]postread[=<attrs>] (a comma-separated attribute list)
[!]preread[=<attrs>] (a comma-separated attribute list)
[!]relax
sessiontracking[=<username>]
abandon,cancel,ignore (SIGINT sends abandon/cancel,
or ignores response; if critical, doesn't wait for SIGINT.
not really controls)
Verify Credentials extensions:
the following options set SASL params on the Verify Credentials request:
authcid=<authcid> (SASL Authentication Identity "dn:<dn>" or "u:<user>")
authzid=<authzid> (SASL Authorization Identity "dn:<dn>" or "u:<user>")
mech=<mech> (SASL mechanism default e.g. Simple)
realm=<realm> (SASL Realm, defaults to none)
sasl=a[utomatic]|i[nteractive]|q[uiet] (SASL mode defaults to automatic if any other -E option provided, otherwise none)
secprops=<secprops> (SASL Security Properties)
-o opt[=optparam]β specify anyldap.conf(5)option, or one of these cuties:
nettimeout=<timeout> (in seconds, or "none" or "max")
ldif_wrap=<width> (in columns, or "no" for no wrapping)
for whatever -o option you can pass here, go check ldap.conf(5) for the deets. π
-O security-propertiesβ specify SASL security properties.-Iβ enable SASL Interactive mode. always prompt. default is to only prompt as needed.-Qβ enable SASL Quiet mode. never prompt. shhh. π€«-Nβ don't use reverse DNS to canonicalize the SASL host name.-U authcidβ specify the authentication ID for the SASL bind. the form of the ID depends on the actual SASL mechanism being used (iykyk).-R realmβ specify the realm of the authentication ID for the SASL bind. again, form depends on the actual SASL mechanism in play.-X authzidβ specify the requested authorization ID for the SASL bind. authzid must be one of these two formats:dn:<distinguished name>oru:<username>. no other shapes accepted bestie. π«-Y mechβ specify the SASL mechanism to use for authentication. if you don't say, the program picks the best mechanism the server knows. it's got taste. β¨-Z[Z]β issue a StartTLS (Transport Layer Security) extended operation. and if you use-ZZ? then the command requires the operation to be successful. no TLS, no service. π
β¨ EXAMPLE β¨
ldapvc -x "uid=Alice,ou=People,dc=example,dc=com"
look at her. simple auth, one DN, done. ate. π
β¨ SEE ALSO β¨
ldap.conf(5), ldap(3), ldap_extended_operation(3)
β¨ AUTHOR β¨
The OpenLDAP Project <http://www.openldap.org/> π«Ά
β¨ ACKNOWLEDGEMENTS β¨
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from the University of Michigan LDAP 3.3 Release.
and that's the whole page bestie, every last detail intact π β this was OpenLDAP 2.7.2, dated 2026/10/21. go verify some credentials responsibly, mwah πβ¨
π¦ where this page comes from
- arch rolling: openldap 2.7.2-2 Β· OLDAP-2.8
- Copyright 1998-2026 The OpenLDAP Foundation All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms