Files
zeguiguiandClaude Opus 5.5 f6a01b85e1 🤖 ldap2nextcloud : synchronisation LDAP vers un carnet Nextcloud (CardDAV)
Historique regroupé en un seul commit pour ne pas publier de données
de production.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:47:31 +01:00

25 lines
688 B
Bash

# Annuaire LDAP
LDAP_URL=ldaps://ldap.example.org
LDAP_BIND_DN= # vide = bind anonyme
LDAP_BIND_PASSWORD=
LDAP_BASE_DN=ou=personnes,dc=example,dc=org
LDAP_FILTER=(objectClass=inetOrgPerson)
LDAP_BIRTHDAY_FILTER=(usrDirectionId=620)
LDAP_GROUP_DNS= # facultatif, DN séparés par ";"
LDAP_CA_CERT= # facultatif
# Nextcloud
NEXTCLOUD_URL=https://cloud.example.org
NEXTCLOUD_USER=annuaire
NEXTCLOUD_APP_PASSWORD=
NEXTCLOUD_ADDRESSBOOK=annuaire
# Fonctionnement
STATE_DB=./state/sync.sqlite
MAPPING_FILE=./mapping.yaml
DIRECTIONS_FILE=./directions.yaml
PHOTO_MAX_SIZE=512
PHOTO_QUALITY=80
MAX_DELETE_RATIO=0.10
LOG_LEVEL=INFO