You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2024/06/20 06:42:00 UTC
(doris) branch master updated: [fix](auth)ldap set passwd need forward to master (#36436)
This is an automated email from the ASF dual-hosted git repository.
morningman 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 c0f2fc18fb1 [fix](auth)ldap set passwd need forward to master (#36436)
c0f2fc18fb1 is described below
commit c0f2fc18fb1328e452da19dd6befb978e5999d84
Author: zhangdong <49...@qq.com>
AuthorDate: Thu Jun 20 14:41:53 2024 +0800
[fix](auth)ldap set passwd need forward to master (#36436)
ldap set passwd need forward to master
---
fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java
index 5e0d0f9105c..3c6d938026f 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java
@@ -91,7 +91,7 @@ public class SetStmt extends StatementBase {
public RedirectStatus getRedirectStatus() {
if (setVars != null) {
for (SetVar var : setVars) {
- if (var instanceof SetPassVar) {
+ if (var instanceof SetPassVar || var instanceof SetLdapPassVar) {
return RedirectStatus.FORWARD_WITH_SYNC;
} else if (var.getType() == SetType.GLOBAL) {
return RedirectStatus.FORWARD_WITH_SYNC;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org