|
From: Doug L. <su...@dr...> - 2003-05-12 23:18:04
|
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
>
>
>
>
|