From owner-freebsd-questions@FreeBSD.ORG Tue Mar 20 16:27:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3461F16A403 for ; Tue, 20 Mar 2007 16:27:57 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 077D613C487 for ; Tue, 20 Mar 2007 16:27:57 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 275B6EBC62; Tue, 20 Mar 2007 12:27:56 -0400 (EDT) Date: Tue, 20 Mar 2007 12:27:55 -0400 From: Bill Moran To: "Ben House" Message-Id: <20070320122755.9a190419.wmoran@potentialtech.com> In-Reply-To: References: X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD/Samba issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 16:27:57 -0000 In response to "Ben House" : > I have a situation where we are using a samba file server 3.0.23d with WINS > enabled on FreeBSD 5.4. When the WINS is enabled in Samba the user > (Windows) PCs are having problems resolving other PCs on the network (using > NetBIOS), example: pinging "user" from a user PC is resolving to "user.com" > and returning the external IP. Removing the reference to the WINS on the PC > fixes this. Pinging "user" from the FreeBSD box (with Samba on or off) > returns the external address to "user.com" also. Any other FreeBSD box (on > other LANs) doesn't seem to do this. Can this be changed? If I understand your problem correctly ... Keep in mind that WINS is a system originally designed to compete with DNS. WINS and DNS do the same thing. Also, Micrsoft gave up that goat and newer versions of Windows favor DNS resolution over WINS. As a result, you're better off ditching WINS and setting up all your configuration information in DNS. If that's not possible, there is a setting on Windows that allows you to control which is tried first (DNS or WINS), but I seem to remember that it did not work as advertised. Keep in mind that different tools in Windows do things differently: I believe IE will always try DNS first, where as most DOS tools will always try WINS first. As a result, you're probably best off getting rid of WINS altogether. -- Bill Moran http://www.potentialtech.com