From: William A. Rowe Jr Date: Wed, 12 Sep 2001 14:57:56 +0000 (+0000) Subject: Fix recent mod_auth breakage (is there an OS2 patch lurking out there?) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=452ce204241f1814c3b0b8efb324e17127d7978e;p=thirdparty%2Fapache%2Fhttpd.git Fix recent mod_auth breakage (is there an OS2 patch lurking out there?) Submitted by: Pavel Novy git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91008 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/modules/standard/mod_auth.c b/src/modules/standard/mod_auth.c index fd64d57ad13..f3f4e3921cf 100644 --- a/src/modules/standard/mod_auth.c +++ b/src/modules/standard/mod_auth.c @@ -278,9 +278,9 @@ static int check_user_access(request_rec *r) * owner of the document. */ if (strcmp(w, "file-owner") == 0) { -#if defined(WIN32) +#if defined(WIN32) || defined(NETWARE) ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERROR, r, - "'Require file-user' not supported on Windows"); + "'Require file-user' not supported on this platform"); return HTTP_UNAUTHORIZED; #else struct passwd *pwent; @@ -313,9 +313,9 @@ static int check_user_access(request_rec *r) #endif } if (strcmp(w, "file-group") == 0) { -#if defined(WIN32) +#if defined(WIN32) || defined(NETWARE) ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERROR, r, - "'Require file-group' not supported on Windows"); + "'Require file-group' not supported on this platform"); return HTTP_UNAUTHORIZED; #else struct group *grent;