Re: {OT?] Auth_PG_grp_group_field directive gives parameter error

From: Joel <rees(at)ddcom(dot)co(dot)jp>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: {OT?] Auth_PG_grp_group_field directive gives parameter error
Date: 2004-10-29 11:47:49
Message-ID: 20041029204623.C4AF.REES@ddcom.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sorry for the noise. We resolved it:

On Fri, 29 Oct 2004 12:36:54 +0900
Joel <rees(at)ddcom(dot)co(dot)jp> wrote

> ...
>
> 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

The comment on the above directive seems to have been parsed as an
additional parameter, so we just removed the comment and apache runs
with no problems.

> Auth_PG_grp_user_field uid # works from 2.0.0
> # Auth_PG_grp_whereclause " and rid = 'bbs(at)tekitou' "
> Auth_PG_encrypted on
> Auth_PG_hash_type MD5
> AuthName "Please Enter Your Password"
> AuthType Basic
> <Limit POST GET>
> require valid-user
> require group bbs(at)tekitou
> </Limit>
>
> ...
> Apologies in advance if the noise is not appreciated.

--
Joel <rees(at)ddcom(dot)co(dot)jp>

Browse pgsql-general by date

  From Date Subject
Next Message Fred BROUARD - SQLpro 2004-10-29 11:49:23 Max length name of a database/schema
Previous Message Greg Sabino Mullane 2004-10-29 11:22:56 Re: Sorting street addresses