diff --git a/dicos/70_lemonldap_ng.xml b/dicos/70_lemonldap_ng.xml index ccf0c56..519454f 100644 --- a/dicos/70_lemonldap_ng.xml +++ b/dicos/70_lemonldap_ng.xml @@ -36,10 +36,13 @@ 64 + + Configuration DNS Configuration LDAP + Configuration CAS @@ -62,6 +65,9 @@ ['ldaps','ldap'] + + casLDAPAttribute + non lemon diff --git a/tmpl/lmConf-1.js b/tmpl/lmConf-1.js index 54e5a7e..f430f5c 100644 --- a/tmpl/lmConf-1.js +++ b/tmpl/lmConf-1.js @@ -158,7 +158,13 @@ "samlAuthnContextMapPasswordProtectedTransport": 3, "ldapUsePasswordResetAttribute": 1, "ldapPpolicyControl": 0, - "casAttributes": {}, + "casAttributes": { + "uid":"uid", +%for att in %%casAttribute + "%%casAttribute": "%%casAttribute.casLDAPAttribute", +%end for + "mail":"mail" + }, "issuerDBSAMLPath": "^/saml/", "samlAttributeAuthorityDescriptorAttributeServiceSOAP": "urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;", "portalDisplayAppslist": 1,