Re: [Personalbackup-users] Web login cycling
Status: Beta
Brought to you by:
linuxtuxie
|
From: Raf <mil...@ho...> - 2006-02-04 00:01:54
|
> 1. Do you have 'database' as Authentication method ?
> you can see this by running the follwong command
>
> grep '$authentication' /etc/personalbackup/personalbackup.conf
>
Checked: it comes as default and I've never touched :-)
> 2. Can you verify if the user admin is loaded into the database ?
> You can verify by running:
>
> echo "select * from users;" | psql -W -U pbuser personalbackup
>
Checked: correct output
> 3. Can you make sure that you enter the code block starting on line 101
> in the file login.cgi ?
> You can do this by inserting a line like described below on line 103
> in the login.cgi file:
>
> PBUtils->loginfo("info", "Found user $username with pwd $password in
> database. CGI values: ".$session->param("user_name")." |
> ".$session->param("~logged-in"));
>
> After you have added this line and reloaded the page, you should see
> a line appearing in your /var/log/messages file.
>
> The /var/log/messages file should return something like:
>
> Feb 3 23:56:53 machine personalbackup[20425]: Found user admin with pwd
> admin in database. CGI values: admin | 1
>
Here is my output:
Found user admin with pwd admin in database. CGI values: admin |
the trailing "1" is missing!
Regards
Raf
|