gitlabhq/gitlabhq — pull request #5444 by sweetlilmre (2013-10-25 09:54:59+00:00)
Title: Change the blocked? method to search specifically for a 'user' object class

Some users on our system have multiple results returned for a search on their DN which causes the method to erroneously indicate that they are blocked. The change limits the search to the 'user' object class which fixes this issue.