mc idp ldap disable

The mc idp ldap disable command disables an AD/LDAP provider configuration.

Syntax

The following example disables the default AD/LDAP configuration on the myaistor deployment.

mc idp ldap disable myaistor

The following example disables a named LDAP configuration called partner:

mc idp ldap disable myaistor partner

The command has the following syntax:

mc [GLOBALFLAGS] idp ldap disable ALIAS [NAME]
  • Replace ALIAS with the alias of a MinIO AIStor deployment to disable the AD/LDAP integration.

  • Replace NAME with the optional name of the LDAP configuration to disable. If omitted, disables the default configuration of _.

  • Brackets [] indicate optional parameters.

  • Parameters sharing a line are mutually dependent.

  • Parameters separated using the pipe | operator are mutually exclusive.

Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.

Parameters

ALIAS

Required

The alias of the MinIO AIStor deployment for which to disable the AD/LDAP integration.

For example:

mc idp ldap disable myaistor

NAME

Optional

The name of the LDAP configuration to disable. If omitted, the command disables the default configuration of _.

For example:

mc idp ldap disable myaistor partner

The change takes effect after you restart the deployment:

mc admin service restart myaistor

Global flags

This command supports any of the global flags.

Behavior

S3 compatibility

This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.

On this page