user_ldap icon indicating copy to clipboard operation
user_ldap copied to clipboard

Bug in configuration active settings

Open Akidxx opened this issue 5 years ago • 1 comments

Steps to reproduce

1.Configure ldap server 1 in the owncloud ldap settings 2.Configure a different ldap server 2 in the owncloud ldap settings to which you cannot establish the connection with 3.Make sure the configuration active is deactivated for the server to which you cannot establish a connection with 4.Run the command line occ user:sync "OCA\User_LDAP\User_Proxy" to sync the users

Expected behaviour

The occ user:sync command should run without error

Actual behaviour

The occ user:sync command is returning an error


In Connection.php line 532:
                                                  
[OCA\User_LDAP\Exceptions\BindFailedException] 

When deactivating the configuration active for the server to which you cannot establish a connection with, the error disappears.

Screenshot from 2020-12-10 13-51-16

ownCloud version: 10.5.0 LDAP Integration app version: 0.15.2

Bug reproduced by me

Akidxx avatar Dec 10 '20 12:12 Akidxx

Reproducer step 3 appears to be identical to the setting that avoids the issue: "Make sure the configuration active is deactivated ..." -- "When deactivating the configuration active ..."

Is there a typo somewhere?

jnweiger avatar Jul 13 '21 12:07 jnweiger