1. 04 Nov, 2013 4 commits
  2. 03 Nov, 2013 1 commit
    • Elias Mårtenson's avatar
      When looking up a user by DN, use single scope · bc8a875d
      Elias Mårtenson authored
      The blocked? method is used to check whether a user exists in LDAP. Prior to this change, if the LDAP server had more objects below the one pointed to by the DN, those objects would also be picked up by the search, causing the method to determine the user should be blocked.
      
      One case where this can happen is when using Active Directory and a user have a mobile phone assigned. In this case, Exchange will add an entry called ExchangeActiveSyncDevices under the users entry. The user-visible behaviour is then that a user loses Gitlab access when he enables a mobile device.
      
      This fix sets the search scope to BaseObject in order to ensure that only the user itself is returned.
      bc8a875d
  3. 02 Nov, 2013 1 commit
  4. 01 Nov, 2013 14 commits
  5. 31 Oct, 2013 8 commits
  6. 30 Oct, 2013 4 commits
  7. 29 Oct, 2013 7 commits
  8. 28 Oct, 2013 1 commit