Moodle 1.5 : CAS/LDAP configuration issue

Moodle 1.5 : CAS/LDAP configuration issue

by Arnaud RUPIN -
Number of replies: 2
Hi.

In my architecture i'm using CAS as authentication solution and OpenLDAP to store user data.
As Moodle manages user data locally, i've filled mapping attributes fields in the authenticate options screen (For instance : firstname -> givenname, lastname ->sn, and so on).

I get no problem in Moodle 1.4.4 but this mapping goes wrong in Moodle 1.5.

Actually, function auth_ldap_attributes (auth/ldap/lib.php) try to get the mapping (stored in mdl_config_plugins as 'auth/cas' plugin) with 'auth/ldap' plugin and thus get nothing.
I succeed in getting user info by modifying auth_ldap_attirbutes ( get_config('auth/cas') instead of get_config('auth/ldap') ) but this is a little bit 'dirty'.

Any ideas ?

Thx
Average of ratings: -
In reply to Arnaud RUPIN

Re: Moodle 1.5 : CAS/LDAP configuration issue

by Martín Langhoff -
Head over to the user authentication forums, where this other users of LDAP/CAS are. This is a known bug in 1.5, and there's a suitable workaround. I haven't had time to fix it yet.