diff --git a/modules/setup/library/Setup/Steps/AuthenticationStep.php b/modules/setup/library/Setup/Steps/AuthenticationStep.php index 7c98bbbc7..4510f6a21 100644 --- a/modules/setup/library/Setup/Steps/AuthenticationStep.php +++ b/modules/setup/library/Setup/Steps/AuthenticationStep.php @@ -124,7 +124,9 @@ class AuthenticationStep extends Step $backendDesc = '

' . sprintf( mt('setup', 'Users will authenticate using %s.', 'setup.summary.auth'), $authType === 'db' ? mt('setup', 'a database', 'setup.summary.auth.type') : ( - $authType === 'ldap' ? 'LDAP' : mt('setup', 'webserver authentication', 'setup.summary.auth.type') + $authType === 'ldap' || $authType === 'msldap' ? 'LDAP' : ( + mt('setup', 'webserver authentication', 'setup.summary.auth.type') + ) ) ) . '

'; @@ -135,18 +137,20 @@ class AuthenticationStep extends Step . '' . t('Backend Name') . '' . '' . $this->data['backendConfig']['name'] . '' . '' - . ($authType === 'ldap' ? ( + . ($authType === 'ldap' || $authType === 'msldap' ? ( '' . '' . mt('setup', 'User Object Class') . '' - . '' . $this->data['backendConfig']['user_class'] . '' + . '' . ($authType === 'msldap' ? 'user' : $this->data['backendConfig']['user_class']) . '' . '' . '' . '' . mt('setup', 'Custom Filter') . '' - . '' . trim($this->data['backendConfig']['filter']) ?: t('None', 'auth.ldap.filter') . '' + . '' . (trim($this->data['backendConfig']['filter']) ?: t('None', 'auth.ldap.filter')) . '' . '' . '' . '' . mt('setup', 'User Name Attribute') . '' - . '' . $this->data['backendConfig']['user_name_attribute'] . '' + . '' . ($authType === 'msldap' + ? 'sAMAccountName' + : $this->data['backendConfig']['user_name_attribute']) . '' . '' ) : ($authType === 'external' ? ( ''