You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by xu...@apache.org on 2022/10/18 10:53:18 UTC

[doris] branch master updated: [Fix](docs) fix error description of `LDAP_ADMIN_PASSWORD` in the document (#13405)

This is an automated email from the ASF dual-hosted git repository.

xuyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new a8fd76fe32 [Fix](docs) fix error description of `LDAP_ADMIN_PASSWORD` in the document (#13405)
a8fd76fe32 is described below

commit a8fd76fe32668c2aacbc68a3d43e899840e7476b
Author: luozenglin <37...@users.noreply.github.com>
AuthorDate: Tue Oct 18 18:53:10 2022 +0800

    [Fix](docs) fix error description of `LDAP_ADMIN_PASSWORD` in the document (#13405)
    
    co-author:@luozenglin
---
 docs/en/docs/admin-manual/privilege-ldap/ldap.md                   | 2 +-
 .../sql-manual/sql-reference/Account-Management-Statements/LDAP.md | 6 +++---
 docs/zh-CN/docs/admin-manual/privilege-ldap/ldap.md                | 2 +-
 .../sql-manual/sql-reference/Account-Management-Statements/LDAP.md | 7 +++----
 4 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/docs/en/docs/admin-manual/privilege-ldap/ldap.md b/docs/en/docs/admin-manual/privilege-ldap/ldap.md
index 3e9c2a41b3..a5289aaf09 100644
--- a/docs/en/docs/admin-manual/privilege-ldap/ldap.md
+++ b/docs/en/docs/admin-manual/privilege-ldap/ldap.md
@@ -74,7 +74,7 @@ You need to configure the LDAP basic information in the fe/conf/ldap.conf file,
 #### Set the LDAP administrator password:
 After configuring the ldap.conf file, start fe, log in to Doris with the root or admin account, and execute sql:  
 ```sql
-set ldap_admin_password = 'ldap_admin_password';
+set ldap_admin_password = password('ldap_admin_password');
 ```
 
 ### Client-side configuration  
diff --git a/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md b/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md
index 74a86af409..3e0da6f0a2 100644
--- a/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md
+++ b/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md
@@ -35,7 +35,7 @@ LDAP
 SET LDAP_ADMIN_PASSWORD
 
 ```sql
-  SET LDAP_ADMIN_PASSWORD = 'plain password'
+  SET LDAP_ADMIN_PASSWORD = PASSWORD('plain password')
 ````
 
   The SET LDAP_ADMIN_PASSWORD command is used to set the LDAP administrator password. When using LDAP authentication, doris needs to use the administrator account and password to query the LDAP service for login user information.
@@ -45,11 +45,11 @@ SET LDAP_ADMIN_PASSWORD
 1. Set the LDAP administrator password
 
 ```sql
-SET LDAP_ADMIN_PASSWORD = '123456'
+SET LDAP_ADMIN_PASSWORD = PASSWORD('123456')
 ````
 
 ### Keywords
 
-     LDAP
+     LDAP, PASSWORD, LDAP_ADMIN_PASSWORD
 
 ### Best Practice
diff --git a/docs/zh-CN/docs/admin-manual/privilege-ldap/ldap.md b/docs/zh-CN/docs/admin-manual/privilege-ldap/ldap.md
index feba8f37a4..2af0f67386 100644
--- a/docs/zh-CN/docs/admin-manual/privilege-ldap/ldap.md
+++ b/docs/zh-CN/docs/admin-manual/privilege-ldap/ldap.md
@@ -78,7 +78,7 @@ LDAP组授权是将LDAP中的group映射到Doris中的Role,如果用户在LDAP
 配置好ldap.conf文件后启动fe,使用root或admin账号登录Doris,执行sql:
 
 ```sql
-set ldap_admin_password = 'ldap_admin_password';
+set ldap_admin_password = password('ldap_admin_password');
 ```
 
 ### Client端配置
diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md b/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md
index 9a2b1429ad..0ca4c4cd62 100644
--- a/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md
+++ b/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/LDAP.md
@@ -35,7 +35,7 @@ LDAP
 SET LDAP_ADMIN_PASSWORD
 
 ```sql
- SET LDAP_ADMIN_PASSWORD = 'plain password'
+ SET LDAP_ADMIN_PASSWORD = PASSWORD('plain password')
 ```
 
  SET LDAP_ADMIN_PASSWORD 命令用于设置LDAP管理员密码。使用LDAP认证时,doris需使用管理员账户和密码来向LDAP服务查询登录用户的信息。
@@ -44,12 +44,11 @@ SET LDAP_ADMIN_PASSWORD
 
 1. 设置LDAP管理员密码
 ```sql
-SET LDAP_ADMIN_PASSWORD = '123456'
+SET LDAP_ADMIN_PASSWORD = PASSWORD('123456')
 ```
 
 ### Keywords
 
-    LDAP
+    LDAP, PASSWORD, LDAP_ADMIN_PASSWORD
 
 ### Best Practice
-


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org