-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log switching to LDAP backup host because main one is not available #35230
Conversation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@blizzz Should that be warning? It’s an important information that main LDAP server is not reachable. |
} | ||
|
||
//if LDAP server is not reachable, try the Backup (Replica!) Server | ||
if ($isBackupHost || $isOverrideMainServer) { | ||
$this->doConnect($this->configuration->ldapBackupHost, | ||
$this->configuration->ldapBackupPort); | ||
$this->configuration->ldapBackupPort); |
Check notice
Code scanning / Psalm
PossiblyNullArgument
@@ -681,8 +687,8 @@ | |||
} | |||
|
|||
$ldapLogin = @$this->ldap->bind($cr, | |||
$this->configuration->ldapAgentName, | |||
$this->configuration->ldapAgentPassword); | |||
$this->configuration->ldapAgentName, |
Check notice
Code scanning / Psalm
PossiblyNullArgument
$this->configuration->ldapAgentName, | ||
$this->configuration->ldapAgentPassword); | ||
$this->configuration->ldapAgentName, | ||
$this->configuration->ldapAgentPassword); |
Check notice
Code scanning / Psalm
PossiblyNullArgument
Ideally this is also noticed elsewhere, but upping it to Warning sounds good to me. |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Drone failure is not related. |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
CI failure unrelated |
/backport to stable25 |
/backport to stable24 |
/backport to stable23 |
The backport to stable25 failed. Please do this backport manually. |
The backport to stable24 failed. Please do this backport manually. |
The backport to stable23 failed. Please do this backport manually. |
Signed-off-by: Côme Chilliet come.chilliet@nextcloud.com