Skip to content
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

Bug in configuration active settings #606

Open
Akidxx opened this issue Dec 10, 2020 · 1 comment
Open

Bug in configuration active settings #606

Akidxx opened this issue Dec 10, 2020 · 1 comment

Comments

@Akidxx
Copy link

Akidxx commented Dec 10, 2020

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 Akidxx changed the title "BindFailedException" error when running the occ user:sync "OCA\User_LDAP\User_Proxy Bug in configuration active settings Dec 10, 2020
@jnweiger
Copy link
Contributor

jnweiger commented Jul 13, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants