{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/23992","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/23992/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/23992/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/23992/events","html_url":"https://github.com/owncloud/core/pull/23992","id":148306007,"number":23992,"title":"New LDAPProvider for user_ldap","user":{"login":"GitHubUser4234","id":16538178,"avatar_url":"https://avatars.githubusercontent.com/u/16538178?v=3","gravatar_id":"","url":"https://api.github.com/users/GitHubUser4234","html_url":"https://github.com/GitHubUser4234","followers_url":"https://api.github.com/users/GitHubUser4234/followers","following_url":"https://api.github.com/users/GitHubUser4234/following{/other_user}","gists_url":"https://api.github.com/users/GitHubUser4234/gists{/gist_id}","starred_url":"https://api.github.com/users/GitHubUser4234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitHubUser4234/subscriptions","organizations_url":"https://api.github.com/users/GitHubUser4234/orgs","repos_url":"https://api.github.com/users/GitHubUser4234/repos","events_url":"https://api.github.com/users/GitHubUser4234/events{/privacy}","received_events_url":"https://api.github.com/users/GitHubUser4234/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:user_ldap","name":"app:user_ldap","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/comp:core","name":"comp:core","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/62","html_url":"https://github.com/owncloud/core/milestones/9.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/62/labels","id":1322460,"number":62,"title":"9.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":733,"closed_issues":465,"state":"open","created_at":"2015-09-24T16:30:14Z","updated_at":"2016-04-18T10:51:28Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-04-14T09:40:28Z","updated_at":"2016-04-18T11:14:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/23992","html_url":"https://github.com/owncloud/core/pull/23992","diff_url":"https://github.com/owncloud/core/pull/23992.diff","patch_url":"https://github.com/owncloud/core/pull/23992.patch"},"body":"New LDAPProvider for user_ldap, please refer to #23855"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/211334454","html_url":"https://github.com/owncloud/core/pull/23992#issuecomment-211334454","issue_url":"https://api.github.com/repos/owncloud/core/issues/23992","id":211334454,"user":{"login":"GitHubUser4234","id":16538178,"avatar_url":"https://avatars.githubusercontent.com/u/16538178?v=3","gravatar_id":"","url":"https://api.github.com/users/GitHubUser4234","html_url":"https://github.com/GitHubUser4234","followers_url":"https://api.github.com/users/GitHubUser4234/followers","following_url":"https://api.github.com/users/GitHubUser4234/following{/other_user}","gists_url":"https://api.github.com/users/GitHubUser4234/gists{/gist_id}","starred_url":"https://api.github.com/users/GitHubUser4234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitHubUser4234/subscriptions","organizations_url":"https://api.github.com/users/GitHubUser4234/orgs","repos_url":"https://api.github.com/users/GitHubUser4234/repos","events_url":"https://api.github.com/users/GitHubUser4234/events{/privacy}","received_events_url":"https://api.github.com/users/GitHubUser4234/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T11:14:25Z","updated_at":"2016-04-18T11:14:25Z","body":"Thanks a lot @blizzz  for taking time to go through the mess :sweat_smile:\r\n\r\nOk, I should have all that ready by tomorrow. \r\n\r\nMeanwhile I have commited the testing app [here](https://github.com/GitHubUser4234/apps/tree/master/test_user_ldap). Currently the appinfo/app.php simply tries to initialize user_ldap's LDAPProvider and as mentioned above, it fails. The types in  appinfo/info.xml are empty. \r\n\r\nTo understand what the app is going to do later, lib/hooks.php and lib/ldap.php could give an impression. I'm currently thinking about how the LDAP connection could be reused in the app, as the $uid passed to the LDAPProvider to get a connection might be different, e.g. in case an ownCloud admin changes the password of a user, that user's $uid is passed in, while when he creates a user, his own $uid is passed in."}}