On Fri, 02 Jan 2009 18:19:54 -0000
Chris Unitt <cun...@gmail.com> wrote:

> AmenophisIII wrote:
> > mh i dont understand that... why could you reenable it, which version?
> > i have a fully upgraded 8.10 with samba and winbind 2:3.2.3-1ubuntu3.3.
> >
> >   
> Hmm.
> 
> Well when I re-enabled it, I only added wins to the 'hosts' part of my 
> nsswitch.conf file, so now it is as follows:
> 
> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc-reference' and `info' packages installed, try:
> # `info libc "Name Service Switch"' for information about this file.
> 
> passwd:         compat
> group:          compat
> shadow:         compat
> 
> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4 wins
> networks:       files
> 
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
> 
> 
> Maybe this helps?

it helps, because now gethostbyname() will try DNS before WINS, and so
most concurrent request (mostly those of browsers) will never reach the wins 
library.
but if they would, for example if the DNS servers are down temporarily,
they would crash.

im not sure how mdns works, but in most cases [NOTFOUND=return] does
not make sense (it would never try dns, mdns4 or wins, if mdns4_minimal
could not find the host. see
http://gnu.huihoo.org/glibc-2.2.3/html_chapter/libc_28.html).

(sorry if this mail, does not work as intended. i used the webinterface
till now)

-- 
firefox 3.0.3 crashes (no SIG) on most pages w images: 8.10beta AMD64
https://bugs.launchpad.net/bugs/286119
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to