Author |
|
draklo Newbie
Joined: 07 August 2016 Location: Czech Republic
Online Status: Offline Posts: 5
|
Posted: 10 August 2016 at 6:48am | IP Logged
|
|
|
Gentlemen,
Been battling with this one for some time:
cat /var/www/html/data/settings/settings.xml | grep LoginForm
<LoginFormType>Login</LoginFormType>
For logging in - I would like to use only the username so in the config.php I have:
'plugins.ldap-auth.config.login-field' => 'sAMAccountName',
'plugins.ldap-auth.config.email-field' => 'userPrincipalName',
where userPrincipalName is basically the full e-mail address like name.surname@mydomain.com (mind that "mail" attribute has got something else so I can not use it).
Whenever I am trying to log in I see:
[13:33:37.98][7eac996f] exception 'CApiValidationException' with message 'Required fields cannot be empty' in /var/www/html/libraries/afterlogic/common/managers/users/classes/account.php:380
That line in account.php file has:
case api_Validate::IsEmpty($this->Email):
throw new CApiValidationException(Errs::Validation_FieldIsEmpty, null, array(
&n bsp; '{{ClassName}}' => 'CAccount', '{{ClassField}}' => 'Email'));
What am I missing in my config?
Thanks,
P.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 10 August 2016 at 7:05am | IP Logged
|
|
|
We've responded to this message you posted in our HelpDesk.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|