Hi,

i'm trying to use the latest version of LDAP module in association with CAS.
So i would like to use ldap token in CAS Attributes for the user provisionning for example.

The configuration was OK with the version 7.x-1.0-beta12 of LDAP module but since the upgrade to 7.x-2.x-dev (for ldap_user requierements), something have changed...

Do you think the problem happen from cas or ldap module ?
It's look like the function have been rename or delete ?

Thanks for help

CommentFileSizeAuthor
cas_attributes_token.PNG41.08 KBmateooo35
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bfroehle’s picture

Thanks for the report. The LDAP module must have made some backwards incompatible changes.

It looks like user_lookup was renamed to userUserNameToExistingLdapEntry. That would solve this bug, but it is likely that there are other incompatibilities. In the mean time I'll update the main page to say that 7.x-1.x remains a requirement.

bfroehle’s picture

Title: CAS LDAP attributes » Incompatibility with LDAP 7.x-2.x-dev
johnbarclay’s picture

I put a wrapper function LdapServer::user_lookup() for backward compatibility. Sorry to break things. This is committed in LDAP 7.x-2.x-dev. The other references to ldap functions and properties are still valid (testingDrupalUsername and ldap_servers_get_servers).

bfroehle’s picture

Status: Active » Fixed

Thanks. I'll remove the note from the homepage.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.