No description
- Python 92.5%
- Dockerfile 7.5%
| example | ||
| Dockerfile | ||
| ldap_avatar_proxy.py | ||
| pyproject.toml | ||
| README.md | ||
| renovate.json | ||
| uv.lock | ||
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.