Skip to content

Bug in configuration active settings #606

@Akidxx

Description

@Akidxx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions