+ Post New Thread
Results 1 to 13 of 13
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 ...
  1. #1

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,523
    Thank Post
    527
    Thanked 2,645 Times in 2,047 Posts
    Blog Entries
    24
    Rep Power
    924

    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?

  2. Thanks to localzuk from:

    Burt (10th June 2008)

  3. #2

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,012
    Thank Post
    490
    Thanked 1,345 Times in 731 Posts
    Rep Power
    429
    Haven't looked at 1.5 LDAP but have you tried removing CN=[username] from the users DN string?

  4. Thanks to SYSMAN_MK from:

    localzuk (24th April 2008)

  5. #3

    Join Date
    Nov 2005
    Location
    North
    Posts
    1,903
    Thank Post
    25
    Thanked 96 Times in 76 Posts
    Rep Power
    51
    Quote Originally Posted by localzuk View Post
    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.

  6. 2 Thanks to Simcfc73:

    Burt (10th June 2008), localzuk (24th April 2008)

  7. #4

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,523
    Thank Post
    527
    Thanked 2,645 Times in 2,047 Posts
    Blog Entries
    24
    Rep Power
    924
    In reply to SYSMAN - Yep...

  8. #5

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,523
    Thank Post
    527
    Thanked 2,645 Times in 2,047 Posts
    Blog Entries
    24
    Rep Power
    924
    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.

  9. #6

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,012
    Thank Post
    490
    Thanked 1,345 Times in 731 Posts
    Rep Power
    429
    Try adding OU=Managed Users to your Base DN

  10. Thanks to SYSMAN_MK from:

    localzuk (24th April 2008)

  11. #7

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,012
    Thank Post
    490
    Thanked 1,345 Times in 731 Posts
    Rep Power
    429
    Nevermind, beated me to it.

  12. #8
    Burt's Avatar
    Join Date
    Jun 2008
    Location
    The South
    Posts
    26
    Thank Post
    4
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    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

  13. #9

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,523
    Thank Post
    527
    Thanked 2,645 Times in 2,047 Posts
    Blog Entries
    24
    Rep Power
    924

    Question

    Quote Originally Posted by Burt View Post
    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?

  14. #10
    Burt's Avatar
    Join Date
    Jun 2008
    Location
    The South
    Posts
    26
    Thank Post
    4
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    As per Simcfc73...

  15. #11
    Burt's Avatar
    Join Date
    Jun 2008
    Location
    The South
    Posts
    26
    Thank Post
    4
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    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 :-)

  16. #12

    Join Date
    Aug 2009
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    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:

  17. #13

    Join Date
    Dec 2009
    Location
    Hungary
    Posts
    1
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    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:
+ Post New Thread

Similar Threads

  1. LDAP and Joomla 1.5.26753356785334
    By Simcfc73 in forum Web Development
    Replies: 7
    Last Post: 13th June 2011, 02:51 PM
  2. phpESP and LDAP
    By brubakes in forum Educational Software
    Replies: 0
    Last Post: 3rd January 2008, 09:55 PM
  3. External Joomla to internal LDAP
    By MK-2 in forum Web Development
    Replies: 5
    Last Post: 12th December 2007, 12:01 PM
  4. PHP and LDAP on IIS
    By srochford in forum Windows
    Replies: 2
    Last Post: 31st October 2007, 10:05 AM
  5. ldap on php
    By browolf in forum Web Development
    Replies: 11
    Last Post: 8th May 2007, 10: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
  •