No description
  • Python 92.5%
  • Dockerfile 7.5%
Find a file
2026-02-17 20:28:24 +01:00
example use default port in example 2026-02-11 20:12:31 +01:00
Dockerfile Update python Docker tag to v3.14 2026-02-12 17:23:59 +00:00
ldap_avatar_proxy.py fix mixed quotes 2026-02-11 17:09:54 +01:00
pyproject.toml add uv 2026-02-17 20:28:24 +01:00
README.md markdown is not like org 2026-02-11 20:03:58 +01:00
renovate.json use renovate best-practices 2026-02-12 11:07:25 +01:00
uv.lock add uv 2026-02-17 20:28:24 +01:00

Description

ldap-avatar-proxy bridges the gap between LDAP's jpegphoto and the OIDC picture claim. It listens on /avatar/{user} and will return the user's avatar or 404 if not found.

Settings

lda-avatar-proxy has the following settings. Settings can either be specified via an environment variable in the form of VAR=VAL, or with config files on the config dir in toml syntax. Default settings are filled with values for LLDAP.

Currently implemented settings

Name Default Note
ldap_url ldap://lldap:3890
ldap_user create a dedicated user in LDAP
password
base_dn
search_base ou=people
user_filter (&(uid={user})(objectClass=person))
listen_address Does not support IPv6
listen_port 8080
avatar_attribute avatar
ca_path /app/ca.crt
cache_ttl 3600 Time in seconds
config_dir ./config/ Can only be set with an environment variable

See examples for using toml files.