Import configuration from production
This commit is contained in:
parent
53b900e97c
commit
a3034c98af
|
@ -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
|
||||
|
|
|
@ -32,7 +32,7 @@ div#wrap {
|
|||
}
|
||||
|
||||
div#tabs {
|
||||
border: none;
|
||||
display: none;
|
||||
}
|
||||
ul.ui-tabs-nav {
|
||||
display: none;
|
||||
|
|
Reference in New Issue