Web Development Thread, Joomla 1.5 and LDAP/AD in Coding and Web Development; Hi all,
I've been given the go ahead to do a new design for our school site and I'm taking ...
-
24th April 2008, 04:11 PM #1 Joomla 1.5 and LDAP/AD
Hi all,
I've been given the go ahead to do a new design for our school site and I'm taking the opportunity to move it to Joomla 1.5 from 1.0.
Please can someone advise me on how to get it to authenticate against the active directory?
I have set it up as:
Host:10.5.143.10
Port:389
v3:Yes
TLS: No
Follow Referrals: No
Method: Bind and Search
Base DN: DC=sch4290,DC=somerset,DC=gov,DC=uk
Search String:sAMAccountName=[search]
Users DN: CN=[username],OU=Staff,OU=Managed Users,DC=sch4290,DC=somerset,DC=gov,DC=uk
Username:CN=Administrator,CN=Users,DC=sch4290,DC=s omerset,DC=gov,DC=uk
Password: **********
Map name: displayName
Map mail: mail
Map uid: sAMAccountName
But all users in that OU still can't log in.
Any ideas?
-
-
IDG Tech News
-
24th April 2008, 04:47 PM #2 Haven't looked at 1.5 LDAP but have you tried removing CN=[username] from the users DN string?
-
Thanks to SYSMAN_MK from:
localzuk (24th April 2008)
-
24th April 2008, 05:05 PM #3 
Originally Posted by
localzuk
Hi all,
I've been given the go ahead to do a new design for our school site and I'm taking the opportunity to move it to Joomla 1.5 from 1.0.
Please can someone advise me on how to get it to authenticate against the active directory?
I have set it up as:
Host:10.5.143.10
Port:389
v3:Yes
TLS: No
Follow Referrals: No
Method: Bind and Search
Base DN: DC=sch4290,DC=somerset,DC=gov,DC=uk
Search String:sAMAccountName=[search]
Users DN: CN=[username],OU=Staff,OU=Managed Users,DC=sch4290,DC=somerset,DC=gov,DC=uk
Username:CN=Administrator,CN=Users,DC=sch4290,DC=s omerset,DC=gov,DC=uk
Password: **********
Map name: displayName
Map mail: mail
Map uid: sAMAccountName
But all users in that OU still can't log in.
Any ideas?
Host IP ADDRESS
Port 389
LDAP V3 Yes
Negotiate TLS No
Do not follow referrals No
Authorization Method Bind and Search
Base DN CN=Users,DC=mydomain,DC=co,DC=uk
Search String sAMAccountName=[search]
Users DN Leave Blank
--------------------------------------------------------------------------------
Connect username cn=LDAPACCESS,cn=Users,DC=mydomain,DC=co,DC=uk
Connect password password
--------------------------------------------------------------------------------
Map: Full Name DisplayName
Map: E-mail mail
Map: User ID sAMAccountName
Think mine worked with this but I stopped using it, spent many hours on the Joomla forum trying to find it out.
-
2 Thanks to Simcfc73:
Burt (10th June 2008), localzuk (24th April 2008)
-
24th April 2008, 05:11 PM #4 In reply to SYSMAN - Yep...
-
-
24th April 2008, 05:14 PM #5 Ahh... Got it. My Base DN is OU=Staff,OU=Managed Users,DC=sch4290,DC=somerset,DC=gov,DC=uk
and the rest of the settings are like simcfc73 says.
-
-
24th April 2008, 05:16 PM #6 Try adding OU=Managed Users to your Base DN
-
Thanks to SYSMAN_MK from:
localzuk (24th April 2008)
-
24th April 2008, 05:17 PM #7 Nevermind, beated me to it.
-
-
4th June 2008, 02:26 PM #8 I am trying to get my Joomla 1.5 to link to my LDAP and not getting very far...may i ask?...In following is the LDAPACCESS and password a new User and Password that has been set up in AD as the connect username? Maybe a daft question but i am all out of ideas!
Connect username cn=LDAPACCESS,cn=Users,DC=mydomain,DC=co,DC=uk
Connect password password
Cheers
Burt
-
-
4th June 2008, 02:28 PM #9

Originally Posted by
Burt
I am trying to get my Joomla 1.5 to link to my LDAP and not getting very far...may i ask?...In following is the LDAPACCESS and password a new User and Password that has been set up in AD as the connect username? Maybe a daft question but i am all out of ideas!
Connect username cn=LDAPACCESS,cn=Users,DC=mydomain,DC=co,DC=uk
Connect password password
Cheers
Burt
What are the rest of your settings?
-
-
4th June 2008, 02:31 PM #10
-
-
10th June 2008, 08:00 AM #11 All sorted...it was a combination of errors! The first was the nut behind the keyboard! - I forgot to add an e-mail address to the AD record and we all know how fickle Joomla! is about e-mail addresses!
The second was that for some bazaar reason RRAS was started on the Server and preventing access to the IP I was trying to bind too...
Never the less all sorted now and thanks to the guys for all the posts above that pointed me in the right direction...
Burt :-)
-
-
25th August 2009, 10:03 AM #12
- Rep Power
- 0
Help please
Hi,
Are you guys using Joomla 1.5 LDAP for Single Sign On...
i.e. A person logs into their computer in the morning via Active Directory and then if they open a browser and go to the joomla powered intranet they are automatically authenticated as a joomla user?
If so, that's what I'm after but I can't get it to work:
I have a read-only username and password for our AD network and I can get an PHP LDAP script to start a search and bind, but when it comes to Joomla i've tried all these settings and nothing ever happens. In the connect username/password I have the read-only username and password I use in the PHP LDAP script.
Host 10.168.150.50
Port 389
LDAP V3 Yes
Negotiate TLS No
Do not follow referrals No
Authorization Method Bind and Search
Base DN OU=UserAccounts,DC=ad,DC=xxx,DC=gov,DC=uk
Search String sAMAccountName=[search]
Users DN Leave Blank
--------------------------------------------------------------------------------
Connect username ad\IntrLDAP
Connect password Me7e9V2
--------------------------------------------------------------------------------
Map: Full Name DisplayName
Map: E-mail mail
Map: User ID sAMAccountName
Any help gratefully received
love this guy:
-
-
4th December 2009, 05:23 PM #13
- Rep Power
- 0
Hi,
Thanks for this hint. Accoring to this post I was able to setup LDAP auth on my Joomla 1.5
Leaving the User's DN was the real solution.
Thanks & Regards
Atte
-
SHARE:
Similar Threads
-
By Simcfc73 in forum Web Development
Replies: 7
Last Post: 13th June 2011, 01:51 PM
-
By brubakes in forum Educational Software
Replies: 0
Last Post: 3rd January 2008, 09:55 PM
-
By MK-2 in forum Web Development
Replies: 5
Last Post: 12th December 2007, 12:01 PM
-
By srochford in forum Windows
Replies: 2
Last Post: 31st October 2007, 10:05 AM
-
By browolf in forum Web Development
Replies: 11
Last Post: 8th May 2007, 09:33 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules