[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Auth problem with trunk/1.3



Following the INSTALL+sql/modules/REAME trunk r2176 (*), I'm trying to log
into company/database 'ledgersmb13', with user 'foo' password 'password'.

I get the frameset, an HTTP Auth prompt, and the following apache
error_log:

# tail error_log
[Sun Jun 29 21:32:12 2008] [error] [client 127.0.0.1] DBI
connect('dbname=ledgersmb13','',...) failed: FATAL:  role "apache" does
not exist, referer: http://localhost/ledgersmb13/login.pl

[Sun Jun 29 21:32:12 2008] [error] [client 127.0.0.1]  at LedgerSMB.pm
line 681, referer: http://localhost/ledgersmb13/login.pl 

[Sun Jun 29 21:32:13 2008] [error] [client 127.0.0.1] DBI
connect('dbname=516db88711c375a6563b8c657aa21084','foo',...) failed:
FATAL:  database "516db88711c375a6563b8c657aa21084" does not exist,
referer: http://localhost/ledgersmb13/login.pl 

[Sun Jun 29 21:32:13 2008] [error] [client 127.0.0.1]  at LedgerSMB.pm
line 681, referer: http://localhost/ledgersmb13/login.pl

I've tried resetting the role 'foo' password both ways:

ledgersmb13=# ALTER ROLE foo WITH PASSWORD 'password';
ALTER ROLE

ledgersmb13=# ALTER ROLE foo WITH UNENCRYPTED PASSWORD 'password';
ALTER ROLE

Thanks for any ideas on how to debug the login.

(*) The apache setup is unchanged from a previously working trunk
instance. I only dropped the ledgersmb13 database and went through the
in-database steps in sequence again.