Import configuration from production

This commit is contained in:
Benjamin Dauvergne 2014-12-19 03:14:55 +01:00
parent 53b900e97c
commit a3034c98af
2 changed files with 17 additions and 11 deletions

View File

@ -13,29 +13,35 @@ LDAP_AUTH_SETTINGS=[
{
"url": "ldap://194.167.237.11",
"realm": "amue.fr",
"basedn": "OU=AMUE,DC=wan,DC=amue,DC=fr",
"basedn": "DC=wan,DC=amue,DC=fr",
"binddn": "ldap.read@amue.fr",
"bindpw": os.environ['AMUE_LDAP_PASSWORD'],
"user_filter": "sAMAccountName=%s",
"user_filter": "samaccountname=%s",
"active_directory": True,
"attributes": [
"sAMAccountName",
"samaccountname",
"mail",
"sn",
"cn",
"givenName",
"userPrincipalName"],
"userprincipalname"],
"email_field": "mail",
"fname_field": "givenName",
"lname_field": "sn",
"username_template": "{sAMAccountName[0]}@{realm}",
"external_id_tuples": [["sAMAccountName:noquote"],["dn:noquote"]],
"username_template": "{samaccountname[0]}",
"external_id_tuples": [["samaccountname:noquote"],["dn:noquote"]],
"mandatory_attributes_values": {
"eduPersonAffiliation": ["employee"],
"eduPersonScopedAffiliation": ["employee@amue.fr"]
"edupersonaffiliation": ["employee"],
"edupersonprimaryaffiliation": ["employee"],
"edupersonscopedaffiliation": ["employee@amue.fr"],
},
"attribute_mappings": [
["userPrincipalName", "eduPersonPrincipalName"]
]
["userprincipalname", "edupersonprincipalname"],
["mail", "email"],
["cn", "displayname"],
],
"transient": False,
}
]
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')
A2_IDP_SAML2_ENABLE=True

View File

@ -32,7 +32,7 @@ div#wrap {
}
div#tabs {
border: none;
display: none;
}
ul.ui-tabs-nav {
display: none;