Backport Adapter#ldap_search from EE
Backport Adapter#dn_matches_filter? from EE
Add spec for LDAP::Access#allowed?
Add LDAP::Person#ad_disabled?

Check the bit for disabled Active Directory users. The filter is based
on http://ctogonewild.com/2009/09/03/bitmask-searches-in-ldap/ .
Check for the AD disabled flag in Access#allowed?
Fix syntax error in AD disabled user filter
Use LDAP::Access.open to reuse the LDAP connection
Document the Active Directory magic numbers
Improve ad_disabled method name
Merge branch 'ad_disabled_users' into 'master'

Block 'disabled' AD users over SSH

The existing SSH access check for LDAP users ignored the ActiveDirectory 'disabled' flag.
Merge branch 'master' of github.com:gitlabhq/gitlabhq