mirror of
https://github.com/minio/docs.git
synced 2025-08-05 03:41:24 +03:00
Improve the AD/LDAP reference docs: - Break up `mc idp ldap` and `mc idp ldap policy` into parents/children. - Add commands from the `identity_ldap` configuration key to `mc idp ldap add` and `mc idp ldap update`. - Update links from relevant envvars to `mc idp ldap` instead of `identity_ldap` - Fix stuff that needs fixing. Staged: http://192.241.195.202:9000/staging/DOCS-919-4-idp-ldap/linux/html/reference/minio-mc/mc-idp-ldap.html http://192.241.195.202:9000/staging/DOCS-919-4-idp-ldap/linux/html/reference/minio-mc/mc-idp-ldap-policy.html Fixes https://github.com/minio/docs/issues/940 --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
3.1 KiB
3.1 KiB
mc idp ldap add
minio
Table of Contents
mc idp ldap add
Description
The mc idp ldap add
command creates an AD/LDAP IDP server configuration.
MinIO supports no more than one (1) AD/LDAP provider per deployment.
EXAMPLE
The following example sets the AD/LDAP configuration settings for the
myminio
deployment.
mc idp ldap add \
myminio \
server_addr=myldapserver:636 \
lookup_bind_dn=cn=admin,dc=min,dc=io \
lookup_bind_password=somesecret \
user_dn_search_base_dn=dc=min,dc=io \
user_dn_search_filter="(uid=%s)" \
group_search_base_dn=ou=swengg,dc=min,dc=io \
group_search_filter="(&(objectclass=groupofnames)(member=%d))"
SYNTAX
The command has the following syntax:
mc [GLOBALFLAGS] idp ldap add \
ALIAS \
[CFG_PARAM1] \
[CFG_PARAM2]...
- Replace
ALIAS
with thealias <alias>
of a MinIO deployment to create for AD/LDAP integration. - Replace the
[CFG_PARAM#]
with each of theconfiguration setting <minio-ldap-config-settings>
key-value pairs in the format ofPARAMETER="value"
.
Parameters
ALIAS
The alias <alias>
of the MinIO deployment on which
to add an AD/LDAP integration.
For example:
mc idp ldap add myminio \
server_addr=myldapserver:636 \
lookup_bind_dn=cn=admin,dc=min,dc=io \
lookup_bind_password=somesecret \
user_dn_search_base_dn=dc=min,dc=io \
user_dn_search_filter="(uid=%s)" \