This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
amue-authentic2/amue.conf

24 lines
992 B
Plaintext

# do not remove this line, it imports db configuration from dbconfig-common
. /etc/amue-authentic2/db.conf
export A2_HOMEPAGE_URL=http://www.amue.fr/
export CACHE_BACKEND='{"BACKEND": "django.core.cache.backends.memcached.MemcachedCache", "LOCATION": "127.0.0.1:11211"}'
export USE_X_FORWARDER_HOST=1
export ALLOWED_HOSTS="idptest.amue.fr:idp.amue.fr"
export LDAP_AUTH_SETTINGS='[{
"url": "ldap://194.167.237.11",
"basedn": "OU=AMUE,DC=wan,DC=amue,DC=fr",
"binddn": "ldap.read@amue.fr",
"bindpw": "",
"user_filter": "sAMAccountName=%s",
"active_directory": true,
"attributes": ["userPrincipalName"],
"mandatory_attributes_values": {
"eduPersonAffiliation": ["employee"],
"eduPersonScopedAffiliation": ["employee@amue.fr"]
},
"attribute_mappings": [
["userPrincipalName", "eduPersonPrincipalName"]
]
}]'