Hi,
We have Moodle 2.3.
When i call the web service core_user_create_users, I have this error :
{"exception":"moodle_exception","errorcode":"auth_ldap_noconnect_all","message":"Le module LDAP ne peut pas se connecter \u00e0 aucun des serveurs No LDAP Host URL, Version or User Type specified in your LDAP settings"}
users[0][username]=dboudreault
users[0][firstname]=david2
users[0][lastname]=mika
users[0][email]=test.test@test.com
users[0][auth]=cas
users[0][password]=not cached
users[0][lang]=fr_ca
I think that this case is similar to https://tracker.moodle.org/browse/MDL-16168
But we have Moodle 2.3 and MDL-16168 is corrected.
Can someone help me ?
And how can i set the field mdl_user.trackforums via the service web ? If I check the API, we dont have a parameter "trackforums" for this field.
Structure générale
list of (
object {
username string //Username policy is defined in Moodle security config. Must be lowercase.
password string //Plain text password consisting of any characters
firstname string //The first name(s) of the user
lastname string //The family name of the user
email string //A valid and unique email address
auth string Défaut pour « manual » //Auth plugins include manual, ldap, imap, etc
idnumber string Défaut pour « » //An arbitrary ID code number perhaps from the institution
lang string Défaut pour « fr_ca » //Language code such as "en", must exist on server
theme string Optionnel //Theme name such as "standard", must exist on server
timezone string Optionnel //Timezone code such as Australia/Perth, or 99 for default
mailformat int Optionnel //Mail format code is 0 for plain text, 1 for HTML etc
description string Optionnel //User profile description, no HTML
city string Optionnel //Home city of the user
country string Optionnel //Home country code of the user, such as AU or CZ
preferences Optionnel //User preferences
list of (
object {
type string //The name of the preference
value string //The value of the preference
}
)customfields Optionnel //User custom fields (also known as user profil fields)
list of (
object {
type string //The name of the custom field
value string //The value of the custom field
}
)}
)
David