Skip to content

v1.1.0

Compare
Choose a tag to compare
@g0dsCookie g0dsCookie released this 21 Feb 12:36

Added

  • LDAP_LOGLEVEL to manually set the loglevel for ldap3. Normally you don't need this
  • Logs from ldap3 will be statically logged as ERROR
  • LDAP_ATTRIBUTES to specify any ldap attribute and map them to http response headers.
  • LDAP_ROLEHEADER to specify the http header name for the matched role, if any.
  • This includes a change of how LDAP_ALLOWEDUSERS and LDAP_ALLOWEDGROUPS are parsed, see below

Changed

  • LDAP_ALLOWEDUSERS is now parsed as (json) dictionary: {"username": "role"}
  • LDAP_ALLOWEDGROUPS is now parsed as (json) dictionary: {"cn=mygroup,ou=myou,dc=example,dc=org": "role"}
  • HTTP access logs are now properly logged with ldapauthd logger instead of default HTTP logger

Removed

  • LDAPAUTHD_FORWARD_USER and LDAPAUTHD_FORWARD_EMAIL has been removed in favor of LDAP_ATTRIBUTES