Hi PostgreSQL developers! Does anybody happen to use Postgresql with winbind authentication? We got the bug report below where this seems to crash.
Is this problem known?
Thanks and have a nice day!
Martin
----- Forwarded message from Cory Dodt <[EMAIL PROTECTED]> -----
Subject: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf
Reply-To: Cory Dodt <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
From: Cory Dodt <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Date: Fri, 14 May 2004 14:56:11 -0700
X-Spam-Status: No, hits=1.6 required=4.0 tests=BAYES_44,NO_DNS_FOR_FROM
autolearn=no version=2.61
Package: postgresql
Version: 7.4.2-4
Severity: normal
[system information]
When configured to look up names with winbind (3.0.2a-1/sarge), postmaster
crashes with the following:
2004-05-14 14:50:14 [8725] LOG: could not create IPv6 socket: Address family not
supported by protocol
2004-05-14 14:50:14 [8725] LOG: authentication file token too long, skipping: "�.��
Segmentation fault
--------------------
... the nsswitch.conf that goes with the above contains:
hosts: wins files dns
However if I change the name lookup order to:
hosts: files dns wins
pg starts up normally and the authentication file token error disappears.
(The IPV6 error remains.)
I tried to get a stack trace; unfortunately the stack is corrupted but this
much (truncated) looks for real:
...
#8 0x40ecb020 in ?? () from /lib/libnss_wins.so.2
...
#35 0x4028efce in __errno_location () from /lib/libc.so.6
Winbind name lookup works fine normally, still I wouldn't be too much surprised
if this was in fact a winbind bug.
----- End forwarded message -----
--
Martin Pitt Debian GNU/Linux Developer
[EMAIL PROTECTED] [EMAIL PROTECTED]
http://www.piware.de http://www.debian.org
signature.asc
Description: Digital signature
