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/32 md5

# IPv4 remote connections:
host all all 192.16.1.0/24 md5

Check 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" [email protected]
Címzett: "Pongrácz István"

CC: "ledger-smb-users lists.sourceforge.net" 
[email protected]
Dátum: Fri, 7 Nov 2014 14:06:53 +0000
----------------------------------------------------------

>
>
>
>
>
>
>Hi
>I don't think I have a pga_hba.conf file (at least I can't find one)!!
>
>If I use localhost/ledgersmb/[login.pl I can login - just not 127.0.0.1
>
>Bill
>
>
>
>On Fri, Nov 7, 2014 at 1:43 PM, Pongrácz István [email protected]
>[email protected] 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" [email protected] [email protected]
>Címzett: "ledger-smb-users lists.sourceforge.net"
>[email protected] [email protected]
>Dátum: Fri, 7 Nov 2014 12:22:09 +0000
>----------------------------------------------------------
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>Hi
>>I have a strange problem and the solution is probably obvious -but I can't 
>>see it.
>>I can not login into LedgerSMB from the server machine but I can from other 
>>machines.
>>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.
>>If I login from another machine then there is no problem.
>>I checked my .conf file and 127.0.0.1 is on the list of Require ip
>>
>>what am I missing?
>>Bill
>>
>>
>>
>>
>>
>>__________________________________________________
>>
>>
>>
>>------------------------------------------------------------------------
>>------
>>
>>
>>__________________________________________________
>>
>>
>>_______________________________________________
>>Ledger-smb-users mailing list
>>[email protected]
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/ledger-smb-users ->
>>http://login.pl]
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
------------------------------------------------------------------------------
_______________________________________________
Ledger-smb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to