OS Manuals

/usr/bin/ldapvc

LDAP client utilities

From openldap-2.6-clients 2.6.16-r2 (enterprise-packages), captured 2026-11-08 by running ldapvc --help (exit 1). permalink

/usr/bin/ldapvc: invalid option -- '-'
ldapvc: unrecognized option --
Issue LDAP Verify Credentials operation to verify a user's credentials

usage: ldapvc [options] [DN [cred]])
where:
    DN	Distinguished Name
    cred	Credentials (prompt if not present)
options:
    -a	Request AuthzId
    -b	Request Password Policy Information
    -E sasl=(a[utomatic]|i[nteractive]|q[uiet]>	SASL mode (defaults to automatic if any other -E option provided, otherwise none))
    -E mech=<mech>	SASL mechanism (default  e.g. Simple)
    -E realm=<realm>	SASL Realm (defaults to none)
    -E authcid=<authcid>	SASL Authentication Identity (defaults to USER)
    -E authzid=<authzid>	SASL Authorization Identity (defaults to none)
    -E secprops=<secprops>	SASL Security Properties (defaults to none)
Common options:
  -d level   set LDAP debugging level to `level'
  -D binddn  bind DN
  -e [!]<ext>[=<extparam>] general extensions (! indicates criticality)
             [!]assert=<filter>     (RFC 4528; a RFC 4515 Filter string)
             [!]authzid=<authzid>   (RFC 4370; "dn:<dn>" or "u:<user>")
             [!]bauthzid            (RFC 3829)
             [!]chaining[=<resolveBehavior>[/<continuationBehavior>]]
                     one of "chainingPreferred", "chainingRequired",
                     "referralsPreferred", "referralsRequired"
             [!]manageDSAit         (RFC 3296)
             [!]noop
             ppolicy
             [!]postread[=<attrs>]  (RFC 4527; comma-separated attr list)
             [!]preread[=<attrs>]   (RFC 4527; comma-separated attr list)
             [!]relax
             [!]sessiontracking[=<username>]
             abandon, cancel, ignore (SIGINT sends abandon/cancel,
             or ignores response; if critical, doesn't wait for SIGINT.
             not really controls)
  -H URI     LDAP Uniform Resource Identifier(s)
  -I         use SASL Interactive mode
  -n         show what would be done but don't actually do it
  -N         do not use reverse DNS to canonicalize SASL host name
  -O props   SASL security properties
  -o <opt>[=<optparam>] any libldap ldap.conf options, plus
             ldif_wrap=<width> (in columns, or "no" for no wrapping)
             nettimeout=<timeout> (in seconds, or "none" or "max")
  -Q         use SASL Quiet mode
  -R realm   SASL realm
  -U authcid SASL authentication identity
  -v         run in verbose mode (diagnostics to standard output)
  -V         print version info (-VV only)
  -w passwd  bind password (for simple authentication)
  -W         prompt for bind password
  -x         Simple authentication
  -X authzid SASL authorization identity ("dn:<dn>" or "u:<user>")
  -y file    Read password from file
  -Y mech    SASL mechanism
  -Z         Start TLS request (-ZZ to require successful response)
Options (21)
OptionDescriptionSource
-aPrint the authzID resulting from a successful verification of credentials.help + man
-bPrint the results from the ppolicy control after verification of credentials.help + man
-E sasl=(a[utomatic]|i[nteractive]|q[uietSASL mode (defaults to automatic if any other -E option provided, otherwise none))help
-d levelset LDAP debugging level to `level'help
-D binddnbind DNhelp
-H URILDAP Uniform Resource Identifier(s)help
-IEnable SASL Interactive mode.help + man
-nShow what would be done, but don't actually perform the operation.help + man
-NDo not use reverse DNS to canonicalize SASL host name.help + man
-O propsSASL security propertieshelp
-QEnable SASL Quiet mode.help + man
-R realmSASL realmhelp
-vRun in verbose mode, with many diagnostics written to standard output.help + man
-Vprint version info (-VV only)help
-w passwdbind password (for simple authentication)help
-WPrompt for simple authentication.help + man
-xUse simple authentication instead of SASL.help + man
-y fileRead password from filehelp
-Y mechSASL mechanismhelp
-ZStart TLS request (-ZZ to require successful response)help
-o option-O security-properties (in the manual page but not in --help)man
Examples (1) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.