mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
Remove sts_expiry, username_format; add srv_record_name (#947)
Remove long-gone LDAP settings and add docs for a recent one. Gone: - `sts_expiry`, `MINIO_IDENTITY_LDAP_STS_EXPIRY` - `username_format`, `MINIO_IDENTITY_LDAP_USERNAME_FORMAT` - Username-Bind mode Related code change: https://github.com/minio/minio/pull/13165 Recent: - `srv_record_name` for lookup via DNS SVR records Added in https://github.com/minio/minio/pull/16201 RELEASE.2022-12-12T19-27-27Z Staged: http://192.241.195.202:9000/staging/DOCS-919-2-svc-record/linux/html/reference/minio-server/minio-server.html#envvar.MINIO_IDENTITY_LDAP_SRV_RECORD_NAME http://192.241.195.202:9000/staging/DOCS-919-2-svc-record/linux/html/reference/minio-mc-admin/mc-admin-config.html#mc-conf.identity_ldap.srv_record_name
This commit is contained in:
@ -167,20 +167,6 @@ Specify the hostname for the Active Directory / LDAP server. For example:
|
||||
|
||||
.. end-minio-ad-ldap-server-addr
|
||||
|
||||
.. start-minio-ad-ldap-sts-expiry
|
||||
|
||||
Specify the duration for which the credentials are valid as ``<int><unit>``.
|
||||
Valid time units are as follows:
|
||||
|
||||
- ``s`` - seconds.
|
||||
- ``m`` - minutes.
|
||||
- ``h`` - hours.
|
||||
- ``d`` - days
|
||||
|
||||
The default is ``1h`` or 1 hour.
|
||||
|
||||
.. end-minio-ad-ldap-sts-expiry
|
||||
|
||||
.. start-minio-ad-ldap-lookup-bind-dn
|
||||
|
||||
Specify the Distinguished Name (DN) for an AD/LDAP account MinIO uses when
|
||||
@ -226,26 +212,6 @@ username into the search string. For example:
|
||||
|
||||
.. end-minio-ad-ldap-user-dn-search-filter
|
||||
|
||||
.. start-minio-ad-ldap-username-format
|
||||
|
||||
Specify a comma-separated list of Distinguished Name templates used for
|
||||
querying the AD/LDAP server. MinIO attempts to login to the AD/LDAP server
|
||||
by applying the user credentials specified by the authenticating client to
|
||||
each DN template.
|
||||
|
||||
Use the ``%s`` substitution character to insert the client-specified username
|
||||
into the search string. For example:
|
||||
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
uid=%s,cn=miniousers,dc=myldapserver,dc=net,userPrincipalName=%s,cn=miniousers,dc=myldapserver,dc=net
|
||||
|
||||
MinIO uses the *first* DN template that results in successful login to
|
||||
perform a group lookup for that user.
|
||||
|
||||
.. end-minio-ad-ldap-username-format
|
||||
|
||||
.. start-minio-ad-ldap-group-search-filter
|
||||
|
||||
Specify an AD/LDAP search filter for performing group lookups for the
|
||||
@ -311,6 +277,47 @@ Defaults to ``off``
|
||||
|
||||
.. end-minio-ad-ldap-server-starttls
|
||||
|
||||
.. start-minio-ad-ldap-srv_record_name
|
||||
|
||||
Specify the appropriate value to enable MinIO to select an AD/LDAP server using a `DNS SRV record <https://ldap.com/dns-srv-records-for-ldap>`__ request.
|
||||
|
||||
When enabled, MinIO selects an AD/LDAP server by:
|
||||
|
||||
- Constructing the target SRV record name following standard naming conventions.
|
||||
- Requesting a list of available AD/LDAP servers.
|
||||
- Choosing an appropriate target based on priority and weight.
|
||||
|
||||
The configuration examples below presume the AD/LDAP server address is set to ``example.com`` and the SRV record protocol is ``_tcp``.
|
||||
|
||||
For SRV record names beginning with ``_ldap``, specify ``ldap``.
|
||||
The constructed DNS SRV record name resembles the following:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
_ldap._tcp.example.com
|
||||
|
||||
For SRV record names with beginning with ``_ldaps``, specify ``ldaps``.
|
||||
The constructed DNS SRV record name resembles the following:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
_ldaps._tcp.example.com
|
||||
|
||||
If your DNS SRV record name uses alternate service or protocol names, specify ``on`` and provide the full record name as your LDAP server address.
|
||||
Example: ``_ldapserver._specialtcp.example.com``
|
||||
|
||||
For more about DNS SRV records, see `DNS SRV Records for LDAP <https://ldap.com/dns-srv-records-for-ldap>`__.
|
||||
|
||||
.. admonition:: Server address for DNS SRV record configurations
|
||||
:class: important
|
||||
|
||||
The specified server name **must not** include a port number.
|
||||
This is different from a standard AD/LDAP configuration, where the port number is required.
|
||||
|
||||
See :mc-conf:`~identity_ldap.server_addr` or :envvar:`MINIO_IDENTITY_LDAP_SERVER_ADDR` for more about configuring an AD/LDAP server address.
|
||||
|
||||
.. end-minio-ad-ldap-srv_record_name
|
||||
|
||||
.. start-minio-ad-ldap-comment
|
||||
|
||||
Specify a comment to associate to the AD/LDAP configuration.
|
||||
|
Reference in New Issue
Block a user