dbTalk Databases Forums  

{OT?] Auth_PG_grp_group_field directive gives parameter error

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss {OT?] Auth_PG_grp_group_field directive gives parameter error in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joel
 
Posts: n/a

Default {OT?] Auth_PG_grp_group_field directive gives parameter error - 10-28-2004 , 10:36 PM






I've sent an e-mail to Guiseppe Tanzilli about this, but maybe someone
here has seen this. I'm pretty sure it's not PostGreSQL, but it is
tangential.

We are updating to mod_auth_pgsql2 v2.0.latest and apache 2.0.latest, in
the process of updating to PostGreSQL 7.4.latest.

We get the following error:

Quote:
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
<Limit POST GET>
require valid-user
require group bbs@tekitou
</Limit>

(And, yes, I'll also try an apache mailing list.)

Apologies in advance if the noise is not appreciated.

--
Joel <rees (AT) ddcom (DOT) co.jp>


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org



Reply With Quote
  #2  
Old   
Joel
 
Posts: n/a

Default Re: {OT?] Auth_PG_grp_group_field directive gives parameter error - 10-29-2004 , 06:47 AM






Sorry for the noise. We resolved it:

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

Quote:
...

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.

Quote:
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
Limit POST GET
require valid-user
require group bbs@tekitou
/Limit

...
Apologies in advance if the noise is not appreciated.

--
Joel <rees (AT) ddcom (DOT) co.jp>



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.