Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71412 - samba-3.0.8-r* wins host resolution doesn't work, 3.0.7-r* works fine
Summary: samba-3.0.8-r* wins host resolution doesn't work, 3.0.7-r* works fine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-16 10:08 UTC by John Russell
Modified: 2004-11-18 06:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Russell 2004-11-16 10:08:00 UTC
This is exactly the same behavior as bug #63884.  This time 3.0.7* works fine and 3.0.8 doesn't.  I ran exactly the same tests and they behave the same as described  in #63884.

Reproducible: Always
Steps to Reproduce:
1.configure samba to resolve dynamic address hostnames using WINS
2. emerge samba-3.0.8 or 3.0.8-r1 ping <windows machine with dhcp address
3. ping <windows machine with dhcp address>
Actual Results:  
host unknown

Expected Results:  
resolve hostname and ping host

please see #63884
Comment 1 boruss 2004-11-16 22:44:05 UTC
May be this help you
http://bugs.gentoo.org/show_bug.cgi?id=71334
Comment 2 boruss 2004-11-17 00:59:41 UTC
I add "private dir = /etc/samba/private" in smb.conf
and my domain on samba 3.0.8 work fine.
I think this bug copy http://bugs.gentoo.org/show_bug.cgi?id=71334
please check me.
Comment 3 John Russell 2004-11-17 06:52:39 UTC
I don't think that this is the issue.  If you read my description in but #63884 you'll see what I mean.  This problem happens whether or not samba is started.  Samba comes with a library that allows you to put 'wins' into resolv.conf so you can resolve wins client hostnames with gethostname() and things like ping.  This is provieded by a library called /lib/libnss_wins.so. 

however, I have just done an epm -ql on samba-3.0.8-r1 and this file doesn't appear to be in the file list.  Where could it have gone?
Comment 4 Christian Andreetta (RETIRED) gentoo-dev 2004-11-18 04:14:20 UTC
if the file is gone, the solution may be simple: in samba-3.0.8 there are 3 new flags to be activated: libclamav (antivirus check via library calls, not daemons), quotas (obvoius) and winbind (maybe your case). There is a warning on this in the beginning of the compile activity.
'emerge -pv samba' will show your latest flags.
I'm optimistic: I'll close it now. If this not solves, reopen and flame me :-)
Comment 5 John Russell 2004-11-18 06:33:24 UTC
That was it. Thanks.