Unable to delete user

filesystem
user_management
ldap
9.1.x

#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1a. Log in as administrator
1b. Blick on Users section
1c. Try to delete any LDAP based useraccount

or

  1. run occ command with "user:delete " to remove user

Expected behaviour
The useraccount and ist data Folders Content should be gone

Actual behaviour.
The user is removed from userlist but after 5 seconds a popup showing an "unable to remove user" error. Same when trying from command line. "The specified user could not be deleted. Please check the logs". owncloud.log seems to have no entries. LDAP itself is fully operational and logging in to owncloud is working.
Seems that currently no owncloud userprofile can be deleted at all.

Server configuration
Operating system: Ubuntu 14.04 LTS, latest release
Web server: Apache2 (buildin)
Database: MySQL (buildin)
PHP version: (buildin)
ownCloud version (see ownCloud admin page): 9.1.5.2
Updated from an older ownCloud or fresh install: original Installation comes from 5.x
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): No

ownCloud configuration

Go to the admin page, click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' or use the command line `sudo -u www-data php occ config:list system` (please sanitize sensitive data):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

#2

As an owncloud administrator you can't delete LDAP users. Only an LDAP admin can do this.