26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
# do not remove this line, it imports db configuration from dbconfig-common
|
|
. /etc/amue-authentic2/db.conf
|
|
|
|
export REGISTRATION_OPEN=0
|
|
export A2_CAN_RESET_PASSWORD=0
|
|
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"]
|
|
]
|
|
}]'
|