Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Nov 28, 2022

Manual backport of #35230

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc added this to the Nextcloud 25.0.3 milestone Nov 28, 2022
@come-nc come-nc self-assigned this Nov 28, 2022
if ($isBackupHost || $isOverrideMainServer) {
$this->doConnect($this->configuration->ldapBackupHost,
$this->configuration->ldapBackupPort);
$this->configuration->ldapBackupPort);

Check notice

Code scanning / Psalm

PossiblyNullArgument

Argument 2 of OCA\User_LDAP\Connection::doConnect cannot be null, possibly null value provided
$ldapLogin = @$this->ldap->bind($cr,
$this->configuration->ldapAgentName,
$this->configuration->ldapAgentPassword);
$this->configuration->ldapAgentName,

Check notice

Code scanning / Psalm

PossiblyNullArgument

Argument 2 of OCA\User_LDAP\ILDAPWrapper::bind cannot be null, possibly null value provided
$this->configuration->ldapAgentName,
$this->configuration->ldapAgentPassword);
$this->configuration->ldapAgentName,
$this->configuration->ldapAgentPassword);

Check notice

Code scanning / Psalm

PossiblyNullArgument

Argument 3 of OCA\User_LDAP\ILDAPWrapper::bind cannot be null, possibly null value provided
@come-nc come-nc added 3. to review Waiting for reviews enhancement labels Dec 8, 2022
@come-nc come-nc requested review from a team, PVince81, blizzz and icewind1991 and removed request for a team December 8, 2022 16:21
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

won't the pollute the log though to have it as "warning" instead of "debug" ?

@PVince81 PVince81 requested a review from artonge December 16, 2022 16:04
@come-nc
Copy link
Contributor Author

come-nc commented Dec 20, 2022

+1

won't the pollute the log though to have it as "warning" instead of "debug" ?

Indeed, maybe we should not backport then, as this fits better with #35839 , but this one depends on #35229
Or should we backport all of them?

@skjnldsv skjnldsv mentioned this pull request Jan 6, 2023
5 tasks
@skjnldsv
Copy link
Member

skjnldsv commented Jan 6, 2023

Indeed, maybe we should not backport then, as this fits better with #35839 , but this one depends on #35229
Or should we backport all of them?

Closing then?

@come-nc
Copy link
Contributor Author

come-nc commented Jan 10, 2023

Yeah closing, it’s nitpick anyway.

@come-nc come-nc closed this Jan 10, 2023
@skjnldsv skjnldsv deleted the backport/35230/stable25 branch March 14, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants