Hi - I have LDAP working on out server to authenticate users, but am trying to move to the next stage of using auth_ldap_sync_users.php to Sync moodle records to our AD.
However when I run auth_ldap_sync_users.php I get the following SQL message(s):
Configuring temp table connecting to ldap + 1000 users
SELECT u.id, u.username FROM mdl16_user u LEFT JOIN mdl16_extuser e ON u.idnumber = e.idnumber WHERE u.auth='ldap' AND u.deleted='0' AND e.idnumber IS NULL
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
SELECT e.idnumber,1 FROM mdl16_extuser e LEFT JOIN mdl16_user u ON e.idnumber = u.idnumber WHERE u.id IS NULL OR (u.id IS NOT NULL AND u.deleted=1)
I've had a look at the Database and cannot find the table mdl16_extuser, could this be the problem? Ive checked all my tables and they are all utf8_unicode.
If I run the page again with debugging on I get: Parse error: parse error, unexpected T_STRING in C:\VLE\auth\ldap\auth_ldap_sync_users.php on line 22
I am running moodle 1.6.3+, on server 2003 & IIS
My tech guys seem to be of little help and it would ease admin if i could get this working - Thanks in advance.
Mark