update authentic config

This commit is contained in:
Benjamin Dauvergne 2014-07-08 15:48:31 +02:00
parent 419a3698ae
commit 0935d0feeb
1 changed files with 12 additions and 1 deletions

View File

@ -9,12 +9,23 @@ 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",
"realm": "amue.fr",
"basedn": "OU=AMUE,DC=wan,DC=amue,DC=fr",
"binddn": "ldap.read@amue.fr",
"bindpw": "",
"user_filter": "sAMAccountName=%s",
"active_directory": true,
"attributes": ["userPrincipalName"],
"attributes": [
"sAMAccountName",
"mail",
"sn",
"givenName",
"userPrincipalName"],
"email_field": "mail",
"fname_field": "givenName",
"lname_field": "sn",
"username_template": "{sAMAccountName[0]}@{realm}",
"external_id_tuples": [["sAMAccountName:noquote"],["dn:noquote"]],
"mandatory_attributes_values": {
"eduPersonAffiliation": ["employee"],
"eduPersonScopedAffiliation": ["employee@amue.fr"]