Again, as per business requirement, we are looking for some free internal (LAN) chat solution. There are some free LAN chat tools available but most of them are failed to detect multiple VLAN, only working fine in single VLAN.
But we need something which can be implemented on more than 50 branches across India. So we are looking for a free chat server. There are some chat servers available, but none of them support Active Directory (LDAP) authentication.
Suddenly we found a solution, actually it’s not a single solution, it a combine solution of PHPBB3 and AJAX Chat.
- PHPBB3 with LDAP Authentication
For PHP and MySql with Apache web Server you can use Wamp Server.
You have to install PHPBB3 first, for PHPBB3 installation help click here.
Now you have to set Active Directory authentication for PHPBB3. For that first you have to enable LDAP extension on php and you have to create a user id in active directory with password never expire enabled. Then you have to create the same id in PHPBB3, if you decided to use displayName as all users ID then you have create that ID same as displayName or else you can use sAMAccountName as all users logon id, for that case you have to create that ID same as sAMAccountName.
For e.g., you create the ID as PHPBB User and its logon id is phpuse, in this case displayName = PHPBB User and sAMAccountName = phpuse.*
After that you have to give founder permission on PHPBB3 on that ID, and logon with that ID in phpbb, then goto ACP>General>Authentication, Select an authentication method as LDAP and use following as per your domain.
LDAP server name: Your Active Directory Server IP
LDAP server port: Port will be default
LDAP base dn: DC=donainname,DC=com
LDAP uid: displayName or sAMAccountName *
LDAP user filter: ObjectClass=person
LDAP e-mail attribute: mail **
LDAP user dn: cn=username,ou=ou name,dc=domain,dc=com
LDAP password: Password of above user id.
If you specify everything properly, then you will get following screen.
*If you set displayName in LDAP uid, then user id will be their domain Display Name, and if you set sAMAccountName then user id will be domain logon id.
**We have Exchange Server in our network so for that we use mail as e-mail attribute.
Now you have to install AJAX Chat on PHPBB3, download AJAX Chat from bellow link, and extract it into PHPBB3 install directory and execute following path.
For further details, read supplied readme.txt
Download(with Small modification):
chat.zip (457.3 KiB, 697 hits)
Now go to http://example.org/phpBB3/chat and logon with any domain user id and password.
After login u can easily chat with others…
I think this is the easiest way to install chat server on your organization for free…
Disclaimer: All posts and opinions on this site are provided AS IS with no warranties. These are my own personal opinions and do not represent my employer’s view in any way.
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.