Releases: g0dsCookie/ldapauthd
Releases · g0dsCookie/ldapauthd
v1.3.0
v1.2.3
Fixed
- Retry memcache connection on ConnectionError before raising an exception
- This introduced the new option LDAPAUTHD_SESSION_RETRY which accepts the count after which the login attempt should fail
v1.2.2
Fixed
- Use X-Forward-Proto on 307 Redirection instead of hard-coded http
v1.2.1
Fixed
- On many concurrent requests there was a race-condition with pymemcache resulting in socket timeouts and errors
v1.2.0
Added
- Authentication sessions
- Single-Sign-On with Authentication sessions and LDAPAUTHD_SESSION_DOMAIN
Changed
- HTTP Headers are now latin1-encoded instead of utf8
New Configurations
- LDAPAUTHD_SESSION_STORAGE defines the storage backend for sessions. Currently only memcached is available
- LDAPAUTHD_SESSION_DOMAIN defines the domain for the cookie. This allows your to use Single-Sign-On if configured correctly.
- For example you have 2 websites running on example.org and sub.example.org. If you set LDAPAUTHD_SESSION_DOMAIN=.example.org the session from example.org will also be available on sub.example.org
- LDAPAUTHD_SESSION_HOST defines the hostname for your storage backend.
- LDAPAUTHD_SESSION_TTL defines the maximum seconds a session is valid.
v1.1.1
Changed
- Boolean config values are now case-insensitive. Alternatively you can use 0=false or 1=true
v1.1.0
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