Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: tatster on January 26, 2008, 12:46:04 am

Title: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: tatster on January 26, 2008, 12:46:04 am
Hi all,

I have been doing some experimenting and this evening have succesfully configured Joomla (a fabulous content management system) to use eBox as a source of user authentication using LDAP.
This applies to the latest version of Joomla - 1.5
I've posted the settings that worked for me over on the Joomla forum, but thought it was worth a post here as well.
http://forum.joomla.org/index.php/topic,103577.msg1173244.html#msg1173244 (http://forum.joomla.org/index.php/topic,103577.msg1173244.html#msg1173244)

Hope this of help to someone.

Tatster.
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: Javier Amor Garcia on January 30, 2008, 09:05:15 am
Thanks for the tip, tatster
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: znguissi on February 14, 2008, 10:38:53 am
thanx
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: rickz on February 25, 2008, 08:09:54 pm
Thank you very much... I just now start with Joomla as well.  This is a big plus +++++

Rick
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: scooke on August 21, 2008, 08:52:49 am
yes indeed, thank you very much!!!!
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: scandragon on March 25, 2010, 07:37:06 am
I know this is a rather old thread, but any chance the working settings could be posted here?
It's impossible to read past the first page of that thread linked to by OP, and I really need to get this working.. (Preferably 5 minutes ago)
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: Luke on March 25, 2010, 02:47:23 pm
Joomla settings:
Host:
Port: 389
LDAP v3: Yes
Negotiate TLS: No
Do Not Follow Referrals: No
Authorization Method: Bind Directly as User
Base DN:  dc=ebox
Search String: uid=[search]
Users DN:  uid=[username],ou=users,dc=ebox

Connect Username:  blank
Connect Password:  blank

Map Full Name: sn
Map Email: mail
Map User ID: uid

That's the Joomla side covered.
As for the eBox side, not much to change really apart from enabling the mail module and creating a virtual mail domain even if you are not going to use it for mail.  Also need to create a Firewall rule to allow your webserver to make an incoming LDAP (TCP 389) connection to your eBox.
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: scandragon on March 26, 2010, 06:47:36 am
Thanks :)

But, are you sure about the firewall? In my case I'm running joomla on the server itself.
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: Luke on March 26, 2010, 07:12:36 am
Hi!

I did just a copy and paste  :) found tatster post in a joomla forum. But i didnt make any change on the firewall side. But im just running ebox behind another firewall so the firewall module isnt enabled.

Just using joomla in our intranet. Im not sure what he meant by the firewall side, maybe if you want users from the outside to connect to the joomla with ldap authentication.

I tried the settings yesterday and its work perfectly. Even the autocreation of users.  

Hope this help you a bit scandragon.

Thanks by the way tatster.
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: scandragon on March 28, 2010, 10:07:05 am
Ah, finally got it running almost perfectly :)
A small detail, full name should be mapped to cn instead of sn, otherwise only the last name would appear ;)

Now all I need is to figure out how to get the groups set up right..
Having all users be stuck on registered isn't perfect, as I'd like administrators to have administrator access in Joomla aswell :)

Gonna keep working on that one myself, but if anyone's got a suggestion, I certainly won't ignore it ;)
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: Luke on January 26, 2012, 05:42:00 pm
Hi!

This is not working for us anymore, when we upgraded to Zentyal 2.2. Anyone that have this still working?
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: stuartiannaylor on January 26, 2012, 11:11:38 pm
This is unfortunately not going to help you :)

I have used LDAP and joomla and there are a large qty of apps that could authenticate against LDAP.

I guess with the roadmap 3.0 with kerberos & SSO many intranet authentication problems will be solved.

I was always scared of "messing" with ldap schema and importing further schema or ldif files.

I began to feel that Zentyal would profit from a module that could provide standardised schema addition and some developer guidelines on creating new ldap objects in terms of users. A pearl or PHP snippet of user creation that could be added would benefit.

Maybe it would be a good request to the Zentyal dev team for future releases?

Stuart
Title: Re: Configuring Joomla CMS to authenticate against eBox's LDAP
Post by: Geelong PC Creations on June 28, 2013, 12:21:51 pm
i know this is an old post but i think the issue is php5-ldap is not installed after i installed this it was easy to get joomla to work with zentyal 3.0