Local ownCloud Group still has ldap mapping besides the LDAP server configuration was deleted
Open
@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
- Install server 9.1 and configure LDAP
- Refresh the admin -> users page
- 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 |
+----------+--------------------+
- Delete LDAP configuration
- Run cron.php
- 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 |
+----------+--------------------+

Server configuration
ownCloud version: (see ownCloud admin page)
9.1.
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.