From owner-freebsd-apache@FreeBSD.ORG Fri Oct 29 11:00:23 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2593316A4CE for ; Fri, 29 Oct 2004 11:00:23 +0000 (GMT) Received: from proxy.ddcom.co.jp (proxy.ddcom.co.jp [211.121.191.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 144FE43D53 for ; Fri, 29 Oct 2004 11:00:22 +0000 (GMT) (envelope-from rees@ddcom.co.jp) Received: (qmail 1410 invoked by alias); 29 Oct 2004 11:17:09 -0000 Received: from unknown (HELO matthew) (10.10.10.11) by mail.ddcom.local with SMTP; 29 Oct 2004 11:17:09 -0000 Date: Fri, 29 Oct 2004 20:00:25 +0900 From: Joel To: apache@freebsd.org Message-Id: <20041029195355.C4AA.REES@ddcom.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.06 cc: koichi@ddcom.co.jp Subject: Auth_PG_grp_group_field -- parameter error if commented X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 11:00:23 -0000 I've sent an e-mail to Guiseppe Tanzilli about this. We get the following error: > Auth_PG_grp_group_field takes one argument, the name of the group-name field. on the directive Auth_PG_grp_group_field rid These are the directives we are using: Auth_PG_host 127.0.0.1 Auth_PG_port 5432 Auth_PG_database apache_auth Auth_PG_user postgres Auth_PG_pwd postgres Auth_PG_pwd_table user_bbs Auth_PG_uid_field uid Auth_PG_pwd_field pw Auth_PG_grp_table user_bbs # Auth_PG_gid_field rid # name change from 2.0.0 Auth_PG_grp_group_field rid # Auth_PG_gid_field -> Auth_PG_grp_group_field Auth_PG_grp_user_field uid # works from 2.0.0 # Auth_PG_grp_whereclause " and rid = 'bbs@tekitou' " Auth_PG_encrypted on Auth_PG_hash_type MD5 AuthName "Please Enter Your Password" AuthType Basic require valid-user require group bbs@tekitou I had the guy who's working on this remove the comment from the Auth_PG_grp_group_field rid # Auth_PG_gid_field -> Auth_PG_grp_group_field line and apache runs with no problems. So it looks like the comment field is getting parsed as an additional parameter, causing an error. I don't know whether this would be a bug or not, but I thought I'd pitch it your way. -- Joel