Skip to content

Commit

Permalink
Document support for insecure LDAP connection
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-walkiewicz authored and dain committed Sep 17, 2020
1 parent 9ccc78f commit 42f7ac5
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions presto-docs/src/main/sphinx/security/ldap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ Presto Server Configuration
Environment Configuration
^^^^^^^^^^^^^^^^^^^^^^^^^

Secure LDAP
~~~~~~~~~~~

Presto requires Secure LDAP (LDAPS), so make sure you have TLS
enabled on your LDAP server.

Presto Coordinator Node Configuration
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -95,8 +89,12 @@ Password authentication needs to be configured to use LDAP. Create an
======================================================= ======================================================
Property Description
======================================================= ======================================================
``ldap.url`` The url to the LDAP server. The url scheme must be
``ldaps://`` since Presto allows only Secure LDAP.
``ldap.url`` The URL to the LDAP server. The URL scheme must be
``ldap://`` or ``ldaps://``. Connecting to the LDAP
server without SSL enabled requires
``ldap.allow-insecure=true``.
``ldap.allow-insecure`` Allow using an LDAP connection that is not secured with
TLS.
``ldap.ssl-trust-certificate`` The path to the PEM encoded trust certificate for the
LDAP server. This file should contain the LDAP
server's certificate or its certificate authority.
Expand Down Expand Up @@ -282,7 +280,7 @@ Option Description
``--server`` The address and port of the Presto coordinator. The port must
be set to the port the Presto coordinator is listening for HTTPS
connections on. Presto CLI does not support using ``http`` scheme for
the url when using LDAP authentication.
the URL when using LDAP authentication.
``--keystore-path`` The location of the Java Keystore file that will be used
to secure TLS.
``--keystore-password`` The password for the keystore. This must match the
Expand Down

0 comments on commit 42f7ac5

Please sign in to comment.