I have the first and last name mapped read-only from the LDAP server using the LDAP -> Data module, via the ldapdata_attributes() function.

The RealName module only offers "Core Profile" from the "Module" tab. I have not checked any of the checkboxes available on the Fields tab.

When an LDAP user logs in, on every pager the error "The profile load function (_load_profile) was not found." is displayed.

The only solution to avoid this error message so far was to disable the entire RealName module.

Comments

roball’s picture

Title: Only "Core Profile" module can be selected » The profile load function (_load_profile) was not found
Component: Code » User interface
Status: Active » Fixed

OK, I have now found that the "The profile load function (_load_profile) was not found" error goes away if at least one of RealName field checkboxes is checked. I succeeded in getting the 'First Name' and 'Last Name' fields defined in ldapdata_attributes() by adding these fields also as custom fields provided by profile.module and setting their Visibility to Hidden.

To get the real name displayed on top of the user's "My account" page, the checkbox "Override username theme" had to be enabled. However, then the entire "LDAP attributes" group, displaying First name, Last name and Email-Address disappears. I will open an own issue for that.

nancydru’s picture