Problems changing username in LDAP


I've correctly configured LDAP to authenticate users on an AD. All works well.
I've now changed a username in the AD. The user is able to login, but is not able to see any file and the shared calendars are not shown anymore.
How can I debug and test?

I've tried to delete the user as well but I get:

User A40D074C-C3C2-4FA6-91AC-0F01891C2F4D is not marked as deleted, not cleaning up.

Server configuration
Operating system: CentOS Linux release 7.2.1511
Web server: Apache/2.4.6
Database: MySQL 5.5
PHP version: PHP 7.0.10
ownCloud version (see ownCloud admin page): 9.1
Updated from an older ownCloud or fresh install: fresh

Ok, sorry. There was a local caching problem. Also, solved