{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16456","labels_url":"https://api.github.com/repos/owncloud/core/issues/16456/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16456/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16456/events","html_url":"https://github.com/owncloud/core/pull/16456","id":78411250,"number":16456,"title":"Stable8 backport 13740 and 15606","user":{"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},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/app:user_ldap","name":"app:user_ldap","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/42","html_url":"https://github.com/owncloud/core/milestones/8.0.5-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/42/labels","id":1090951,"number":42,"title":"8.0.5-current-maintenance","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":12,"state":"open","created_at":"2015-04-30T11:59:10Z","updated_at":"2015-06-16T12:31:42Z","due_on":null,"closed_at":null},"comments":22,"created_at":"2015-05-20T07:28:44Z","updated_at":"2015-06-16T13:43:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/16456","html_url":"https://github.com/owncloud/core/pull/16456","diff_url":"https://github.com/owncloud/core/pull/16456.diff","patch_url":"https://github.com/owncloud/core/pull/16456.patch"},"body":"Backport of #13740 and #15606 (because the latter is a followup of the previous one)\r\n\r\nFixes #12190 and fixes #13533\r\n\r\n### How to test?\r\n* configure User Filter in the LDAP Wizard and select a group\r\n* on AD, the resulting filter should look like ```(&(|(objectclass=person))(|(|((memberof=CN=Domain Users,CN=Users,DC=madder,DC=owncloud,DC=bzoc)(primaryGroupID=513)))(|((memberof=CN=Wolfpack 8,OU=packs,DC=madder,DC=owncloud,DC=bzoc)(primaryGroupID=968988)```(2 selected groups)\r\n* on OpenLDAP the ```(primaryGroupID=XXX)``` part should not show up!\r\n* in the User list: users should appear, that have the selected group  as primary, but are not regular member of any of those selected\r\n* in the User list: Before: empty count, no users when selecting the group. Now: proper count with users.\r\n\r\n@craigpg @sbelov1 @bboule @jnfrmarks @plastilincheg @rjaeckel @gig13 Please test. I tested this with an LDAP instance and all works like before and no errors are logged.\r\n\r\nThis is my :+1: for this, because I only cherry picked the commits of @blizzz who is on vacation."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/112434328","html_url":"https://github.com/owncloud/core/pull/16456#issuecomment-112434328","issue_url":"https://api.github.com/repos/owncloud/core/issues/16456","id":112434328,"user":{"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},"created_at":"2015-06-16T13:43:32Z","updated_at":"2015-06-16T13:43:32Z","body":"@davitol Can you review this together with #16627?"}}