Forums | Mahara Community
Developers
/
Pass additional LDAP attributes to Mahara User account
13 April 2011, 4:18
I can make use the auto create account of LDAP.
I want to pass additional LDAP attributes (such as Student ID and Display Name) to the account creation process, does anyone know how to do that.
Best Rgds,
Rocky.
12 June 2011, 18:25
You can get a patch from http://mahara.org/view/view.php?id=16404 to do it. It applies cleanly to Mahara 1.3 and Mahara 1.4rc4 current as of today.
Saludos.
Iñaki.
09 December 2011, 5:07
Hello,
I just added a little test to your patch since currently the user creation process (login_submit@auth/lib.php) tries to call two non existing functions (sanitize_studentid and sanitize_preferedname) that were added in master branch of Mahara on gitorious.
Cheers.
P.S : they are one 'feature' in Mahara LDAP interaction that is not in its 'cousin' Moodle's one : your must respect the case of the attributes names in mapping (eg supannEtuId and not supannetuid) , not cool
20 December 2011, 11:55
Hi Patrick,
I've just opened bug #906996 (https://bugs.launchpad.net/mahara/+bug/906996) to address this. You can see the patch at https://reviews.mahara.org/951
Saludos.
Iñaki.