Hi,
I have the WPMU LDAP plugin working with WPMU 2.7. It seems to function fine... and it
pulls over the users' First and Last names from LDAP properly.
However, by default, it sets the "Display name publicly as" to the user's
login username. (This seems to be default Wordpress behavior, as well)
Is there a way to tell WPMU to use the combination of the user's First and
Last names by default, when adding users from LDAP?
Thanks-
Bill
Hi,
I may have found a workaround.
Edit this file:
wpmu_ldap.functions.php
and add this line:
update_usermeta( $user_id, 'display_name', $ldapUserData[LDAP_INDEX_NAME] );
at about line 29.
Does this look right? It seems to work in my testing.
Thanks-
-Bill
You should send info to Aaron - he's really good about adding features to the ldap plugin. He'll want to make it a switch that admins can control through the gui - but that wouldn't be hard to do.
His site is here:
http://wpmuldap.frozenpc.net/