From 0935d0feeb866fbfd554843127e6059ff6b37493 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 8 Jul 2014 15:48:31 +0200 Subject: [PATCH] update authentic config --- amue.conf | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/amue.conf b/amue.conf index 8fde39b..de48073 100644 --- a/amue.conf +++ b/amue.conf @@ -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"]