1. 16 Jun, 2015 2 commits
  2. 15 Jun, 2015 1 commit
  3. 14 Jun, 2015 4 commits
  4. 12 Jun, 2015 6 commits
  5. 11 Jun, 2015 5 commits
    • Benjamin "Ziirish" SANS's avatar
      c3f68b17
    • Benjamin "Ziirish" SANS's avatar
    • Benjamin "Ziirish" SANS's avatar
      Merge branch 'master' into 'master' · 2a416f84
      Benjamin "Ziirish" SANS authored
      Improved ldap handling & docs; binds against AD
      
      == New config options
      - adds port and encryption options for binding over SSL/TLS
      - adds 'searchattr' option, the LDAP attribute to search on, defaults to 'uid'
      
      == LdapLoader.fetch() changes:
      - uses python format() to render the search attribute and search value into the search filter
      - if search filter is not specified, uses a simple attr=value search filter
      - returns DN and CN of the object if found
      
      == LdapLoader.check() changes:
      - binds to the LDAP server using the DN found in fetch(). Previously it was trying to bind using 'uid' and the search base which would not work for non-POSIX accounts or objects found in sub-trees.
      
      == LdapUser.__init__() changes:
      - records the DN of the user in order to re-bind as that object
      
      == LdapUser.login() changes:
      - searches for the user again to prevent binding as a disabled user. In AD, a user may still be able to bind even though their userAccountControl attribute prevents them from logging in to a host. This check overrides the cached result in case the account was disabled since last login.
      - disables the user if it can no longer be found in LDAP.
      
      == Overall improvements
      - better documentation of the classes and functions
      
      = TODO
      - add better user documentation explaining the new config options and how search filter should be used properly.
      
      See merge request !1
      Closes #63
      2a416f84
    • Benjamin "Ziirish" SANS's avatar
      1676e934
    • Wade Fitzpatrick's avatar
      2bfa2737
  6. 10 Jun, 2015 12 commits
  7. 05 Jun, 2015 2 commits
  8. 04 Jun, 2015 2 commits
  9. 02 Jun, 2015 2 commits
  10. 01 Jun, 2015 1 commit
  11. 29 May, 2015 2 commits
  12. 28 May, 2015 1 commit