Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Active Directory Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
fletcjas
Newbie
Newbie


Joined: 15 January 2013
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 15 January 2013 at 4:32pm | IP Logged Quote fletcjas

Hey,
Am i able to intergrate into my AD?

Thanks - Jason
Back to Top View fletcjas's Profile Search for other posts by fletcjas
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 January 2013 at 1:58am | IP Logged Quote Igor

There are wiki articles on LDAP authentication and LDAP address book access, and while those are for WebMail Pro, we don't see why that wouldn't work for Lite. Of course, you will need to adapt the functionality to your specific storage. We can assist with that in terms of custom development, please let us know if you might be interested.

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


Joined: 15 January 2013
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 16 January 2013 at 7:43am | IP Logged Quote fletcjas

I have read this document, and i don't fully understand it
Back to Top View fletcjas's Profile Search for other posts by fletcjas
 
fletcjas
Newbie
Newbie


Joined: 15 January 2013
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 16 January 2013 at 3:02pm | IP Logged Quote fletcjas

I have just tried:

<?php

return array(
     'plugins.ldap-auth' => true,
     'plugins.ldap-auth.config.host' => 'MY DOMAIN',
     'plugins.ldap-auth.config.port' => 389,
     'plugins.ldap-auth.config.bind-dn' => 'MY USER NAME',
     'plugins.ldap-auth.config.password' => 'PASSWORD OF MY USER',
     'plugins.ldap-auth.config.users-dn' => 'Users',
     'plugins.ldap-auth.config.email-field' => 'email',
     'plugins.ldap-auth.config.password-field' => 'userpassword'
);

I logs me in, But my mail isn't the same as in outlook, and still wont send mail.. I have disabled the auth, still the same.

Sorry to be a pain. Jase
Back to Top View fletcjas's Profile Search for other posts by fletcjas
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 January 2013 at 3:00am | IP Logged Quote Igor

So the authentication itself works, if I understand this correctly.

Comparing with Outlook isn't really going to work, as Outlook uses its own email protocol. Try some IMAP or POP3 client like Outlook Express or Mozilla Thunderbird and see if the behavior is the same there. Be sure to check the logs to find out what is going on there.

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


Joined: 15 January 2013
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 18 January 2013 at 6:57am | IP Logged Quote fletcjas

When i follow the instructions (site1) i get ' Data transfer has failed, probably due to server error. Please contact system administrator ' I'm not 100% sure what values to put into the script, This is what my 'Config.php' file lookes like:
<?php

return array(
     'plugins.ldap-auth' => true,
     'plugins.ldap-auth.config.host' => 'MY DOMAIN HERE',
     'plugins.ldap-auth.config.port' => 389,
     'plugins.ldap-auth.config.bind-dn' => 'cn=admin',
     'plugins.ldap-auth.config.password' => '********',
     'plugins.ldap-auth.config.users-dn' => 'ou=Users',
     'plugins.ldap-auth.config.email-field' => 'email',
     'plugins.ldap-auth.config.password-field' => 'userpassword'
);

And this is the logs:

[14:54:37.31] Location: index.php

[14:54:37.55] /adminpanel/index.php
[14:54:37.55]
[14:54:37.55] call CWebMailModule->PopulateData->ServicesLogging()

[14:54:39.17] [POST(5)] /adminpanel/index.php?submit
[14:54:39.17] POST > [form_id, ch_EnableDebugLogging, selVerbosity, ch_EnableUserActivityLogging, btnUserActivityClearLog]
[14:54:39.17]
[14:54:39.17] call CWebMailModule->StandardPostAction->ServicesLogging()
[14:54:39.21] Location: index.php

[14:54:39.45] /adminpanel/index.php
[14:54:39.45]
[14:54:39.45] call CWebMailModule->PopulateData->ServicesLogging()

[14:55:12.10] [POST(1)] /processing.php
[14:55:12.10] POST > [xml]
[14:55:12.10]
[14:55:12.10] POST[xml] = <?xml version="1.0" encoding="utf-8"?><webmail><param name="action" value="login" /><param name="request" value="" /><param name="token" value="2d46dee104365c79ea46c4c834148092"/><param name="email"><![CDATA[admin@fletchers-home.net]]></param><param name="mail_inc_pass"><![CDATA[fled42]]></param><param name="sign_me" value="0"/><param name="advanced" value="0"/><param name="domain_name"><![CDATA[]]></param><param name="language"><![CDATA[]]></param></webmail>
[14:55:12.15] DB : connected to root@localhost
[14:55:12.17] DB[1] > SELECT `id_domain`, `id_realm`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `layout`, `xlist`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab` FROM awm_domains WHERE `url` = 'fletchers-home.net:2095'
[14:55:12.22] CAppServer->DoLogin
[14:55:12.23] HOOK > CLDAPAuthPlugin->PluginLoginToAccountExValues
[14:55:12.24] Ldap: connect to fletchers-home.net:389
[14:55:12.26] DB : disconnect from root@localhost

[14:55:18.09] /adminpanel/index.php?pop&type=log&action=view
[14:55:18.09]
[14:55:18.09] call CWebMailModule->StandardPopAction->Services()


Again, Sorry to be a pain, but im not understanding this at all..

REF: Site1 - http://www.afterlogic.com/wiki/Enable_LDAP_authentication_%28WebMail_Pro_6_PHP%29
Back to Top View fletcjas's Profile Search for other posts by fletcjas
 
fletcjas
Newbie
Newbie


Joined: 15 January 2013
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 18 January 2013 at 7:01am | IP Logged Quote fletcjas

ADDON NOTE:
when i add     'plugins.ldap-contacts' => true
to the config.php file, I get ERROR 500 and nothing is working..
Back to Top View fletcjas's Profile Search for other posts by fletcjas
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 January 2013 at 12:44pm | IP Logged Quote Igor

Quote:
I'm not 100% sure what values to put into the script


You put values which match your LDAP storage structure, that's the only way to have this working.

Quote:
Data transfer has failed, probably due to server error. Please contact system administrator


Quote:
to the config.php file, I get ERROR 500 and nothing is working..


Both of those are probably caused by server error, and the 2nd one looks like PHP syntax error. You'll need to check PHP and webserver log to find out what exactly is causing this, and of course basic knowledge of PHP syntax is a must here.

--
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