We have ldap authentication working. We would like a course to be created when either a teacher or student logs in and the course does not already exist. Our issue is that the DistinguishedName from AD puts a space between firstname and lastname. So the ID number in moodle is imported as:
ID Number = CN=lname\, fname,OU=2012,OU=Students,DC=domain,DC=local
We can alter this as follows:
ID Number =CN="lname, fname",OU=2012,OU=Students,DC=domain,DC=local
It then works without a problem. So the question is: How do we resolve the space issue
We are using Moodle version 1.9
Help would be greatly appreciated!