How do I setup LDAP or Microsoft AD?

How do I setup LDAP or Microsoft AD?

by Chris Smith -
Number of replies: 3

I am new to Moodle and we are hosting our Moodle install internally on a Windows Server 2008 R2.  We are using MSSQL 2008 as the database. Our PHP is 5.5.8.  Our current version of Moodle is 2.6.1.  We have Microsoft's Active Directory on our network.  I am hoping someone can help me setup AD or Microsoft's AD to work so our users can login with their regular usernames and passwords. 

I go to http://docs.moodle.org/24/en/LDAP_authentication

I think I need to start with the following...

I go to  http://your.moodle.site/admin/phpinfo.php

I do a search on the page and 'LDAP extension' is not on the page

I do see a section named 'ldap'

ldap
LDAP Support = enabled
RCS Version = $Id$
Total Links = 0/unlimited
API Version = 3001
Vendor Name = OpenLDAP
Vendor Version = 20433
SASL Support = Enabled

ldap.max_links 
Local Value = unlimited 
Master value = Unlimited

So I am wondering if this is looking as expected for php version 5.5.8 or should I be seeing 'LDAP extension' somewhere on the page

Note: I am logged in as me; I am guessing I have enough privileges to see everything on the phpinfo page because a lot of data on the page

Regards,

Chris

Average of ratings: -
In reply to Chris Smith

Re: How do I setup LDAP or Microsoft AD?

by Chris Smith -

Hello Experts,

I wanted to give you an update...

- I Verified that on the server I see 'C:\Program Files (x86)\PHP\v5.5\ext\php_ldap.dll'

- I saw a couple of non Moodle posts that make me think the phpinfo file looks good; hoping someone will let me know if it looks wrong.
- http://forums.cacti.net/viewtopic.php?f=2&t=48766
- http://shmanic.com/tools/jmapmyldap/documentation/php-ldap-extension.htm

So I am moving on until someone stops me with a post to this this forum

Regards,

Chris

In reply to Chris Smith

Re: How do I setup LDAP or Microsoft AD?

by Scott Karren -
Chris,

It sounds like LDAP is being recognized by PHP and the server which is good. From there I would look at http://docs.moodle.org/26/en/LDAP_authentication This will give you instructions on how to setup authentication within Moodle.

HTH

Scott
In reply to Scott Karren

Re: How do I setup LDAP or Microsoft AD?

by Chris Smith -

Scott,

Thanks for the reply...

I asked our goto network guy to look at this and supplied some documentation and history of what I tried. The links I sent him had '25' in the url so the link you provided is to a document I didn't find. I think I am seeing a pattern; the 26 in the url is for moodle version 2.6, Ha.  

I have tried lots of value combinations but hadn't hit on the right combination yet.  I was thinking maybe it is a certificate issue or something like that; that he would have a better chance of catching.

I will look over the document to see if I notice any changes from the pages I was looking at...

The LDAP form doesn't look that bad so I am surprised this is being such a painful task.  I'm guessing like everything else the answer to success will be simple; once found.

Regards,

Chris