winbind (libnss_wins) calls openlog when it shouldn't
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: samba
I recently installed winbind and configured it in nssswitch.conf as follows:
hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4
I had previously had fetchmail running, which regularly (due to an misconfigured external pop3 server) spat out errors like:
Oct 2 07:50:53 brooks fetchmail[6314]: awakened at Tue 02 Oct 2007 07:50:53 IST
Oct 2 07:50:53 brooks fetchmail[6314]: Server CommonName mismatch: localhost != mail.mounttemple.ie
Oct 2 07:50:53 brooks fetchmail[6314]: Server certificate verification error: self signed certificate
Oct 2 07:50:53 brooks fetchmail[6314]: Server certificate verification error: certificate has expired
Oct 2 07:50:58 brooks fetchmail[6314]: sleeping at Tue 02 Oct 2007 07:50:58 IST for 180 seconds
Now that nss_wins is configured, the error has changed to:
Oct 3 08:03:54 brooks nss_wins[6343]: awakened at Wed 03 Oct 2007 08:03:54 IST
Oct 3 08:03:57 brooks nss_wins[6343]: Server certificate verification error: self signed certificate
Oct 3 08:03:57 brooks nss_wins[6343]: Server certificate verification error: certificate has expired
Oct 3 08:04:02 brooks nss_wins[6343]: sleeping at Wed 03 Oct 2007 08:04:02 IST for 180 seconds
apparently because nss_wins is calling openlog, overwriting the fetchmail process's existing syslog entry with its own name and data.
gavinmc@brooks:~$ strings -a /lib/libnss_
gavinmc@brooks:~$ strings -a /lib/libnss_
openlog
This causes confusion as it appears nss_wins is the author of the error when in fact fetchmail is.
Changed in samba (Ubuntu): | |
status: | Incomplete → Confirmed |
This has now started to affect some other programs which link against nss_wins:
Oct 19 10:57:55 brooks nss_wins[20797]: authenticated mount request from patella.mt:872 for /opt/ltsp/i386 (/opt/ltsp) kiosk/i386 (/opt/ltsp-kiosk)
Oct 19 10:58:44 brooks nss_wins[20797]: authenticated mount request from library5.mt:889 for /opt/ltsp-