Back to Influxdb

influxd-ctl ldap verify

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

latest1.3 KB
Original Source

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

Usage

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

Arguments

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

Flags {#command-flags}

FlagDescription
-ldap-configLDAP 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

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

Verify LDAP authentication using the server configuration

sh
influxd-ctl ldap verify username passw0rd