1. 04 Nov, 2013 2 commits
    • Elias Mårtenson's avatar
      When looking up a user by DN, use single scope · e4e96f2d
      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.
      e4e96f2d
    • Dmitriy Zaporozhets's avatar
      Merge branch 'gitlab_shell_174_for_6_2_stable' of... · a811a4fa
      Dmitriy Zaporozhets authored
      Merge branch 'gitlab_shell_174_for_6_2_stable' of /home/git/repositories/gitlab/gitlabhq into 6-2-stable
      a811a4fa
  2. 01 Nov, 2013 11 commits
  3. 31 Oct, 2013 2 commits
  4. 28 Oct, 2013 1 commit
  5. 25 Oct, 2013 1 commit
  6. 22 Oct, 2013 3 commits
  7. 21 Oct, 2013 10 commits
  8. 20 Oct, 2013 7 commits
  9. 19 Oct, 2013 2 commits
  10. 18 Oct, 2013 1 commit