Skip to content
  1. Jun 15, 2015
  2. Jun 14, 2015
  3. Jun 12, 2015
  4. Jun 11, 2015
    • ziirish's avatar
      fix: more parser error handling + pep8 · 7e2f9629
      ziirish authored
      7e2f9629
    • ziirish's avatar
    • ziirish's avatar
      Merge branch 'master' into 'master' · 0f1247af
      ziirish 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
      0f1247af
    • ziirish's avatar
      fix: confusion between attribute and option · 046c7ed4
      ziirish authored
      046c7ed4
    • Wade Fitzpatrick's avatar
      dd328b93
  5. Jun 10, 2015
  6. Jun 05, 2015
  7. Jun 04, 2015
  8. Jun 02, 2015
  9. Jun 01, 2015