When an http auth'ed user hits Drupal, a record is created in the users table with a name of ''. This then causes an immediate error when the next request also tries to create a record with a name of ''. I'm sorry that this report is so vague. I've been trying to get more reproduceable results for a while, and getting more and more confused. REMOTE_USER is indeed set, but for some reason we're getting a null record created.

I'm running webserver_auth.module,v 1.11.2.2 2005/04/29 19:28:02

I tried later revisions, but there wasn't any noticeable change.

Other details available upon request.

Comments

rbowen’s picture

Getting these error messages when the null-name record is created:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /usr/local/apache/vhosts/tm3/htdocs/modules/webserver_auth.module on line 28

Warning: Invalid argument supplied for foreach() in /usr/local/apache/vhosts/tm3/htdocs/modules/user.module on line 174

Fatal error: Call to undefined function l() in /usr/local/apache/vhosts/tm3/htdocs/modules/webserver_auth.module on line 29

rbowen’s picture

One more note - as I've been poking around I've found vague references to the notion that perhaps auth is generally broken when SSL comes into the picture, so perhaps it is worth mentioning that the site in question is running under SSL. I have not had the opportunity to test this same configuration under http, but I will as soon as I have an opportunity to do so.

Paul Natsuo Kishimoto’s picture

Status: Active » Closed (won't fix)

I am marking this as "won't fix", as Drupal 4.x is no longer supported. If the same behaviour is occurring with the 5.x or 6.x versions, please file a new issue.