Author Topic: Configuring Joomla CMS to authenticate against eBox's LDAP  (Read 11445 times)

tatster

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Configuring Joomla CMS to authenticate against eBox's LDAP
« 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

Hope this of help to someone.

Tatster.

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #1 on: January 30, 2008, 09:05:15 am »
Thanks for the tip, tatster

znguissi

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #2 on: February 14, 2008, 10:38:53 am »
thanx
Knowledge is free !

rickz

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #3 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

scooke

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #4 on: August 21, 2008, 08:52:49 am »
yes indeed, thank you very much!!!!

scandragon

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #5 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)

Luke

  • Zen Monk
  • **
  • Posts: 78
  • Karma: +3/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #6 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.

scandragon

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #7 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.

Luke

  • Zen Monk
  • **
  • Posts: 78
  • Karma: +3/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #8 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.

scandragon

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #9 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 ;)

Luke

  • Zen Monk
  • **
  • Posts: 78
  • Karma: +3/-0
    • View Profile
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #10 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?

stuartiannaylor

  • Guest
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #11 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

Geelong PC Creations

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
    • geelong pc creations
Re: Configuring Joomla CMS to authenticate against eBox's LDAP
« Reply #12 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