{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/7483","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/7483/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/7483/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/7483/events","html_url":"https://github.com/owncloud/core/issues/7483","id":28530541,"number":7483,"title":"bogus \"ldap UUID attr reset to autodetect\" log message?","user":{"login":"moscicki","id":621965,"avatar_url":"https://avatars.githubusercontent.com/u/621965?v=3","gravatar_id":"","url":"https://api.github.com/users/moscicki","html_url":"https://github.com/moscicki","followers_url":"https://api.github.com/users/moscicki/followers","following_url":"https://api.github.com/users/moscicki/following{/other_user}","gists_url":"https://api.github.com/users/moscicki/gists{/gist_id}","starred_url":"https://api.github.com/users/moscicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moscicki/subscriptions","organizations_url":"https://api.github.com/users/moscicki/orgs","repos_url":"https://api.github.com/users/moscicki/repos","events_url":"https://api.github.com/users/moscicki/events{/privacy}","received_events_url":"https://api.github.com/users/moscicki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:user_ldap","name":"app:user_ldap","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/11","html_url":"https://github.com/owncloud/core/milestones/backlog","labels_url":"https://api.github.com/repos/owncloud/core/milestones/11/labels","id":697149,"number":11,"title":"backlog","description":"","creator":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"open_issues":656,"closed_issues":224,"state":"open","created_at":"2014-06-20T19:52:03Z","updated_at":"2016-03-01T22:22:21Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-02-28T20:25:39Z","updated_at":"2016-03-01T22:22:21Z","closed_at":"2016-03-01T22:22:21Z","body":"Hello,\r\n\r\nI have specified UUID Attribute in the Expert tab and the ldap app config is:\r\n\r\n<pre>\r\nmysql> select * from oc_appconfig;\r\n...\r\n| user_ldap              | ldap_uuid_attribute               | auto                                    |\r\n| user_ldap              | ldap_expert_uuid_attr             | cn                                      |\r\n</pre>\r\n\r\nLDAP works fine and user mapping is as expected but I am getting this message in the log:\r\n{\"app\":\"user_ldap\",\"message\":\"Illegal value for the UUID Attribute, reset to autodetect.\",\"level\":1,\"time\":\"2014-02-28T21:09:02+01:00\"}\r\n\r\nThat's puzzling because the code seems to use ldap_uuid_attribute:\r\n\r\n<pre>\r\n[root@cbox09 config]# cat -n /var/www/html/owncloud-enterprise/apps/user_ldap/lib/connection.php | grep -B 4 Illegal\r\n   466\t\t\tif(!in_array($this->config['ldapUuidAttribute'], $uuidAttributes)\r\n   467\t\t\t\t&& (!is_null($this->configID))) {\r\n   468\t\t\t\t\\OCP\\Config::setAppValue($this->configID, $this->configPrefix.'ldap_uuid_attribute', 'auto');\r\n   469\t\t\t\t\\OCP\\Util::writeLog('user_ldap',\r\n   470\t\t\t\t\t'Illegal value for the UUID Attribute, reset to autodetect.',\r\n</pre>\r\n\r\nHowever there are places where ldap_uuid_attribute is reset:\r\n<pre>\r\n/var/www/html/owncloud-enterprise/apps/user_ldap/lib/connection.php:\t\t\t$this->config['ldapUuidAttribute'] = $this->config['ldapExpertUUIDAttr'];\r\n</pre>\r\n\r\nI would think that the log message is bogus and should not be worrying. Could you confirm?\r\n\r\n"}}