Compare commits
No commits in common. "e6c9c8213ad19ed996b05208d2418c2b45ce3d63" and "ecfbc63a382f39d98048d4719a39b073a2f8b501" have entirely different histories.
e6c9c8213a
...
ecfbc63a38
|
@ -164,7 +164,7 @@
|
||||||
<slave>casLDAPAttribute</slave>
|
<slave>casLDAPAttribute</slave>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<condition name='disabled_if_not_in' source='lemon_user_db'>
|
<condition name='enabled_if_in' source='lemon_user_db'>
|
||||||
<param>AD</param>
|
<param>AD</param>
|
||||||
<target type='variable'>llADPasswordMaxAge</target>
|
<target type='variable'>llADPasswordMaxAge</target>
|
||||||
<target type='variable'>llADPasswordExpireWarn</target>
|
<target type='variable'>llADPasswordExpireWarn</target>
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
<target type='variable'>activer_sso</target>
|
<target type='variable'>activer_sso</target>
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
|
<auto name='calc_val' target='ldapScheme'>
|
||||||
|
<param>ldaps</param>
|
||||||
|
</auto>
|
||||||
|
|
||||||
<fill name='calc_val_first_value' target='eolesso_adresse'>
|
<fill name='calc_val_first_value' target='eolesso_adresse'>
|
||||||
<param type='eole' optional='True' hidden='False'>authWebName</param>
|
<param type='eole' optional='True' hidden='False'>authWebName</param>
|
||||||
|
@ -31,42 +34,37 @@
|
||||||
<param type='eole'>nom_domaine_machine</param>
|
<param type='eole'>nom_domaine_machine</param>
|
||||||
</fill>
|
</fill>
|
||||||
|
|
||||||
|
<auto name='calc_val' target='ldap_port'>
|
||||||
|
<param>636</param>
|
||||||
|
</auto>
|
||||||
|
|
||||||
<condition name='frozen_if_in' source='activerLemon'>
|
<condition name='frozen_if_in' source='activerLemon'>
|
||||||
<param>oui</param>
|
<param>oui</param>
|
||||||
<target type='variable'>eolesso_adresse</target>
|
<target type='variable'>eolesso_adresse</target>
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
<auto name='calc_multi_condition' target='ldapScheme'>
|
|
||||||
<param>oui</param>
|
|
||||||
<param type='eole' name='condition_1'>ldap_tls</param>
|
|
||||||
<param name='match'>ldaps</param>
|
|
||||||
<param name='default_mismatch'>ldap</param>
|
|
||||||
</auto>
|
|
||||||
|
|
||||||
<auto name='calc_val' target='ldapServer'>
|
<auto name='calc_val' target='ldapServer'>
|
||||||
<param type='eole'>adresse_ip_ldap</param>
|
<param type='eole'>ad_address</param>
|
||||||
</auto>
|
</auto>
|
||||||
|
|
||||||
<auto name='calc_val' target='ldapServerPort'>
|
<auto name='calc_val' target='ldapServerPort'>
|
||||||
<param type='eole'>ldap_port</param>
|
<param type='number'>636</param>
|
||||||
</auto>
|
</auto>
|
||||||
|
|
||||||
<auto name='calc_val' target='lemon_user_db'>
|
<auto name='calc_val' target='lemon_user_db'>
|
||||||
<param>LDAP</param>
|
<param>AD</param>
|
||||||
</auto>
|
</auto>
|
||||||
|
|
||||||
<auto name='calc_val' target='llRegisterDB'>
|
<auto name='calc_val' target='llRegisterDB'>
|
||||||
<param>LDAP</param>
|
<param>AD</param>
|
||||||
</auto>
|
|
||||||
<auto name='calc_val' target='ldapUserBaseDN'>
|
|
||||||
<param type='eole'>ldap_base_dn</param>
|
|
||||||
</auto>
|
</auto>
|
||||||
|
|
||||||
<auto name='calc_val' target='ldapBindUserDN'>
|
<auto name='calc_val' target='ldapBindUserDN'>
|
||||||
<param type='eole'>ldap_reader</param>
|
<param type='eole'>sasl_ldap_reader</param>
|
||||||
</auto>
|
</auto>
|
||||||
|
|
||||||
<auto name='calc_val' target='ldapBindUserPassword'>
|
<auto name='calc_val' target='ldapBindUserPassword'>
|
||||||
<param type='eole'>ldap_reader_passfile</param>
|
<param>/etc/eole/private/sasl-reader.password</param>
|
||||||
</auto>
|
</auto>
|
||||||
|
|
||||||
<auto name='calc_val' target='casFolder'>
|
<auto name='calc_val' target='casFolder'>
|
||||||
|
@ -77,4 +75,4 @@
|
||||||
|
|
||||||
<help />
|
<help />
|
||||||
|
|
||||||
</creole>
|
</creole>
|
||||||
|
|
|
@ -171,6 +171,19 @@
|
||||||
%end if
|
%end if
|
||||||
"ldapAuthnLevel": 2,
|
"ldapAuthnLevel": 2,
|
||||||
"ldapSearchDeref": "find",
|
"ldapSearchDeref": "find",
|
||||||
|
%if %%eole_module == "scribe"
|
||||||
|
"ldapBase": "cn=Users,dc=%echo ",dc=".join(%%ad_domain.split('.')) + '",'
|
||||||
|
"ldapExportedVars": {
|
||||||
|
"cn": "cn",
|
||||||
|
"mail": "mail",
|
||||||
|
"uid": "cn"
|
||||||
|
},
|
||||||
|
"ldapGroupAttributeName": "memberUid",
|
||||||
|
"ldapGroupAttributeNameGroup": "dn",
|
||||||
|
"ldapGroupAttributeNameSearch": "cn",
|
||||||
|
"ldapGroupAttributeNameUser": "cn",
|
||||||
|
"ldapGroupObjectClass": "group",
|
||||||
|
%else
|
||||||
"ldapBase": "%%ldapUserBaseDN",
|
"ldapBase": "%%ldapUserBaseDN",
|
||||||
"ldapExportedVars": {
|
"ldapExportedVars": {
|
||||||
"cn": "cn",
|
"cn": "cn",
|
||||||
|
@ -182,6 +195,7 @@
|
||||||
"ldapGroupAttributeNameSearch": "cn",
|
"ldapGroupAttributeNameSearch": "cn",
|
||||||
"ldapGroupAttributeNameUser": "uid",
|
"ldapGroupAttributeNameUser": "uid",
|
||||||
"ldapGroupObjectClass": "eolegroupe",
|
"ldapGroupObjectClass": "eolegroupe",
|
||||||
|
%end if
|
||||||
"ldapGroupRecursive": 0,
|
"ldapGroupRecursive": 0,
|
||||||
"ldapPasswordResetAttribute": "pwdReset",
|
"ldapPasswordResetAttribute": "pwdReset",
|
||||||
"ldapPasswordResetAttributeValue": "TRUE",
|
"ldapPasswordResetAttributeValue": "TRUE",
|
||||||
|
@ -240,7 +254,11 @@
|
||||||
%end if
|
%end if
|
||||||
%end if
|
%end if
|
||||||
"maintenance": 0,
|
"maintenance": 0,
|
||||||
|
%if %%eole_module == "scribe"
|
||||||
|
"managerDn": "cn=%%ldapBindUserDN,cn=Users,dc=%echo ",dc=".join(%%ad_domain.split('.')) + '",'
|
||||||
|
%else
|
||||||
"managerDn": "%%ldapBindUserDN",
|
"managerDn": "%%ldapBindUserDN",
|
||||||
|
%end if
|
||||||
%if %%is_file(%%ldapBindUserPassword)
|
%if %%is_file(%%ldapBindUserPassword)
|
||||||
"managerPassword": "%%readPass("", %%ldapBindUserPassword)",
|
"managerPassword": "%%readPass("", %%ldapBindUserPassword)",
|
||||||
%else
|
%else
|
||||||
|
|
Loading…
Reference in New Issue