Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F25D1FC86 for ; Mon, 8 Apr 2013 10:46:30 +0000 (UTC) Received: (qmail 72222 invoked by uid 500); 8 Apr 2013 10:46:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 71846 invoked by uid 500); 8 Apr 2013 10:46:27 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 71818 invoked by uid 99); 8 Apr 2013 10:46:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 10:46:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 209.85.212.46 as permitted sender) Received: from [209.85.212.46] (HELO mail-vb0-f46.google.com) (209.85.212.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 10:46:22 +0000 Received: by mail-vb0-f46.google.com with SMTP id 11so3673067vbe.33 for ; Mon, 08 Apr 2013 03:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=OBZjQfJyCGsA2gXW5gwKL0QT7p2s9dYy1sFaB2lph4A=; b=Nc9B+0Sbrh+KJ1Dp2Oc1hUXJKCiIxmi08pMORHFfP/5dMlrczmKfD4ycb4fRIHSPTo w9Pta4jIL6yBOih2Xl0CyOnH6NE55klnCBgTRPCcfE/eRIOL2M26KSTlNic9nwy0cdac Z91HMjBvaH7DyG7ber8fh/c5gWNC7wfkmdYM5yCo3BtLQYCTBohpk0k+w4S/wJX00eFQ nUUWGD+1NYgXFf1fTI8INaGl2oB23SwwrCSEaksEViy6A7txogFUkjbzId/5/nJIo9qK Z4OqtvJx0Ga5wnP7tli1rA7dDzt0qlkrA3pUHwkTQGqywi7BYWJvmlRHCyGkDvTX7f7C WG4Q== MIME-Version: 1.0 X-Received: by 10.220.167.9 with SMTP id o9mr8617109vcy.25.1365417961283; Mon, 08 Apr 2013 03:46:01 -0700 (PDT) Received: by 10.58.234.5 with HTTP; Mon, 8 Apr 2013 03:46:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Apr 2013 06:46:01 -0400 Message-ID: From: Eric Covener To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] AuthDBMGroupFile in v2.4 - being ignored? mod_authz_dbm responds to Require dbm-group (and dbm-file-group) only in 2.4 which seems to be a change from 2.2. On Mon, Apr 8, 2013 at 4:55 AM, wrote: > Hi, > > I am using v2.4.4 of httpd compiled by ApacheLounge (running on Windows S= erver 2003, in case that's significant) and am trying to get the "Require g= roup" directive working with basic authentication and the "dbm" provider. = I've uncommented the LoadModule lines relating to mod_authn_dbm and mod_aut= hz_dbm and my configuration includes the following: > > > AuthType Basic > AuthName "Secure Area" > AuthBasicProvider dbm > AuthDBMUserFile site/data/users > AuthDBMGroupFile site/data/users > Require group admin > > > (Note that site/data is not accessible via the webserver.) > > Even though the AuthDBMGroupFile directive is clearly understood (httpd -= t responds "Syntax OK" and the server starts successfully), it appears to b= e ignored or something else is trying to find a group file by other means, = as the error in the log file is: > > AH01664: No group file was specified in the configuration > > Looking at the mod_authz_dbm documentation at http://httpd.apache.org/doc= s/current/mod/mod_authz_dbm.html#authdbmgroupfile I'm as sure as I can be t= hat I'm using it as described, but it just doesn't seem to work! > > It's probably worth mentioning that in other directories I've used the sa= me configuration but instead of "Require group admin" I've used "Require va= lid-user" and that works fine, so site/data/users is OK. I've also tried c= ommenting out the LoadModule lines relating to mod_authn_file (commenting o= ut has no effect when using only "dbm" as a provider) and mod_authz_groupfi= le (appears to be required for "Require group" to work, since httpd -t comp= lains when it's commented out). > > Any pointers would be appreciated on whether my configuration looks incor= rect or what the problem might be. > > Many thanks, > > Richard > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --=20 Eric Covener covener@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org