15/461

## configure-ldap-for-admin

configures the authentication realm named admin-realm for the given LDAP

Synopsis

    configure-ldap-for-admin [--help]

Description

The `configure-ldap-for-admin` subcommand configures the authentication realm named `admin-realm` for the given LDAP. The `configure-ldap-for-admin` subcommand is interactive. The subcommand prompts the user for the `basedn` and `ldap-group` options.

This command is supported in remote mode only.

Options

`--help`
`-?`

  Displays the help text for the subcommand.

Examples

Example 1 Configuring the LDAP Authentication Realm

      asadmin> configure-ldap-for-admin
      Enter the value for the basedn option>
      Enter the value for the ldap-group option>
      The LDAP Auth Realm admin-realm was configured correctly
      in admin server's configuration.

Exit Status

0

  command executed successfully

1

  error in executing the command

See Also

change-admin-password(1), create-auth-realm(1)create-auth-realm(1), list-auth-realms(1)

asadmin(1M)