Owncloud 5.0.0 LDAP UUID Displaying instead of owncloud_name
I raised this on the forum - http://forum.owncloud.org/viewtopic.php?f=23&t=9008
LDAP Authentication display names.
The LDAP logins to Owncloud work fine using uid or sAMAccountname or whatever is configured in the LDAP settings, but if you log in as an admin and view the users, It's showing the "Login Name" as the UUID from the DB (rather than the owncloud_name field).
I'm testing with MySQL only.
Also, the data directories (on the filesystem) are also showing as the UUIDs rather than the owncloud_name by default.
/var/www/blah/owcloud/data/UUID/files rather than /var/www/blah/owncloud/data/owncloud_name/files
This data directory issue can be fixed by adding cn into the LDAP Advanced Configuration --> Special Attributes --> User Home Folder Naming Rule but I'm pretty sure, by default, it should be set to whatever owncloud_name is.
Thanks
@blizzz
Yes, the column reads "login name" what for LDAP users is "internal name". This is already known to us, however.
The behaviour with data directories is intended. If you want to it different you can override the settings just as you described.
@blizzz,
Apoligies for re-openning this but i have seen something that i wanted to share here.. There seems to be inconsistency with the External Storage Applicants. Whenever you try to add an entry to External Storage, and pull up the list of Applicants, it displays the UUID under Users.. Looking at the database, it pulls the values from oc_ldap_user_mapping table, owncloud_name field. And looking at the contents, owncloud_name seems to be the UUID/entryUUID (OpenLDAP). Is there a way to modify this mapping so that owncloud_name pulls the values from UID attribute, instead of UUID/entryUUID?
Seems to be the same issue for CalDav/CardDav-Links, e.g.:
https://ADDRESS/remote.php/caldav/calendars/USERNAME/CALENDARNAME is now https://ADDRESS/remote.php/caldav/calendars/UUID/CALENDARNAME
@blizzz Is this really intended? How can I fix/override it in this case?
@hellsy the Display name should show up there, not the internal name. It is a bug in files_external. I believe it was also reported already, however i don't have the issue number at hand.
@bastla it is intended and a override not possible atm. Likely that we get the possibility during the next maintenance releases.
@blizzz any ETA on these next maintenance releases?
Some days probably, but without override option yet.
Last days the release 5.0.6 came out. In the release information we find: - "Fix UUID handling with LDAP" What does this mean? Was not fixed?
Problem is still: https://ADDRESS/remote.php/caldav/calendars/UUIDSJFJSJ-DJFDHJDW-DJDWJWJW-JJS/CALENDARNAME
Just installed the 5.0.7 pre release to check if caldav urls are still using UUIDs: Yes, still UUID instead of loginname (or something else a human can remember).
Please go to the admin section, Expert settings and read the explanation.
@blizzz I'm not sure which "Expert settings" you're meaning. Do you mean the "Advanced" LDAP settings?
That's new in 5.0.7. But maybe it did not do it for the pre-release, but will be then in the coming RC. Nevertheless it will not disappear by itself.
@blizzz Ok. I'll wait for the RC then. Thanks.
With 5.0.7. RC1 it's possible to change the internal username attribute (e.g. to something like uid). This allows the generation of nice calendar URLs. At least for me this bug is fixed with RC1. Thanks!
Followed the resolution suggestion, added cn in LDAP settings and its still using UUID instead of user names.
@o--- did you read also the part "Changes will have effect only on newly mapped (added) LDAP users."?
Yes, realized that. So? What's the fix? Dňa 4.11.2013 12:54 používateľ "blizzz" [email protected] napísal:
@o--- https://github.com/o--- did you read also the part "Changes will have effect only on newly mapped (added) LDAP users."?
— Reply to this email directly or view it on GitHubhttps://github.com/owncloud/core/issues/2297#issuecomment-27679984 .
There is no rename functionality in ownCloud. You would need to change the username manually everywhere it occurs in the database. Also the user folder in data/ if you did not specify something else in home folder naming rule.
Thanks. Appreciated. I figured that out already. I like when things work out of the box. OC has implemented a fancy ldap solution, however vasic things are not working. Too bad. Dňa 8.11.2013 12:14 používateľ "blizzz" [email protected] napísal:
There is no rename functionality in ownCloud. You would need to change the username manually everywhere it occurs in the database. Also the user folder in data/ if you did not specify something else in home folder naming rule.
— Reply to this email directly or view it on GitHubhttps://github.com/owncloud/core/issues/2297#issuecomment-28055821 .
I'm sorry to revive an old "fix", but how/where can i change the name of the users that were created with the UUID? Every new user gets its name just fine, but i still have a couple UUIDs left. removing them didn't work, and i haven't found anything else. Thanks!