|
From: Alberto L. <la...@ro...> - 2003-05-13 13:41:21
|
I do have $Conf{CgiAdminUsers} set correctly,
however, the printenv confirmed that the "REMOTE_USER" is not being set
by apache. even tough I have:
<Location /var/www/cgi-bin/BackupPC_Admin>
Setenv REMOTE_USER backuppc
</Location>
thanks again
Alberto
On Mon, 2003-05-12 at 19:19, Doug Lytle wrote:
> Alberto,
>
> The problem is, BackupPC authenticates a user when Apache sets an
> environment variable remote_user after Apache has authenticated the
> user against the username/password combo contained in the passwd file.
>
> BackupPC takes that and compares it to the $Conf{CgiAdminUsers} and
> check for a match, if they match, then that person is considered an
> admin and has full access to the Backup system. It looks like the
> remote_user and the
>
> $Conf{CgiAdminUsers} doesn't match.
>
> You can verify this by running the script in a browser. Browse: http://localhost/cgi-bin/printenv. This will tell you what the remote_user is being set to.
>
>
> On my system, I set up 3 admins with the following string within the
> config.pl
>
> $Conf(CgiAdminUsers) = 'doug brians terris';
>
> Then I add doug brians and terris to the passwd file with whatever
> password they requested.
>
> When they browse http://localhost/cgi-bin/BackupPC_Admin they are
> prompted to enter they're username and password, if typed correctly
> (Without mistakes), they're in.
>
> Hope this helps.
>
> Doug
>
> Alberto Lacaze wrote:
>
> >I have done everything on the list.
> >The only thing that is different is the
> >
> >
> > Authentication realm name: ACCESS
> > Authentication type: Basic
> > All valid users: "Make sure this is selected"
> > User text file: /etc/httpd/conf/passwd
> >
> >
> >mentioned in the posting.
> >I put what was suggested in the docs instead:
> >
> >
> >AuthUserFile /etc/httpd/conf/passwd
> >AuthType Basic
> >AuthName "Backup PC Admin"
> >require valid-user
> >
> >however, the passwd file was created the same way.
> >
> >Alberto
> >
> >
> >
> >
>
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> BackupPC-users mailing list
> Bac...@li...
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
#################################################################
#################################################################
#################################################################
#####
#####
#####
#################################################################
#################################################################
#################################################################
|