in reply to (Ovid) Re: cgi unknown function - match_group
in thread cgi unknown function - match_group

Ovid, yes, I am using that program (except version 1.58)

I modified the top customization section (everything worked ok with flat files), then put in a few debug statements after it did not work.

if ($ADMIN_GROUP){ print "\n<p> ADMIN GROUP defined:$ADMIN_GROUP:\n<p>"; }
This returns

ADMIN GROUP defined:administrators:

I put in "use strict;", but it crashed, I am wading through the errors like

Global symbol "$CONFIG_FILE" requires explicit package name at ./user_ +manage line 38.

I am positive I have put a user "bob" in group "administrators" in the database table, but the "do_administration" is never executed when I log in as bob.

What I do not know is how to put in a debug to tell what group the program thinks user bob is in.

I really don't think the problem is the code, but probably my setup, I just can not pinpoint why the "do_administration" subroutine is not being called for people in group "administrators".

Thanks, Daniel

Replies are listed 'Best First'.
Re: Re: (Ovid) Re: cgi unknown function - match_group
by Anonymous Monk on Nov 07, 2001 at 04:00 UTC
    Does anyone know of a location I can go to find out what methods are available in a particular module (HTTPD::RealmManager ) in particular???

    I am looking for a method that will tell me what group value the user_manage program thinks the database has for a particular username.

    Thanks,

    Daniel