]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix recent mod_auth breakage (is there an OS2 patch lurking out there?)
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 12 Sep 2001 14:57:56 +0000 (14:57 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 12 Sep 2001 14:57:56 +0000 (14:57 +0000)
Submitted by: Pavel Novy <novy@feld.cvut.cz>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91008 13f79535-47bb-0310-9956-ffa450edef68

src/modules/standard/mod_auth.c

index fd64d57ad1304dbb71ffdae9c806bb515e9cb7ea..f3f4e3921cf98d4efc86f9a19ec3dbad8eec1432 100644 (file)
@@ -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;