Closed (fixed)
Project:
Webserver authentication
Version:
5.x-0.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2008 at 17:08 UTC
Updated:
5 May 2008 at 16:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
smsearcy commentedThe code in question is testing inequality instead of testing the result of the assignment to $name (which is what I think was intended). I've attached a patch (this is my first patch, please let me know if I should do something differently).
edit: I encountered this issue with Drupal 5.7 on IIS6 (Windows 2003) with PHP 5.
Comment #2
tmclaugh commentedI've encountered this issue on a CentOS 4 box with apache 2.0.52 and PHP 4.3.9 and an OpenBSD box with apache 1.3.29 and PHP 5.2.3 with both using mod_auth_kerb to control access to drupal. I noticed when webserver_auth_init() was entered that $name was empty so it always failed the conditional but REDIRECT_REMOTE_USER is not set. I'm not sure how that gets setup by apache though. I ended up using this change instead so it uses REDIRECT_USER if it is set:
http://drupal.org/node/14294#comment-784044
Comment #3
Remon commentedsubscribe
Comment #4
moshe weitzman commentedthis was just fixed in a more verbose way in another issue.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.