{"action":"created","issue":{"url":"https://api.github.com/repos/3liz/lizmap-web-client/issues/1001","repository_url":"https://api.github.com/repos/3liz/lizmap-web-client","labels_url":"https://api.github.com/repos/3liz/lizmap-web-client/issues/1001/labels{/name}","comments_url":"https://api.github.com/repos/3liz/lizmap-web-client/issues/1001/comments","events_url":"https://api.github.com/repos/3liz/lizmap-web-client/issues/1001/events","html_url":"https://github.com/3liz/lizmap-web-client/issues/1001","id":377342900,"node_id":"MDU6SXNzdWUzNzczNDI5MDA=","number":1001,"title":"Authentification driver \"ldapdao\" not found","user":{"login":"signedav","id":28384354,"node_id":"MDQ6VXNlcjI4Mzg0MzU0","avatar_url":"https://avatars1.githubusercontent.com/u/28384354?v=4","gravatar_id":"","url":"https://api.github.com/users/signedav","html_url":"https://github.com/signedav","followers_url":"https://api.github.com/users/signedav/followers","following_url":"https://api.github.com/users/signedav/following{/other_user}","gists_url":"https://api.github.com/users/signedav/gists{/gist_id}","starred_url":"https://api.github.com/users/signedav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signedav/subscriptions","organizations_url":"https://api.github.com/users/signedav/orgs","repos_url":"https://api.github.com/users/signedav/repos","events_url":"https://api.github.com/users/signedav/events{/privacy}","received_events_url":"https://api.github.com/users/signedav/received_events","type":"User","site_admin":false},"labels":[{"id":1134716959,"node_id":"MDU6TGFiZWwxMTM0NzE2OTU5","url":"https://api.github.com/repos/3liz/lizmap-web-client/labels/ldap","name":"ldap","color":"4E94AF","default":false}],"state":"open","locked":false,"assignee":{"login":"laurentj","id":336034,"node_id":"MDQ6VXNlcjMzNjAzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/336034?v=4","gravatar_id":"","url":"https://api.github.com/users/laurentj","html_url":"https://github.com/laurentj","followers_url":"https://api.github.com/users/laurentj/followers","following_url":"https://api.github.com/users/laurentj/following{/other_user}","gists_url":"https://api.github.com/users/laurentj/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentj/subscriptions","organizations_url":"https://api.github.com/users/laurentj/orgs","repos_url":"https://api.github.com/users/laurentj/repos","events_url":"https://api.github.com/users/laurentj/events{/privacy}","received_events_url":"https://api.github.com/users/laurentj/received_events","type":"User","site_admin":false},"assignees":[{"login":"laurentj","id":336034,"node_id":"MDQ6VXNlcjMzNjAzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/336034?v=4","gravatar_id":"","url":"https://api.github.com/users/laurentj","html_url":"https://github.com/laurentj","followers_url":"https://api.github.com/users/laurentj/followers","following_url":"https://api.github.com/users/laurentj/following{/other_user}","gists_url":"https://api.github.com/users/laurentj/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentj/subscriptions","organizations_url":"https://api.github.com/users/laurentj/orgs","repos_url":"https://api.github.com/users/laurentj/repos","events_url":"https://api.github.com/users/laurentj/events{/privacy}","received_events_url":"https://api.github.com/users/laurentj/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-11-05T10:45:25Z","updated_at":"2018-11-28T13:11:19Z","closed_at":null,"author_association":"NONE","body":"Hi there\r\n\r\nWhen trying to login on the browser I receive an error like this:\r\n```\r\nError 500. A technical error has occured. Sorry for this trouble.\r\n```\r\nAnd in the `/var/www/websig/lizmap/var/log/error.log` I see that:\r\n```\r\n2018-11-05 11:19:11     172.18.0.1      error   2018-11-05 11:19:11     [602]   Authentification driver \"ldapdao\" not found     /var/www/websig/lib/jelix/auth/jAuth.class.php  147\r\n```\r\n\r\n## Steps to reproduce the issue\r\nI made the following installations / configurations:\r\n### 1. install php5-ldap\r\nI  have `php --version`: PHP 5.6.33-0+deb8u1\r\n```\r\napt-get install php5-ldap\r\n```\r\n### 2. copy the module to lizmap\r\n```\r\ndocker cp ldapdao-module-2.0.0/ldapdao/ 851363823bbf:/var/www/websig/lizmap/lizmap-modules\r\n```\r\n### 3. declare the ldapdao module in localconfig\r\nIn ` /var/www/websig/lizmap/var/config/localconfig.ini.php`\r\nAdd this:\r\n```\r\n[modules]\r\nldapdao.access=1\r\n```\r\n### 4. check the mainconfig\r\nIn  `/var/www/websig/lizmap/var/config/mainconfig.ini.php`\r\nShould look like this\r\n```\r\n[modules]\r\njacl2.access=1\r\njauth.access=2\r\njauthdb.access=1\r\n```\r\nBut `jauthdb.access` is 2 at my system. I wan't to it to 1. But in Lizmap Docu it says that I shouldn't change mainconfig - so I'll change localconfig instead. So I add it to the `localconfig.ini.php`:\r\n```\r\n[modules]\r\nldapdao.access=1\r\njauthdb.access=1\r\n```\r\n### 5 Run `php ./var/www/websig/lizmap/install/installer.php`\r\nSuccesses.\r\n### 6 Run `/var/www/websig/lizmap/install/set_rights.sh www-data www-data`\r\n\r\n### 7 Define coordplugins for admin\r\nThe file `vim /var/www/websig/lizmap/var/config/authldap.coord.ini.php` is created on the installation.\r\nI set in `/var/www/websig/lizmap/var/config/admin/config.ini.php` and `/var/www/websig/lizmap/var/config/index/config.ini.php` this:\r\n```\r\n[coordplugins]\r\nauth=\"authldap.coord.ini.php\"\r\n```\r\nMeans I replace \"admin/auth.coord.ini.php\" and \"index/auth.coord.ini.php\"\r\n\r\n### 8 Athentification settings\r\nNow I started with the settings in `[ldap:myldap]` etc. But I guess this is not concerning this issue.\r\n\r\n## Environment\r\n - Lizmap version: 3.1.4\r\n - OS (windows, linux, macOS, android..): Debian GNU/Linux 8.10 (jessie)\r\n"},"comment":{"url":"https://api.github.com/repos/3liz/lizmap-web-client/issues/comments/442441447","html_url":"https://github.com/3liz/lizmap-web-client/issues/1001#issuecomment-442441447","issue_url":"https://api.github.com/repos/3liz/lizmap-web-client/issues/1001","id":442441447,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQ0MTQ0Nw==","user":{"login":"laurentj","id":336034,"node_id":"MDQ6VXNlcjMzNjAzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/336034?v=4","gravatar_id":"","url":"https://api.github.com/users/laurentj","html_url":"https://github.com/laurentj","followers_url":"https://api.github.com/users/laurentj/followers","following_url":"https://api.github.com/users/laurentj/following{/other_user}","gists_url":"https://api.github.com/users/laurentj/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentj/subscriptions","organizations_url":"https://api.github.com/users/laurentj/orgs","repos_url":"https://api.github.com/users/laurentj/repos","events_url":"https://api.github.com/users/laurentj/events{/privacy}","received_events_url":"https://api.github.com/users/laurentj/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T13:11:19Z","updated_at":"2018-11-28T13:11:19Z","author_association":"COLLABORATOR","body":"Hi,\r\n\r\ncould you send me the content of lizmap/var/config/ in a zip by mail please ? `dev@ljouanneau.com`\r\n\r\nBe sure to remove any login/password values from configuration files, I don't need them ;-) (in profiles.ini.php and perhaps in your auth(ldap).coord.ini.php files)\r\n\r\n"}}
{"actor":{"display_login":"laurentj"}}