Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
cas_attributes_token.PNG | 41.08 KB | mateooo35 |
Comments
Comment #1
bfroehle CreditAttribution: bfroehle commentedThanks for the report. The LDAP module must have made some backwards incompatible changes.
It looks like
user_lookup
was renamed touserUserNameToExistingLdapEntry
. 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 that7.x-1.x
remains a requirement.Comment #2
bfroehle CreditAttribution: bfroehle commentedComment #3
johnbarclay CreditAttribution: johnbarclay commentedI 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).
Comment #4
bfroehle CreditAttribution: bfroehle commentedThanks. I'll remove the note from the homepage.