{"action":"created","issue":{"url":"https://api.github.com/repos/pluginsGLPI/moreldap/issues/10","labels_url":"https://api.github.com/repos/pluginsGLPI/moreldap/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/pluginsGLPI/moreldap/issues/10/comments","events_url":"https://api.github.com/repos/pluginsGLPI/moreldap/issues/10/events","html_url":"https://github.com/pluginsGLPI/moreldap/issues/10","id":128606164,"number":10,"title":"Issue with Active Directory \"Display name\" and comma","user":{"login":"mleblanc136","id":16883767,"avatar_url":"https://avatars.githubusercontent.com/u/16883767?v=3","gravatar_id":"","url":"https://api.github.com/users/mleblanc136","html_url":"https://github.com/mleblanc136","followers_url":"https://api.github.com/users/mleblanc136/followers","following_url":"https://api.github.com/users/mleblanc136/following{/other_user}","gists_url":"https://api.github.com/users/mleblanc136/gists{/gist_id}","starred_url":"https://api.github.com/users/mleblanc136/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleblanc136/subscriptions","organizations_url":"https://api.github.com/users/mleblanc136/orgs","repos_url":"https://api.github.com/users/mleblanc136/repos","events_url":"https://api.github.com/users/mleblanc136/events{/privacy}","received_events_url":"https://api.github.com/users/mleblanc136/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-25T18:32:44Z","updated_at":"2016-01-26T08:43:50Z","closed_at":null,"body":"Hi, I have trouble with the synchronisation of the \"physicalDeliveryOfficeName\" between Active Directory and GLPI 0.90.1. The problem is that if the \"Display name\" of a user in AD contains a comma, then it will not sync the location. Unfortunately, in my case, the display names are as follow \"Lastname, Firstname\".\r\n\r\n2016-01-25 16:58:21\r\n  *** PHP Warning(2): ldap_read(): Search: Invalid DN syntax\r\n  Backtrace :\r\n  :\r\n  plugins/moreldap/hook.php:91                       ldap_read()\r\n  :                                                  plugin_moreldap_item_add_or_update_user()\r\n  inc/plugin.class.php:1095                          call_user_func()\r\n  inc/commondbtm.class.php:1118                      Plugin::doHook()\r\n  inc/authldap.class.php:2088                        CommonDBTM->update()\r\n  inc/user.class.php:2501                            AuthLDAP::ldapImportUserByServerId()\r\n  inc/massiveaction.class.php:991                    User::processMassiveActionsForOneItemtype()\r\n  inc/massiveaction.class.php:970                    MassiveAction->processForSeveralItemtypes()\r\n  front/massiveaction.php:62                         MassiveAction->process()\r\n\r\n\r\nWhat can I do to make it work?\r\n\r\nThank you!\r\n(Vous pouvez m'écrire en français, je suis francophone!)"},"comment":{"url":"https://api.github.com/repos/pluginsGLPI/moreldap/issues/comments/174892219","html_url":"https://github.com/pluginsGLPI/moreldap/issues/10#issuecomment-174892219","issue_url":"https://api.github.com/repos/pluginsGLPI/moreldap/issues/10","id":174892219,"user":{"login":"dethegeek","id":5788361,"avatar_url":"https://avatars.githubusercontent.com/u/5788361?v=3","gravatar_id":"","url":"https://api.github.com/users/dethegeek","html_url":"https://github.com/dethegeek","followers_url":"https://api.github.com/users/dethegeek/followers","following_url":"https://api.github.com/users/dethegeek/following{/other_user}","gists_url":"https://api.github.com/users/dethegeek/gists{/gist_id}","starred_url":"https://api.github.com/users/dethegeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dethegeek/subscriptions","organizations_url":"https://api.github.com/users/dethegeek/orgs","repos_url":"https://api.github.com/users/dethegeek/repos","events_url":"https://api.github.com/users/dethegeek/events{/privacy}","received_events_url":"https://api.github.com/users/dethegeek/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T08:43:50Z","updated_at":"2016-01-26T08:43:50Z","body":"Thank you. \r\n\r\nI can reproduce the issue. I'm investigating to find a fix. Not sure yet if the bug is in the plugin or GLPI itself."}}