{"action":"closed","issue":{"url":"https://api.github.com/repos/auraphp/Aura.Auth/issues/74","labels_url":"https://api.github.com/repos/auraphp/Aura.Auth/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/auraphp/Aura.Auth/issues/74/comments","events_url":"https://api.github.com/repos/auraphp/Aura.Auth/issues/74/events","html_url":"https://github.com/auraphp/Aura.Auth/issues/74","id":122792812,"number":74,"title":"LdapAdapter::bind performs a double unbind on the underlying ldap resource","user":{"login":"erikjwaxx","id":2265605,"avatar_url":"https://avatars.githubusercontent.com/u/2265605?v=3","gravatar_id":"","url":"https://api.github.com/users/erikjwaxx","html_url":"https://github.com/erikjwaxx","followers_url":"https://api.github.com/users/erikjwaxx/followers","following_url":"https://api.github.com/users/erikjwaxx/following{/other_user}","gists_url":"https://api.github.com/users/erikjwaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/erikjwaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikjwaxx/subscriptions","organizations_url":"https://api.github.com/users/erikjwaxx/orgs","repos_url":"https://api.github.com/users/erikjwaxx/repos","events_url":"https://api.github.com/users/erikjwaxx/events{/privacy}","received_events_url":"https://api.github.com/users/erikjwaxx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-17T18:18:42Z","updated_at":"2016-01-16T06:56:11Z","closed_at":"2016-01-16T06:56:11Z","body":"Per the [PHP docs](http://php.net/manual/en/function.ldap-close.php) `ldap_close` is an alias for `ldap_unbind`. But, when calling `LdapAdapter::bind`, after the bind succeeds both `ldap_unbind` and `ldap_close` are called on the LDAP resource, which emits a PHP error when attempting to close the (now-closed) resource the second time."}}