Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: LDAP login + local account configuration 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: 07 August 2016 at 1:31pm | IP Logged Quote draklo

Hi guys,

I am pretty new to Afterlogic Webmail so bare with me. I have recently installed AfterLogic Webmail on my LAMP server and trying to configure it the following way:

- I have 2 domains that I want to manage (domain1.com and domain2.com)
- I want to authorise users via AD (user.name@domain1.com and some.users@domain2.com) so I'd use the "mail" AD attribute as login and AD password as password
- I want to store e-mails on the local file system

I have found the following afterlogic config page for that which is:
http://www.afterlogic.com/docs/plugins-repository/authentication-via-ldap-in-active-directory
however, it just does not work and I can't find any logs which would help me troubleshooting this issue.

I have installed the plugin:
root@myserver:/var/www/html# ll data/plugins/ldap-auth/index.php
-rw-r--r-- 1 www-data www-data 2917 Jul 16 2015 data/plugins/ldap-auth/index.php

configured config.php (added the lines at the bottom) to:
data/settings/config.php

Now, I am trying to get in but it just won't let me.

There are no logs anywhere as well...

root@myserver:/var/www/html# ll data/logs/
total 8
drwxr-xr-x 2 www-data www-data 4096 Apr 25 14:45 ./
drwxr-xr-x 8 www-data www-data 4096 Aug 3 09:10 ../

How can I debug the plugin if possible please? I use Ubuntu 14.

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: 6038
Posted: 08 August 2016 at 3:42am | IP Logged Quote Igor

Make sure you actually have debug logging enabled. That's done in AdminPanel > System > Logging > Enable debug logging; make sure Verbosity option is set to Debug. Also, you may need to recheck webserver is allowed to write under data directory and its subdirectories.

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

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

Thank you Igor,

That answered my question. When I enabled debugging I resolved vast majority of my issues.

Thanks a lot!

P.
Back to Top View draklo's Profile Search for other posts by draklo
 

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