Hi,
You should have one, but somewhere under /etc/postgresql, because that config file contains rules
For exampe:
cat /etc/postgresql/9.3/main/pg_hba.conf
....... (there are other things in the beginning)...........
# Database administrative login by Unix domain socket
local all postgres peer
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32md5
# IPv4 remote connections:
host all all 192.16.1.0/24 md5Check the red md5, probably you have other value there, for example peer. Change it to md5 and restart postgresql.
Cheers,
István
----------------eredeti üzenet-----------------
Feladó: "Bill Appelbe" <..hidden..>
Címzett: "Pongrácz István" <..hidden..>
CC: "ledger-smb-users lists.sourceforge.net" <..hidden..>
Dátum: Fri, 7 Nov 2014 14:06:53 +0000
----------------------------------------------------------
BillIf I use localhost/ledgersmb/login.pl I can login - just not 127.0.0.1HiI don't think I have a pga_hba.conf file (at least I can't find one)!!
On Fri, Nov 7, 2014 at 1:43 PM, Pongrácz István <..hidden..> wrote:
Hi,Check your pga_hba.conf, too, probably on localhost you have peer/whatever instead of md5.
Cheers,
István
----------------eredeti üzenet-----------------
Feladó: "Bill Appelbe" <..hidden..>
Címzett: "ledger-smb-users lists.sourceforge.net" <..hidden..>
Dátum: Fri, 7 Nov 2014 12:22:09 +0000
----------------------------------------------------------
I checked my .conf file and 127.0.0.1 is on the list of Require ipIf I login from another machine then there is no problem.ie if I am using 127.0.0.1/ledgersmb I get the login screen - enter user, pass and company, another "Authentication Required" user,pass box opens, if I re-enter the user,pass it still will not let me in.I can not login into LedgerSMB from the server machine but I can from other machines.HiI have a strange problem and the solution is probably obvious -but I can't see it.what am I missing?Bill
------------------------------------------------------------------------------
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
------------------------------------------------------------------------------
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users