{"action":"opened","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/48","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/48/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-auth-backend-ldap/issues/48/events","html_url":"https://github.com/rabbitmq/rabbitmq-auth-backend-ldap/issues/48","id":162027127,"number":48,"title":"noSuchObject responses are not handled gracefully in OR queries","user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-23T21:26:24Z","updated_at":"2016-06-23T21:26:24Z","closed_at":null,"body":"A user reports getting the following:\r\n\r\n```\r\n=ERROR REPORT==== 21-Jun-2016::10:04:21 === \r\n** Generic server <0.309.0> terminating \r\n** Last message in was {submit,#Fun<rabbit_auth_backend_ldap.8.133447016>, \r\n<0.6027.82>,reuse} \r\n** When Server state == {from,<0.6027.82>,#Ref<0.0.2621442.227430>} \r\n** Reason for termination == \r\n** {function_clause, \r\n[{rabbit_auth_backend_ldap,'-evaluate0/4-fun-1-', \r\n[{in_group, \r\n\"CN=RabbitMQ-<redacted>-${vhost}-RW,OU=Groups - Rights,OU=<redacted>,DC=<redacted>,DC=com\"}, \r\n{error,noSuchObject}], \r\n[{file,\"src/rabbit_auth_backend_ldap.erl\"},{line,162}]}, \r\n{lists,foldl,3,[{file,\"lists.erl\"},{line,1262}]}, \r\n{rabbit_auth_backend_ldap,evaluate0,4, \r\n[{file,\"src/rabbit_auth_backend_ldap.erl\"},{line,162}]}, \r\n{rabbit_auth_backend_ldap,'-with_ldap/3-fun-2-',4, \r\n[{file,\"src/rabbit_auth_backend_ldap.erl\"},{line,306}]}, \r\n{worker_pool_worker,handle_call,3, \r\n[{file,\"src/worker_pool_worker.erl\"},{line,108}]}, \r\n{gen_server2,handle_msg,2,[{file,\"src/gen_server2.erl\"},{line,1028}]}, \r\n{proc_lib,wake_up,3,[{file,\"proc_lib.erl\"},{line,250}]}]} \r\n```\r\n\r\nWe are waiting for more detailed LDAP query logs but looks like query result of `{error, noSuchObject}` isn't handled gracefully by the [OR clause evaluator](https://github.com/rabbitmq/rabbitmq-auth-backend-ldap/blob/rabbitmq_v3_6_2/src/rabbit_auth_backend_ldap.erl#L162)."}}
{"actor":{"display_login":"michaelklishin"}}