From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 6 15:50:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F807106567B for ; Wed, 6 Aug 2008 15:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F18708FC1A for ; Wed, 6 Aug 2008 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m76Fo10s045221 for ; Wed, 6 Aug 2008 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m76Fo1n3045220; Wed, 6 Aug 2008 15:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 6 Aug 2008 15:50:01 GMT Resent-Message-Id: <200808061550.m76Fo1n3045220@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirk Strauser Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0237D106568F for ; Wed, 6 Aug 2008 15:41:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E65B08FC1A for ; Wed, 6 Aug 2008 15:41:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m76Ff3Ds001761 for ; Wed, 6 Aug 2008 15:41:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m76Ff3Us001760; Wed, 6 Aug 2008 15:41:03 GMT (envelope-from nobody) Message-Id: <200808061541.m76Ff3Us001760@www.freebsd.org> Date: Wed, 6 Aug 2008 15:41:03 GMT From: Kirk Strauser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/126305: Hostnames in nsmb.conf seem to be ignored X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 15:50:02 -0000 >Number: 126305 >Category: kern >Synopsis: Hostnames in nsmb.conf seem to be ignored >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 06 15:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: 7-STABLE >Organization: The Day Companies >Environment: FreeBSD athena.daycos.com 7.0-STABLE FreeBSD 7.0-STABLE #3: Wed Jul 23 15:24:38 CDT 2008 root@minerva.daycos.com:/usr/obj/usr/src/sys/MINERVA amd64 >Description: I have an entry in /etc/fstab to mount a Windows share: //kirk@tiffsrv/vdrive /mnt/tiffsrv/vdrive smbfs rw,noexec 0 0 For whatever reason, mount_smbfs can't resolve that address (although smbclient can): # mount /mnt/tiffsrv/vdrive mount_smbfs: can't get server address: syserr = Operation timed out So, I added an entry to /etc/nsmb.conf like so, following the example in the "[FSERVER]" block: [TIFFSRV:KIRK] password=mypassword addr=tiffsrv.office.daycos.com I still get the same error: # mount /mnt/tiffsrv/vdrive mount_smbfs: can't get server address: syserr = Operation timed out If I hardcode the hostname into /etc/fstab, though, it works as expected: //kirk@tiffsrv/vdrive /mnt/tiffsrv/vdrive smbfs rw,noexec,-Itiffsrv.office.daycos.com 0 0 I don't know whether this is a problem with the documentation for nsmb.conf or with mount_smbfs, but the end result is that it doesn't work as stated. >How-To-Repeat: >Fix: Use the "-I" option to mount_smbfs to specify the address. >Release-Note: >Audit-Trail: >Unformatted: