Greetings from The American School of The Hague. I just completed a new Moodle installation on Windows 2003 Server. All seems well except for user authentication against one of our two our active directory domain controllers (clustered into one vertual server so I'm pointing toward an actual controller rather thna the virtual domain controller). Any help appreciated.
Error received:
Fatal error: Call to undefined function: ldap_connect() in c:\program files\easyphp1-7\www\auth\ldap\lib.php on line 412
(Luckily I can still get in through my moodle admin credentials)
I am eager and excited to get this installation one up and running as it will replace our MS Class Server installation (our first pilot program for MS - flopped due to MS pulling out) .
********** Settings details********
Note: All AD values obtained using ADSI Edit utility to avoid errors from my clumsy fingers :>)
Also, I could attach a screen-grab of our Active Directory schema if helpful.
ldap_host_url: ldap://ash02.ash.nl
ldap_version: 3
ldap_contexts: OU=Teachers,OU=Staff,OU=ASH,DC=ash,DC=int;OU=IT
epartment,OU=Staff,OU=ASH,DC=ash,DC=int;OU=Students,DC=ash,DC=int
ldap_user_attribute: sAMAccountName
ldap_objectclass: *
ldap_search_sub: 2
ldap_bind_dn: CN=Moodle Binder,CN=Users,DC=ash,DC=int
ldap_bind_pw: (valid password)
ldap_memberattribute: memberOf
ldap_creators: CN=Teachers,OU=Security groups,OU=ASH,DC=ash,DC=int;CN=HS_Teachers,OU=Security groups,OU=ASH,DC=ash,DC=int;CN=ES_teachers,OU=Security groups,OU=ASH,DC=ash,DC=int;OU=IT Department,OU=Staff,OU=ASH,DC=ash,DC=int;OU=Teachers,OU=Staff,OU=ASH,DC=ash,DC=int
**note: I wasn't sure if these needed to be security groups or not so I included security and other groups where teachers and IT staff are members)
ldap_create_context: (left blank)