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",
|
"url": "ldap://194.167.237.11",
|
||||||
"realm": "amue.fr",
|
"realm": "amue.fr",
|
||||||
"basedn": "OU=AMUE,DC=wan,DC=amue,DC=fr",
|
"basedn": "DC=wan,DC=amue,DC=fr",
|
||||||
"binddn": "ldap.read@amue.fr",
|
"binddn": "ldap.read@amue.fr",
|
||||||
"bindpw": os.environ['AMUE_LDAP_PASSWORD'],
|
"bindpw": os.environ['AMUE_LDAP_PASSWORD'],
|
||||||
"user_filter": "sAMAccountName=%s",
|
"user_filter": "samaccountname=%s",
|
||||||
"active_directory": True,
|
"active_directory": True,
|
||||||
"attributes": [
|
"attributes": [
|
||||||
"sAMAccountName",
|
"samaccountname",
|
||||||
"mail",
|
"mail",
|
||||||
"sn",
|
"sn",
|
||||||
|
"cn",
|
||||||
"givenName",
|
"givenName",
|
||||||
"userPrincipalName"],
|
"userprincipalname"],
|
||||||
"email_field": "mail",
|
"email_field": "mail",
|
||||||
"fname_field": "givenName",
|
"fname_field": "givenName",
|
||||||
"lname_field": "sn",
|
"lname_field": "sn",
|
||||||
"username_template": "{sAMAccountName[0]}@{realm}",
|
"username_template": "{samaccountname[0]}",
|
||||||
"external_id_tuples": [["sAMAccountName:noquote"],["dn:noquote"]],
|
"external_id_tuples": [["samaccountname:noquote"],["dn:noquote"]],
|
||||||
"mandatory_attributes_values": {
|
"mandatory_attributes_values": {
|
||||||
"eduPersonAffiliation": ["employee"],
|
"edupersonaffiliation": ["employee"],
|
||||||
"eduPersonScopedAffiliation": ["employee@amue.fr"]
|
"edupersonprimaryaffiliation": ["employee"],
|
||||||
|
"edupersonscopedaffiliation": ["employee@amue.fr"],
|
||||||
},
|
},
|
||||||
"attribute_mappings": [
|
"attribute_mappings": [
|
||||||
["userPrincipalName", "eduPersonPrincipalName"]
|
["userprincipalname", "edupersonprincipalname"],
|
||||||
]
|
["mail", "email"],
|
||||||
|
["cn", "displayname"],
|
||||||
|
],
|
||||||
|
"transient": False,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')
|
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')
|
||||||
|
A2_IDP_SAML2_ENABLE=True
|
||||||
|
|
|
@ -32,7 +32,7 @@ div#wrap {
|
||||||
}
|
}
|
||||||
|
|
||||||
div#tabs {
|
div#tabs {
|
||||||
border: none;
|
display: none;
|
||||||
}
|
}
|
||||||
ul.ui-tabs-nav {
|
ul.ui-tabs-nav {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Reference in New Issue