[pgsql-jp: 28371] Re: Password authentication failed

Tamotsu Ebina ebina @ pluto.dti.ne.jp
2002年 12月 19日 (木) 00:19:33 JST


海老名@インフォテック 補足(蛇足?)です。

TCPIP_SOCKETは同一ネットワークアドレスだとデフォルトのままでも
よいようです。私はとくに設定していません。
(同一ネットワークからしかアクセス出来ないので)

TCPIP_SOCKET (boolean)

If this is true, then the server will accept TCP/IP connections.
Otherwise only local Unix domain socket connections are accepted.
It is off by default. This option can only be set at server start.



Tamotsu Ebina wrote:
> 海老名@インフォテックです。
> 
> 7.3 から ALTER USER でのパスワードが MD5 で格納されるようです。
> 
> pg_hba.conf は
> host all nobody 192.168.0.0 255.255.255.0 password
>> host all nobody 192.168.0.0 255.255.255.0 md5
> に変える必要があるようです。
> 
> LOGに下のようなメッセージがでているはずです。
> 
> [postgres @ webspt011 data]$ LOG:  Password is stored MD5 encrypted.
> 'password' and 'crypt' auth methods cannot be used.
> FATAL:  Password authentication failed for user "nobody"
> 
> それ、ともちろん postgresql.jar は 7.3 用を使用します。
> 7.2のドライバだと同じauthenticationエラーになります。
> 
> 
> 私がやった亊
> 
> 1)7.3用ドライバのインストール
> 2)ALTER USER でパスワード設定
> 3)pg_hba.conf の設定 md5 を指定
> 
> 以上で7.3でコクトできるようになりました。
> 
> ---------------------------------------------------------------------




pgsql-jp メーリングリストの案内