I use CAS (6.x-3.2) and ldap_integration (6.x-1.0-beta3).
I would like that when user logs on with CAS, drupal roles of the user were automatically defined according to ldap groups ( groups are specified by 2 LDAP attributes). The problem is that roles are not correctly mapped with CAS while when I use the Test group settings of the ldap settings, roles of the tested user are found.

So I would like to see if the cas_attributes module would help me. Unfortunately I encounter several problems :

  • on the ldap tokens tab, only 4 tokens seems to be found : [cas-ldap-uid], [cas-ldap-mail],[cas-ldap-count], [cas-ldap-dn]. Why can't I see other attributes?
  • When I add [cas-ldap-uid] and [cas-ldap-mail] on the cas attributes mapping setting , user that wants to login encounters an Fatal error: Call to undefined function ldapauth_server_load() in /applis/Internet/drupal/sites/all/modules/ldap_integration/ldapauth.module on line 666, and so user can't login on the site. So I can't use the cas_attributes module. I there a way to solve this problem?

Comments

bfroehle’s picture

I had this problem recently too. Downgrading to ldap_integration 6.x-1.0-beta2 restored the functionality. I haven't had time to investigate further yet.

lucuhb’s picture

OK, there is no more error when downgrading to ldap_integration 6.x-1.0-beta2, and list of attributes on ldap tokens tab is now complete.

bfroehle’s picture

Title: Error when ldap tokens defined in attributes tab » Incompatibility with LDAP Integration 6.x-1.0-beta2

I'm hoping this has been fixed in 9682a90 (i.e., in the latest ldap_integration 6.x-1.x-dev), but I haven't had a chance to test it yet.

Olarin’s picture

Title: Incompatibility with LDAP Integration 6.x-1.0-beta2 » Incompatibility with LDAP Integration 6.x-1.0-beta3
Olarin’s picture

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

D6 is no longer supported