Skip to content

Commit 794e6a0

Browse files
fix: improved version of ldaps docs
1 parent 880cb9a commit 794e6a0

File tree

1 file changed

+9
-3
lines changed
  • versioned_docs/version-4.x/admin-manual/auth/authentication

1 file changed

+9
-3
lines changed

versioned_docs/version-4.x/admin-manual/auth/authentication/ldap.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,23 @@ In LDAP, data is organized in a tree structure. Here's an example of a typical L
4949
```
5050
ldap_authentication_enabled = true
5151
ldap_host = ladp-host
52-
ldap_port = 389 # change it if ldap_use_ssl specified to true as different port (636) is used for LDAPS
52+
# change ldap_port value if ldap_use_ssl specified to true as different port (636) is used for LDAPS
53+
ldap_port = 389
5354
ldap_admin_name = uid=admin,o=emr
5455
ldap_user_basedn = ou=people,o=emr
5556
ldap_user_filter = (&(uid={login}))
5657
ldap_group_basedn = ou=group,o=emr
57-
ldap_use_ssl = true # specify true to switch to secured LDAPS protocol, specify false or comment property to use default behavior with plain LDAP
58+
# specify ldap_use_ssl to true to switch to secured LDAPS protocol, specify false or comment property to use default behavior with plain LDAP
59+
ldap_use_ssl = true
5860
```
5961
6062
> Important for LDAPS:
63+
>
6164
> When `ldap_use_ssl = true`, ensure your LDAP server certificate is trusted by the Doris FE JVM.
62-
> If using a custom or self-signed Certificate Authority (CA), you must configure the Java trustStore. Add the following parameters to JAVA_OPTS in `fe/conf/fe.conf` (adjust the path to your cacerts file):
65+
>
66+
> If using a custom or self-signed Certificate Authority (CA), you must configure the Java trustStore.
67+
>
68+
> Add the following parameters to JAVA_OPTS in `fe/conf/fe.conf` (adjust the path to your cacerts file):
6369
> ```
6470
> # Example for JDK 17
6571
> JAVA_OPTS_FOR_JDK_17 = "-Djavax.net.ssl.trustStore=/path/to/your/cacerts -Djavax.net.ssl.trustStorePassword=changeit ..."

0 commit comments

Comments
 (0)