Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 13:53:40 -0700
From:      Conrad Minshall <conrad@apple.com>
To:        Christoph Mathys <cmathys@flippnet.org>, freebsd-hackers@freebsd.org
Cc:        Boris Popov <bp@vertex.kz>
Subject:   Re: mount_smbfs with diffrent destination-port
Message-ID:  <l0313030ababcd91332f2@[17.202.43.180]>
In-Reply-To: <20030410234800.56980a69.cmathys@flippnet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l0313030ababcd91332f2>