Can't sync LDAP if there is no active configuration
Open
@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
- Enable LDAP and create a new configuration
- Sync the users
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.