{"action":"created","issue":{"url":"https://api.github.com/repos/thm-projects/arsnova-backend/issues/46","repository_url":"https://api.github.com/repos/thm-projects/arsnova-backend","labels_url":"https://api.github.com/repos/thm-projects/arsnova-backend/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/thm-projects/arsnova-backend/issues/46/comments","events_url":"https://api.github.com/repos/thm-projects/arsnova-backend/issues/46/events","html_url":"https://github.com/thm-projects/arsnova-backend/issues/46","id":245376416,"number":46,"title":"ARSnova's LDAP Active Directory","user":{"login":"mocsap","id":16320998,"avatar_url":"https://avatars3.githubusercontent.com/u/16320998?v=4","gravatar_id":"","url":"https://api.github.com/users/mocsap","html_url":"https://github.com/mocsap","followers_url":"https://api.github.com/users/mocsap/followers","following_url":"https://api.github.com/users/mocsap/following{/other_user}","gists_url":"https://api.github.com/users/mocsap/gists{/gist_id}","starred_url":"https://api.github.com/users/mocsap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mocsap/subscriptions","organizations_url":"https://api.github.com/users/mocsap/orgs","repos_url":"https://api.github.com/users/mocsap/repos","events_url":"https://api.github.com/users/mocsap/events{/privacy}","received_events_url":"https://api.github.com/users/mocsap/received_events","type":"User","site_admin":false},"labels":[{"id":49182117,"url":"https://api.github.com/repos/thm-projects/arsnova-backend/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-25T11:53:34Z","updated_at":"2017-07-28T07:13:36Z","closed_at":"2017-07-28T07:13:36Z","body":"Will ARSnova work together with Windows Active Directory? I'm not able to get it into work using the LDAP interface. My configuration file looks like this:\r\n\r\nsecurity.ldap.enabled=true\r\nsecurity.ldap.allowed-roles=speaker,student\r\nsecurity.ldap.title=LDAP-Auth\r\nsecurity.ldap.login-dialog-path=login-ldap.html\r\nsecurity.ldap.image=logo_ldap\r\nsecurity.ldap.order=2\r\nsecurity.ldap.url=ldap://ad.example.com:389/dc=ad,dc=example.com\r\nsecurity.ldap.user-dn-pattern=sAMAccountname={0}\r\n\r\nI have replaced the var type = \"arsnova\"; with var type = \"ldap\" under the login-ldap.html page. Unfortunately but I'm constantly getting the 401 error - \"User not authorized\". \r\n\r\nDoes any of you have some experience in configuring Windows AD with ARSNova?"},"comment":{"url":"https://api.github.com/repos/thm-projects/arsnova-backend/issues/comments/318579490","html_url":"https://github.com/thm-projects/arsnova-backend/issues/46#issuecomment-318579490","issue_url":"https://api.github.com/repos/thm-projects/arsnova-backend/issues/46","id":318579490,"user":{"login":"mocsap","id":16320998,"avatar_url":"https://avatars3.githubusercontent.com/u/16320998?v=4","gravatar_id":"","url":"https://api.github.com/users/mocsap","html_url":"https://github.com/mocsap","followers_url":"https://api.github.com/users/mocsap/followers","following_url":"https://api.github.com/users/mocsap/following{/other_user}","gists_url":"https://api.github.com/users/mocsap/gists{/gist_id}","starred_url":"https://api.github.com/users/mocsap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mocsap/subscriptions","organizations_url":"https://api.github.com/users/mocsap/orgs","repos_url":"https://api.github.com/users/mocsap/repos","events_url":"https://api.github.com/users/mocsap/events{/privacy}","received_events_url":"https://api.github.com/users/mocsap/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T07:13:36Z","updated_at":"2017-07-28T07:13:36Z","body":"Dear @dgerhardt, thank you for sharing this. I have tried to establish the connection using following parameters:\r\n\r\nsecurity.ldap.url=ldap://username:password@ad.example.com:389\r\nsecurity.ldap.user-dn-pattern=\r\n\r\nUsing this connection string and the login form: https://arsnova.eu/thm/account.html?redirect=%2Fmobile%2F(url) I'm getting the Error 405: Method not allowed. \r\n\r\n\r\n> Allow | GET, HEAD\r\n> -- | --\r\n> Cache-Control | no-cache, no-store, max-age=0, must-revalidate\r\n> Connection | Keep-Alive\r\n> Content-Language | de\r\n> Content-Length | 0\r\n> Date | Fri, 28 Jul 2017 06:21:47 GMT\r\n> Expires | 0\r\n> Keep-Alive | timeout=5, max=100\r\n> Pragma | no-cache\r\n> Server | Apache/2.4.10 (Debian)\r\n> Strict-Transport-Security | max-age=31536000\r\n> X-Content-Type-Options | nosniff\r\n> X-Frame-Options | DENY\r\n> X-XSS-Protection | 1; mode=block\r\n\r\nIt looks that the server configuration don't accept the POST method which is included in the XMLHttpReqest(). However this is already off topic, therefore I will close this thread."}}
{"actor":{"display_login":"mocsap"}}