From nobody@FreeBSD.org  Sun Jul  8 20:07:30 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B28DC106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Jul 2012 20:07:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9D9498FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Jul 2012 20:07:30 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q68K7U8S016223
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 8 Jul 2012 20:07:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q68K7Uoi016222;
	Sun, 8 Jul 2012 20:07:30 GMT
	(envelope-from nobody)
Message-Id: <201207082007.q68K7Uoi016222@red.freebsd.org>
Date: Sun, 8 Jul 2012 20:07:30 GMT
From: Matt B <theunusualmatt@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mount_smbfs refuses to connect over port 445
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         169719
>Category:       ports
>Synopsis:       net/samba36: mount_smbfs refuses to connect over port 445
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    timur
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 08 20:10:10 UTC 2012
>Closed-Date:    Sat Oct 20 15:38:22 UTC 2012
>Last-Modified:  Sat Oct 20 15:38:22 UTC 2012
>Originator:     Matt B
>Release:        8.2 STABLE
>Organization:
Freescapes
>Environment:
FreeBSD zignix.zignet.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue Jun 21 22:47:52 EDT 2011     deathcipris@zignix.zignet.local:/usr/obj/usr/src/sys/ODIN  amd64
>Description:
Command:
mount_smbfs -I HOSTIP //user@hostname:445/share /mnt/node

yields an error of Connection Reset by Peer.

Without :445

yields an error of Connection Refused

There are no firewalls in between connection.
NetBios IS disabled and CANNOT be enabled.

According the Samba documentation, mount_smbfs should fail over to SMB over TCP 445 once a connection via NetBios fails.

DNS is configured properly, smb.conf has smb port locked into 445, netbios is disabled there.
>How-To-Repeat:
Disable Netbios on a network adapter on a Windows host share and attempt to connect via a mount_smbfs command.
>Fix:


>Release-Note:
>Audit-Trail:

From: "Matt B" <theunusualmatt@gmail.com>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: ports/169719: mount_smbfs refuses to connect over port 445
Date: Sun, 8 Jul 2012 22:24:31 -0400

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0001_01CD5D58.730EAFE0
 Content-Type: text/plain;
 	charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 
 Samba 3.6 port in use.
 
 Latest port edition of 3.6.5 installed.
 
 Smbclient command functions successfully and browses shares appropriately.
 
 ------=_NextPart_000_0001_01CD5D58.730EAFE0--
 
Responsible-Changed-From-To: freebsd-ports-bugs->timur 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jul 16 03:10:22 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169719 
State-Changed-From-To: open->closed 
State-Changed-By: timur 
State-Changed-When: Sat Oct 20 15:38:22 UTC 2012 
State-Changed-Why:  
mount_smbfs isn't part of the net/samba port, it is a different piece of 
code that comes with src. Recently it was deprecated, so I can't even 
recommend to file anothe PR for src... Maybe, someone can take an efford 
to port Samba's mount_smbfs to FreeBSD. Sorry for that... Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169719 
>Unformatted:
