This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 5fefc5785c6 [fix](auth)ldap set passwd need forward to master (#36436)
(#37130)
5fefc5785c6 is described below
commit 5fefc5785c68a55cfd1dae2e142c3c9a507475d4
Author: zhangdong <[email protected]>
AuthorDate: Tue Jul 2 23:02:53 2024 +0800
[fix](auth)ldap set passwd need forward to master (#36436) (#37130)
pick: https://github.com/apache/doris/pull/36436
---
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: [email protected]
For additional commands, e-mail: [email protected]