{"action":"opened","issue":{"url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/67","repository_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports","labels_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/67/comments","events_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/67/events","html_url":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports/issues/67","id":147764353,"number":67,"title":"Issues with SSO using Kerberos in OCS 2.2","user":{"login":"JuergenWeber","id":13195740,"avatar_url":"https://avatars.githubusercontent.com/u/13195740?v=3","gravatar_id":"","url":"https://api.github.com/users/JuergenWeber","html_url":"https://github.com/JuergenWeber","followers_url":"https://api.github.com/users/JuergenWeber/followers","following_url":"https://api.github.com/users/JuergenWeber/following{/other_user}","gists_url":"https://api.github.com/users/JuergenWeber/gists{/gist_id}","starred_url":"https://api.github.com/users/JuergenWeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuergenWeber/subscriptions","organizations_url":"https://api.github.com/users/JuergenWeber/orgs","repos_url":"https://api.github.com/users/JuergenWeber/repos","events_url":"https://api.github.com/users/JuergenWeber/events{/privacy}","received_events_url":"https://api.github.com/users/JuergenWeber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T14:13:05Z","updated_at":"2016-04-12T14:13:05Z","closed_at":null,"body":"I‘ve recently upgraded from OCS 2.1 to 2.2 and very much appreciate the new bootstrag UI.\r\nThe OCS 2.2 was installed on a RHEL7 system with a properly working Kerberos implementation in Apache/php. This was proved by adding `error_log($_SERVER['REMOTE_USER']);` to the `.. /ocsreports/index.php` which shows something like: A0201402@EU1.ATTWW.LOCAL (samaccountname@AD-domain).\r\nAfter implementing the changes to `../backend/AUTH/auth.php` suggested by a [HowTo in the OCS Wiki](http://wiki.ocsinventory-ng.org/index.php/Howtos:Ocsreports_transparent_login_in_MS_AD_domain_on_ubuntu_server)  the error log showed the following: _PHP Warning:  mysqli_real_escape_string() expects parameter 2 to be string, array given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 54_\r\nThis was easily fixed by changing `$value` to `$value[0]`. Hoping to be near to get SSO working, I ended up in `install.php` which was invoked by the header.php’s condition:` if (GUI_VER\t!= $_SESSION['OCS']['SQL_BASE_VERS']){ ...`\r\nAny idea what went wrong?\r\n\r\nWith best regards,\r\n\r\nJuergen"}}