{"action":"created","issue":{"url":"https://api.github.com/repos/Adldap2/Adldap2/issues/596","repository_url":"https://api.github.com/repos/Adldap2/Adldap2","labels_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/596/comments","events_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/596/events","html_url":"https://github.com/Adldap2/Adldap2/issues/596","id":367123006,"node_id":"MDU6SXNzdWUzNjcxMjMwMDY=","number":596,"title":"Error when trying to remove group from member","user":{"login":"sythaera","id":43877136,"node_id":"MDQ6VXNlcjQzODc3MTM2","avatar_url":"https://avatars0.githubusercontent.com/u/43877136?v=4","gravatar_id":"","url":"https://api.github.com/users/sythaera","html_url":"https://github.com/sythaera","followers_url":"https://api.github.com/users/sythaera/followers","following_url":"https://api.github.com/users/sythaera/following{/other_user}","gists_url":"https://api.github.com/users/sythaera/gists{/gist_id}","starred_url":"https://api.github.com/users/sythaera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sythaera/subscriptions","organizations_url":"https://api.github.com/users/sythaera/orgs","repos_url":"https://api.github.com/users/sythaera/repos","events_url":"https://api.github.com/users/sythaera/events{/privacy}","received_events_url":"https://api.github.com/users/sythaera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-05T09:07:31Z","updated_at":"2018-10-05T12:18:54Z","closed_at":null,"author_association":"NONE","body":"- Adldap2 Version: Latest\r\n- LDAP Type: Active Directory\r\n- PHP Version: 7.0.30\r\n\r\nI get error: Warning: ldap_modify_batch(): Batch Modify: Server is unwilling to perform when trying to remove one user with the following: `for ($i=0; $i < $count; $i++) { \r\n\r\n$group = $provider->search()->groups()->where(\"samaccountname\",\"=\",$array[$i])->first();\r\n$members = $group->getMembers();\r\n$members1 = json_encode($members);\r\n$members2 = json_decode($members1, true);\r\n$count1 = count($members2);\r\n\r\n\r\nfor ($e=0; $e < $count1; $e++) { \r\n$samname1 = implode(\", \",$members2[$e]['samaccountname']);\r\n\tif($samname1 == $_POST['samid']){\r\n\t\tif($group->removeMember($samname1)){\r\n\t\t\techo 'Removed from group'.$array[$i];\r\n\t\t}\r\n\t}\r\n}\r\n\r\n}\r\n\r\n}`\r\n\r\nI do not know why this is happening. I am using a Domain Admin account to do this,\r\n"},"comment":{"url":"https://api.github.com/repos/Adldap2/Adldap2/issues/comments/427345772","html_url":"https://github.com/Adldap2/Adldap2/issues/596#issuecomment-427345772","issue_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/596","id":427345772,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzM0NTc3Mg==","user":{"login":"sythaera","id":43877136,"node_id":"MDQ6VXNlcjQzODc3MTM2","avatar_url":"https://avatars0.githubusercontent.com/u/43877136?v=4","gravatar_id":"","url":"https://api.github.com/users/sythaera","html_url":"https://github.com/sythaera","followers_url":"https://api.github.com/users/sythaera/followers","following_url":"https://api.github.com/users/sythaera/following{/other_user}","gists_url":"https://api.github.com/users/sythaera/gists{/gist_id}","starred_url":"https://api.github.com/users/sythaera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sythaera/subscriptions","organizations_url":"https://api.github.com/users/sythaera/orgs","repos_url":"https://api.github.com/users/sythaera/repos","events_url":"https://api.github.com/users/sythaera/events{/privacy}","received_events_url":"https://api.github.com/users/sythaera/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T12:18:54Z","updated_at":"2018-10-05T12:18:54Z","author_association":"NONE","body":"That's awesome.\r\nThank you alot for the quick support."}}
{"actor":{"display_login":"sythaera"}}