introduce go specific fields authored by Roland Alton's avatar Roland Alton
...@@ -92,11 +92,11 @@ $mapping=array( ...@@ -92,11 +92,11 @@ $mapping=array(
'work_state' => 'region', 'work_state' => 'region',
'work_city' => 'localityAddress', 'work_city' => 'localityAddress',
'work_fax' => 'pager', 'work_fax' => 'pager',
'currency' => 'destinationIndicator', 'currency' => 'currency', // check LDAP scheme name
'max_rows_list' => 'primaryChallenges', 'max_rows_list' => 'go_max_rows_list', // new LDAP field
'timezone' => 'challenges', 'timezone' => 'go_timezone', // check LDAP scheme name
'start_module' => 'firstChallenge', 'start_module' => 'go_start_module', // new LDAP field
'theme' => 'secondChallenge', 'theme' => 'go_scheme', // new LDAP field
'language' => new \GO\Ldapauth\Mapping\Constant('en'), 'language' => new \GO\Ldapauth\Mapping\Constant('en'),
'enabled' => new \GO\Ldapauth\Mapping\FunctionMapping('custom_ldap_mapping_function_enabled'), 'enabled' => new \GO\Ldapauth\Mapping\FunctionMapping('custom_ldap_mapping_function_enabled'),
'exclude' => new \GO\Ldapauth\Mapping\FunctionMapping('custom_ldap_mapping_function_exclude'), 'exclude' => new \GO\Ldapauth\Mapping\FunctionMapping('custom_ldap_mapping_function_exclude'),
...@@ -115,6 +115,6 @@ if (!function_exists('custom_ldap_mapping_function_exclude')) { ...@@ -115,6 +115,6 @@ if (!function_exists('custom_ldap_mapping_function_exclude')) {
} }
``` ```
GroupOffice may require additional LDAP fields: timezone, start-module, theme . challenges are for password recovery in keycloak, so we should not overwrite them with GroupOffice fields. GroupOffice will require additional LDAP fields: timezone (standard), start-module, theme . challenges are for password recovery in keycloak, so we should not overwrite them with GroupOffice fields.
\ No newline at end of file