From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 11 13:53:51 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D54F537B401 for ; Fri, 11 Apr 2003 13:53:51 -0700 (PDT) Received: from mail-out1.apple.com (mail-out1.apple.com [17.254.0.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A75E43F3F for ; Fri, 11 Apr 2003 13:53:49 -0700 (PDT) (envelope-from conrad@apple.com) Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out1.apple.com (8.12.9/8.12.9) with ESMTP id h3BKrn3h012790 for ; Fri, 11 Apr 2003 13:53:49 -0700 (PDT) Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com ; Fri, 11 Apr 2003 13:53:47 -0700 Received: from [17.202.43.180] (minsco2.apple.com [17.202.43.180]) by scv2.apple.com (8.12.9/8.12.9) with ESMTP id h3BKrgbO028073; Fri, 11 Apr 2003 13:53:43 -0700 (PDT) X-Sender: conrad@mail.apple.com Message-Id: In-Reply-To: <20030410234800.56980a69.cmathys@flippnet.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 11 Apr 2003 13:53:40 -0700 To: Christoph Mathys , freebsd-hackers@freebsd.org From: Conrad Minshall cc: Boris Popov Subject: Re: mount_smbfs with diffrent destination-port X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 20:53:52 -0000 At 2:48 PM -0700 4/10/03, Christoph Mathys wrote: >Wouldn't it be possible to add a parameter or >something, that allows to tell 'mount_smbfs' which TCP-Port it tries to >connect to? I often forward smb-connections over ssh, and then the >destination-port is never 139. It would be very handy to have a >'clean' solution for this, not only an ugly, self-made hack. This shouldn't be hard to implement. The "mount-from" argument to mount_smbfs is almost a URL already, so the logical place to add a port parameter is defined in section 2 of: http://www.ietf.org/internet-drafts/draft-crhertel-smb-url-04.txt ...where it reads: smb_server = [ smb_userinfo "@" ] smb_srv_name [ ":" port ] -- Conrad Minshall ... conrad@apple.com ... 408 974-2749 Alternative email addresses: rad@acm.org and conrad@mac.com.