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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]