owncloud / owncloud/user_ldap

Local ownCloud Group still has ldap mapping besides the LDAP server configuration was deleted

Open
#31 1 comment 0 reactions 1 assignee View on GitHub

@jvillafanez is already working on this.

Since Jun 29, 2017.

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

Description

Steps to reproduce
  1. Install server 9.1 and configure LDAP
  2. Refresh the admin -> users page
  3. Create ownCloud local group and add LDAP users:
MariaDB [oc]> select * from oc_group_user;
+----------+--------------------+
| gid      | uid                |
+----------+--------------------+
| Carloses | Athanasios_Janik   |
| Carloses | Benjamin_Holzer    |
| Carloses | Bertha_Gruner      |
| Carloses | Brandi_Dengler     |
| Carloses | Carola_Klages      |
| Carloses | Caterina_Thielen   |
| Carloses | Charles_Reinhard   |
| Carloses | Cindy_Diefenbach   |
| Carloses | Dirk_Mewes         |
| Carloses | Ellen_Arnold       |
| Carloses | Ellinor_Koppe      |
| Carloses | Ercan_Gerhards     |
| Carloses | Ernst-August_Flach |
| admin    | admin              |
+----------+--------------------+
  1. Delete LDAP configuration
  2. Run cron.php
  3. Users are still in the database table.
Expected behaviour

Users are deleted from the group after deleting

Actual behaviour

Users are still in the database table oc_group_user and displayed in the user interface:

MariaDB [oc]> select * from oc_group_user;
+----------+--------------------+
| gid      | uid                |
+----------+--------------------+
| Carloses | Athanasios_Janik   |
| Carloses | Benjamin_Holzer    |
| Carloses | Bertha_Gruner      |
| Carloses | Brandi_Dengler     |
| Carloses | Carola_Klages      |
| Carloses | Caterina_Thielen   |
| Carloses | Charles_Reinhard   |
| Carloses | Cindy_Diefenbach   |
| Carloses | Dirk_Mewes         |
| Carloses | Ellen_Arnold       |
| Carloses | Ellinor_Koppe      |
| Carloses | Ercan_Gerhards     |
| Carloses | Ernst-August_Flach |
| admin    | admin              |
+----------+--------------------+

screenshot from 2016-08-09 18 30 11

Server configuration

ownCloud version: (see ownCloud admin page)
9.1.

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.