causing error when trying to setup authorizations:

Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/ldap/ldap_authorization/ldap_authorization_drupal_role/LdapAuthorizationConsumerDrupalRole.class.php' ... in ....\sites\all\modules\ldap\ldap_authorization\ldap_authorization.module on line 145

Comments

johnbarclay’s picture

Assigned: Unassigned » johnbarclay
Status: Active » Postponed (maintainer needs more info)

I just downloaded head and the file is named correctly. Please get a new copy and verify the problem.

johnbarclay’s picture

Category: bug » support

Here is a view from the repository:

http://drupalcode.org/project/ldap.git/tree/refs/heads/7.x-1.x:/ldap_aut...

Do you have "ldap authorization drupal" role module enabled?

zeezhao’s picture

It's wrong in the ldap-7.x-1.x-dev.tar.gz file. Just did a fresh download.

However it's ok in ldap-7.x-1.x-dev.zip....

Yes, I did have "ldap authorization drupal" role module enabled.

Once I renamed it, error disappeared. So issue is in tar file packaging, probably due to length of name, or a problem with old extraction tool I am using on tgz files....

First time trying out the new D7 ldap, as I have been using D6 ldap_integration. Please is there any conversion script to convert old configuration setups from D6?

zeezhao’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Sorry - seems tar extraction tool is truncating the file. I tried another tool and it's okay. Thanks for help.

johnbarclay’s picture

Title: rename LdapAuthorizationConsumerDrupalRole.class.ph to LdapAuthorizationConsumerDrupalRole.class.php » fix all long file names so .tar package works
Category: support » bug
Priority: Normal » Major
Status: Closed (works as designed) » Active

Thanks. Appreciate you pinning this down. I'll have to cut some filenames down in size ;)

johnbarclay’s picture

Priority: Major » Minor

this particular filename fixed in head. The simpletests still have some long filenames so I'm leaving it as open for now.

johnbarclay’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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