Hi,seems that this was the wrong place. Owncloud still used the UUID for the user directory. Meanwhile I have changed line 431 in user_ldap/lib/connection.php from
if(!in_array($this->config['ldapUuidAttribute'], array('auto', 'entryuuid', 'nsuniqueid', 'objectguid'))
to if(!in_array($this->config['ldapUuidAttribute'], array('uid')) and line 895 in user_ldap/lib/connection.php from $testAttributes = array('entryuuid', 'nsuniqueid', 'objectguid'); to $testAttributes = array('uid'); Now OC only uses the uid for the users and the directories.
You can patch it yourself by replacing the line https://github.com/owncloud/core/blob/master/apps/user_ldap/lib/access.php#L317 with $intname = $isUser ? $this->sanitizeUsername($this->readAttribute($dn, 'uid')) : $this->sanitizeUsername($ldapname);Great! I didn't know that this is that simple. I'll give it a try.
Dirk
smime.p7s
Description: S/MIME Kryptografische Unterschrift
_______________________________________________ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud