docs-v2/content/enterprise_influxdb/v1/tools/influxd-ctl/ldap/verify.md

1.6 KiB

title description menu
influxd-ctl ldap verify The `influxd-ctl ldap verify` command attempts to connect to and authenticate with LDAP using the specified credentials and outputs a verbose log.
enterprise_influxdb_v1
parent
influxd-ctl ldap

The influxd-ctl ldap verify command attempts to connect to and authenticate with LDAP using the specified credentials and outputs a verbose log.

Usage

influxd-ctl ldap verify [flags] <username> <password>

Arguments

  • username: Username to authenticate with
  • password: Password to authenticate with

Flags

Flag Description
-ldap-config LDAP configuration filepath (use - to read from stdin)

{{% note %}} If -ldap-config is not provided, the command uses the LDAP configuration stored on the server. {{% /note %}}

Also see influxd-ctl global flags.

Examples

Verify LDAP authentication using a local configuration

influxd-ctl ldap verify -ldap-config /path/to/ldap-config.toml username passw0rd

Verify LDAP authentication using the server configuration

influxd-ctl ldap verify username passw0rd