www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joon Lee <j...@xinet.com>
Subject general/6744: REMOTE_USER no longer defined when user attempts to authenticate into a realm
Date Wed, 25 Oct 2000 15:25:15 GMT

>Number:         6744
>Category:       general
>Synopsis:       REMOTE_USER no longer defined when user attempts to authenticate into
a realm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Oct 25 08:30:00 PDT 2000
>Originator:     joon@xinet.com
>Release:        1.3.14
Win32: Occurs on both NT 4 SP6, and Win2k SP1 (Have not tested in UN*X)
Installed the binary release off the web site.
This is change from 1.3.12.

Some of our CGI's depend on being able to determine the name of the user attempting to log
in to a realm defined in the conf file. (We do some of our own authentication) 

Previously, we could call: getenv("REMOTE_USER") to determine the name of the user. but since
installing 1.3.14 the value returned is NULL.

The following defines the Realm in the conf file:

# WebNative cgi directory
<Directory C:\PROGRA~1\Xinet\WEBNAT~1\bin>
AllowOverride None
AuthType Basic
AuthName WebNative
require valid-user
AuthUserFile C:\PROGRA~1\Xinet\WEBNAT~1\Admin\apache.userfile
Options ExecCGI

When the user attempts to access a file in the directory the browser's authentication dialog
comes up and the user types in the name and password.

The cgi used to be able to extract the user name from the REMOTE_USER variable but not after
installing 1.3.14.
What changed between 1.3.12 & 1.3.14?
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message