I just upgraded from 1.x to 2.x and am getting this error when I click on the Profile Mapping tab. It also looks like Profile Mapping isn't working at all for me, because my roles given by my ldap attributes were removed upon me logging out and back in.

Comments

johnbarclay’s picture

Category: bug » support

There is no ldap profile module in 7.x-2.0. Be sure to remove the old files and run update.php.

filsterjisah’s picture

Status: Active » Fixed

I had the same problem. As johnbarclay suggests "deleting all files and then installing ldap anew" fixed the issue for me.

johnbarclay’s picture

Title: Fatal error: Call to undefined function ldap_servers_show_sample_user_tokens() in LdapProfileConfAdmin.class.php on line 111 » LDAP User: 7.x-1.0 to 7.x-2.0 update issues
Category: support » bug
Status: Fixed » Active

I'm changing this to a bug. Please chime in with any successes or failures when running update.php to go from 7.x-1 to 7.x-2; especially related to ldap to drupal provisioning and synching.

The update should succeed at setting up ldap_user for synching or provisioning OR not enable ldap_user. It should also uninstall ldap_groups such that its not in the system table.

The 7.x-2.0 ldap code should also check that update was run and not execute if not.

johnbarclay’s picture

I added code to disable ldap_profile and ldap_groups in the 7.x-2.x updates. This addresses some update issues that have come up.

johnbarclay’s picture

Version: 7.x-2.0-beta2 » 7.x-2.x-dev
grahl’s picture

Issue summary: View changes
Status: Active » Closed (outdated)