{"action":"created","issue":{"url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/425","repository_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp","labels_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/425/comments","events_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/425/events","html_url":"https://github.com/simplesamlphp/simplesamlphp/issues/425","id":167939934,"number":425,"title":"LDAP server hostname in authsources.php","user":{"login":"maarbu","id":10818890,"avatar_url":"https://avatars.githubusercontent.com/u/10818890?v=3","gravatar_id":"","url":"https://api.github.com/users/maarbu","html_url":"https://github.com/maarbu","followers_url":"https://api.github.com/users/maarbu/followers","following_url":"https://api.github.com/users/maarbu/following{/other_user}","gists_url":"https://api.github.com/users/maarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/maarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maarbu/subscriptions","organizations_url":"https://api.github.com/users/maarbu/orgs","repos_url":"https://api.github.com/users/maarbu/repos","events_url":"https://api.github.com/users/maarbu/events{/privacy}","received_events_url":"https://api.github.com/users/maarbu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/labels/low","name":"low","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-27T19:48:11Z","updated_at":"2016-07-29T14:51:54Z","closed_at":null,"body":"When specifying a single LDAP server in the hostname directive, you don't need to put in ldap:// or ldaps://. `'hostname' => 'ldapserver.example.com',` will work fine.  However, if you add a failover server by separating with a space like this: `'hostname' => 'ldapserver1.example.com ldapserver2.example.com',` this will cause a 500 error.  This is remedied by putting in ldap:// or ldaps:// in front of each server name.  I ran across this issue when upgrading.  It used to work the first way.\r\n\r\nI haven't sussed out exactly what upgrade caused the issue.  I upgraded PHP and OpenLDAP at the same time, my guess is OpenLDAP.\r\n\r\nShould there be code added to check for the ldaps:// or ldap:// prefix or is it assumed that people will put this in by default?"},"comment":{"url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/comments/236201756","html_url":"https://github.com/simplesamlphp/simplesamlphp/issues/425#issuecomment-236201756","issue_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/425","id":236201756,"user":{"login":"tvdijen","id":841045,"avatar_url":"https://avatars.githubusercontent.com/u/841045?v=3","gravatar_id":"","url":"https://api.github.com/users/tvdijen","html_url":"https://github.com/tvdijen","followers_url":"https://api.github.com/users/tvdijen/followers","following_url":"https://api.github.com/users/tvdijen/following{/other_user}","gists_url":"https://api.github.com/users/tvdijen/gists{/gist_id}","starred_url":"https://api.github.com/users/tvdijen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvdijen/subscriptions","organizations_url":"https://api.github.com/users/tvdijen/orgs","repos_url":"https://api.github.com/users/tvdijen/repos","events_url":"https://api.github.com/users/tvdijen/events{/privacy}","received_events_url":"https://api.github.com/users/tvdijen/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T14:51:54Z","updated_at":"2016-07-29T14:51:54Z","body":"Yes @jaimeperez ! That is exactly what I was proposing. I'll see if I can come up with a PR for this."}}
{"actor":{"display_login":"tvdijen"}}