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.
user_external_load fails for most existing users due to http://drupal.org/node/13619. Can we patch:
// try to log into Drupal. if unsuccessful, register the user
$test_user = user_external_load($account->name);
// ADD Search user_load instead of user_external_load
if(!test_user) {
$test_user = user_load(array("name" => $account->name));
}
//ADD ends
if (!$test_user->uid) {
Would also be good to select the user variable in the UI as I am using squid to present the user on on a unix box from an NT network. (php_auth_user) - think this would be a good addition for intranets as most companies can't get support for mod_ntlm from their vendour
Comments
Comment #1
DRScales CreditAttribution: DRScales commentedsorry - that had no $
Comment #2
DRScales CreditAttribution: DRScales commentedand as for the UI - something akin to
with the form addition
Comment #3
gaards CreditAttribution: gaards commentedClosed because Drupal 5 is not supported. If the issue verifiably applies to later versions, please reopen with details and update the version.