+ Post New Thread
Results 1 to 11 of 11
Virtual Learning Platforms Thread, Moodle and LDAP in Technical; I am finally sorting out a moodle setup within the school (the last one was external for whilst we have ...
  1. #1

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,992
    Thank Post
    1,359
    Thanked 1,828 Times in 1,135 Posts
    Blog Entries
    19
    Rep Power
    602

    Moodle and LDAP

    I am finally sorting out a moodle setup within the school (the last one was external for whilst we have no connection into the school) ... and I thought we might as well go the whole hog and get LDAP sorted.

    I am using a WAMP box (using XAMPP latest build) with the latest stable build of Moodle and I am banging my head against a brick wall with the old LDAP PHP module not working (discussed on the moodle forums here) but I still can't get it working ...

    DLLs have been copied into system32 ... the path has been added into the php.ini file ... I have tried uncommenting the recommended bits ... still no joy.

    Any advice appreciated

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Moodle and LDAP

    install lamp:

    Code:
     sudo apt-get install php5-ldap
    sudo /etc/init.d/apache2 restart

  3. #3

    Join Date
    Jan 2007
    Location
    Birmingham
    Posts
    807
    Thank Post
    29
    Thanked 36 Times in 24 Posts
    Rep Power
    26

    Re: Moodle and LDAP

    I know it sounds silly but have you restarted the server?

    If the issue that ldap wont bind? I had a problem with that, but i found that using ldapbind@FQDN worked.

  4. #4

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,992
    Thank Post
    1,359
    Thanked 1,828 Times in 1,135 Posts
    Blog Entries
    19
    Rep Power
    602

    Re: Moodle and LDAP

    @cybernerd
    I already have it working on a LAMP box ... I am trying to get it working on a WAMP box.

    The server has been restarted as well as individual services ... I know it is just going to be something stupid but I can't spot it yet ...

    I will leave it for the moment and go and work on the Joomla build, and the RT.

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,819
    Thank Post
    110
    Thanked 588 Times in 509 Posts
    Blog Entries
    1
    Rep Power
    226

    Re: Moodle and LDAP

    LDAP doesn't work correctly on WAMP.

    Use IIS + Intergrated authentication and suffer the performance implications or use LAMP.

  6. #6
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    365
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    26

    Re: Moodle and LDAP

    ops:

  7. #7
    Chafftech's Avatar
    Join Date
    Mar 2006
    Location
    Rainham, London
    Posts
    77
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Moodle and LDAP

    Quote Originally Posted by GrumbleDook
    I am finally sorting out a moodle setup within the school (the last one was external for whilst we have no connection into the school) ... and I thought we might as well go the whole hog and get LDAP sorted.

    I am using a WAMP box (using XAMPP latest build) with the latest stable build of Moodle and I am banging my head against a brick wall with the old LDAP PHP module not working (discussed on the moodle forums here) but I still can't get it working ...

    DLLs have been copied into system32 ... the path has been added into the php.ini file ... I have tried uncommenting the recommended bits ... still no joy.

    Any advice appreciated
    I have LDAP working on my WAMP server 1.6.3 setup on a windows 2000 member server. It has been working since sept 2006 - maybe I can help can you tell me the exact problem your having?

  8. #8

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,992
    Thank Post
    1,359
    Thanked 1,828 Times in 1,135 Posts
    Blog Entries
    19
    Rep Power
    602

    Re: Moodle and LDAP

    Quote Originally Posted by Geoff
    LDAP doesn't work correctly on WAMP.

    Use IIS + Intergrated authentication and suffer the performance implications or use LAMP.
    $$*&%&$*%$!!!!!

    oh well ... pop authentication it is then ... just got to populate the accounts now then.

  9. #9
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    365
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    26

    Re: Moodle and LDAP

    ops:

  10. #10
    alan-d's Avatar
    Join Date
    Aug 2005
    Location
    Sutton Coldfield
    Posts
    2,421
    Thank Post
    360
    Thanked 258 Times in 189 Posts
    Rep Power
    76

    Re: Moodle and LDAP

    We have a stock install of Apache, php and MySQL - and LDAP works well with moodle. Sometimes LAMP, WAMP and any other distro are not worth the bother.

    Happy to look at your php.ini and httpd.conf files - sometimes a fresh pair of eyes helps.

  11. #11

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,992
    Thank Post
    1,359
    Thanked 1,828 Times in 1,135 Posts
    Blog Entries
    19
    Rep Power
    602

    Re: Moodle and LDAP

    Finally found the offending line ... and it was indeed in the php.ini in the apache\bin (I thought I had already done this one too ... obviously not!)

    Now just gotta get the ldap settings right ... it doesn't like using the account we already have for this sort of thing (we bind FirstClass to the AD and it doesn't like using the same account or a copied account.)

SHARE:
+ Post New Thread

Similar Threads

  1. moodle ldap default values if not set by AD
    By russdev in forum Virtual Learning Platforms
    Replies: 12
    Last Post: 8th June 2010, 11:46 AM
  2. Moodle and LDAP Security Concerns
    By Optimus in forum How do you do....it?
    Replies: 3
    Last Post: 10th December 2007, 06:28 PM
  3. PHP and LDAP on IIS
    By srochford in forum Windows
    Replies: 2
    Last Post: 31st October 2007, 09:05 AM
  4. ldap on php
    By browolf in forum Web Development
    Replies: 11
    Last Post: 8th May 2007, 09:33 AM
  5. Moodle LDAP Enrolment
    By Mike_R in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 6th December 2006, 02:33 PM

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
  •