Authentication

 
 
Picture of Iñaki Arenaza
Re: LDAP with Active Directory - Error writing to database
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
Did you have a look at this http://docs.moodle.org/23/en/LDAP_authentication#Data_Mapping ? (and the whole page in general)

On the other hand, the "...!!! Error writing to database !!!" error message usually means a LDAP settings configuration error. But you'll need to enable debugging in Moodle in order to get the actual database error message. That message will help diagnose the configuration problem.

In addition to that, specifying your Moodle version would certainly help wink

Saludos.
Iñak.
 
Average of ratings: -
poseypic
Re: LDAP with Active Directory - Error writing to database
 

Hi,

Yep I've read that and mapped everything that is needed. Things are working from AD to Moodle, but not Moodle to AD (If someone changes their name it doesn't get reflected)...

The "Error writing to database" message comes from when I run the ldap sync php script manually, not from a page within Moodle. So that isn't possible to debug.

FYI - Moodle version 2.4

 
Average of ratings: -
poseypic
Re: LDAP with Active Directory - Error writing to database
 

Hmm. 

It'll appear that since I moved the moodle site from domain.com/site to just domain.com, it is now working.

Odd ... But huzzah!

 
Average of ratings: -