core icon indicating copy to clipboard operation
core copied to clipboard

ownCloud 5.0.6: User LDAP Does Not Show Login Name, rather a UUID

Open MTRichards opened this issue 13 years ago • 8 comments

configured ownCloud to connect to LDAP/ AD, out the other side the username looks like a UUID instead. See attached.

Running ubuntu 12.04, using chrome on windows 7. untitled15

MTRichards avatar May 21 '13 22:05 MTRichards

I see this same problem - but only on one of our newer users. It may have already occurred with 5.0.5 because the user was created before I upgraded to 5.0.6. The other users still have normal user names.

jonathanvaughn avatar May 22 '13 23:05 jonathanvaughn

This is not a bug, UUID is used to make sure internal usernames that OC uses for several purposes are guaranteed to be unique. Your problem can be easily solved by using the "User display name" field in the LDAP settings. But there are other uses for the internal username (user home path, DAV links etc) so there is a pull request ( #3302 ) to enable the admin to use another LDAP attrib instead of the UUID (like uid), but then it is his/her responsibility to make sure it is unique. This is likely to be backported to 5.x soon.

torlasz avatar May 23 '13 06:05 torlasz

@blizzz Would love your input.

MTRichards avatar May 23 '13 11:05 MTRichards

@MTRichards see @torlasz answer

blizzz avatar May 24 '13 09:05 blizzz

Sorry, I was actually wrong in my previous comment saying: "Your problem can be easily solved by using the "User display name" field in the LDAP settings." The rest is ok. The backport of pull request I referred to got included in the 5.x branch. So the next version of OC (5.0.7) will take care of your problem, and all the others I mentioned.

torlasz avatar May 26 '13 07:05 torlasz

Hi, I had the same problem. Solved it by adding the uid of uid=%uid to the expert page of settings in LDAP. That is in "Override UUID detection" UUID Attribute: uid (or the value you have chosen to use). Now I only have the problem that my users can't login anyway even though the user accounts look as they should.

rabbadabb avatar Jul 18 '13 14:07 rabbadabb

@rabbadabb The login name is not the login name! How LDAP users login is defined in the login filter in the LDAP settings.

blizzz avatar Jul 18 '13 18:07 blizzz

@MTRichards btw, I think we can close it?

blizzz avatar Jul 18 '13 18:07 blizzz