owncloud / owncloud/user_ldap

Can't sync LDAP if there is no active configuration

Open
#95 6 comments 0 reactions 1 assignee View on GitHub

@jvillafanez is already working on this.

Since Jun 26, 2017.

bug p3-medium QA:known sev3-medium
Dominant language
PHP
Stars
17
Forks
19
Avg merge
11h 40m
Merged PRs (30d)
2

Description

Steps to reproduce
  1. Enable LDAP and create a new configuration
  2. Sync the users
  3. Disable the configuration
Expected behaviour

????

Current behaviour

It's not possible to sync the backend and it's not possible delete or disable those accounts from the user:sync command. You need to do it manually, one by one.

user:sync is failing (note that the app is enabled):

$ sudo -u www-data ./occ user:sync 'OCA\User_LDAP\User_Proxy'

The backend <OCA\User_LDAP\User_Proxy> does not exist. Did you miss to enable the app?

This is happening when there is no configuration active, which is kind of expected because the backend isn't registered, but we might need to provide something to remove those accounts.

@felixboehm @DeepDiver1975

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.