Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: AD login issues Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
draklo
Newbie
Newbie
Avatar

Joined: 07 August 2016
Location: Czech Republic
Online Status: Offline
Posts: 5
Posted: 10 August 2016 at 6:48am | IP Logged Quote draklo

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 View draklo's Profile Search for other posts by draklo
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 10 August 2016 at 7:05am | IP Logged Quote Igor

We've responded to this message you posted in our HelpDesk.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide