All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Shirish Pargaonkar
	<shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>,
	linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: smb2 configuration
Date: Wed, 08 Sep 2010 11:35:35 -0700	[thread overview]
Message-ID: <4C87D777.2080905@candelatech.com> (raw)
In-Reply-To: <4C87C793.3040800-my8/4N5VtI7c+919tysfdA@public.gmane.org>

On 09/08/2010 10:27 AM, Ben Greear wrote:
> On 09/03/2010 03:21 PM, Steve French wrote:
>> Good point - I need to update the smb2 howto ...
>>
>>
>> If you have Windows 2008, Windows Vista or Windows 7 - smb2 just works
>> (it is the default for current Windows) but for Samba (version 3.5 or
>
> Ok, I found a vista machine to test against for now.
>
>> On the client side, you need smb2.ko from my smb2.git tree (which
>> currently has some changes I need to put in to address some sideeffects
>> of the Google Summer of Code smb2 async write performance improvements)
>> - and if you don't want to use ip addresses (mount -t smb2
>> //127.0.0.1/someshare <http://127.0.0.1/someshare> /mnt .... etc) then
>> you need to recompile mount.cifs.c as mount.smb2 and put mount.smb2 in
>> /sbin
>
> Do I understand correctly that I should be able to use standard mount
> so long as I use IP addresses?
>
> What do you mean about recompile mount.cifs.c? Do you mean rename
> mount.cifs to
> mount.smb2? Or do I need to hack on mount.cifs.c code? If I need to do any
> re-compiling at all, please point me to the proper upstream repository for
> these changes.
>
> It doesn't seem to be working on Fedora 13. I checked that smb2 module
> is loaded.
>
> [root@ct503-10G-09 ]# mount -t smb2 -o
> srcaddr=192.168.100.106,user=lf,passwd=lf //192.168.100.125/pub
> /mnt/lf/smb2
> mount: unknown filesystem type 'smb2'

I tried installing the latest util-linux-ng and cifs-utils,
but still no luck:

[root@ct503-10G-09 mount]# mount -v -t smb2 -o user=lf,pass=lf //192.168.100.125/pub /mnt/lf/smb2
mount.smb2 kernel mount options: ip=192.168.100.125,unc=\\192.168.100.125\pub,,ver=1,user=lf,pass=********
mount error: smb2 filesystem not supported by the system
mount error(19): No such device
Refer to the mount.smb2(8) manual page (e.g. man mount.smb2)

I'm out of ideas on this.

Thanks,
Ben

-- 
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc  http://www.candelatech.com

      parent reply	other threads:[~2010-09-08 18:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 19:00 [cifs srcaddr-v4] cifs: Allow binding to local IP address Ben Greear
     [not found] ` <1283367606-14030-1-git-send-email-greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-09-01 21:14   ` Jeff Layton
     [not found]     ` <20100901171418.44685b74-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-09-01 21:31       ` Ben Greear
     [not found]         ` <4C7EC614.6020505-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-09-02  0:38           ` Jeff Layton
     [not found]             ` <20100901203836.2628ce57-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-09-02  5:07               ` Ben Greear
     [not found]                 ` <4C7F3111.80808-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-09-02 10:56                   ` Jeff Layton
     [not found]                     ` <20100902065602.6a62825c-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-09-03  4:02                       ` Steve French
     [not found]                         ` <AANLkTi=ezVf0b1Cu+HBKRb7Sns5+bDeFwpV649Ub_RAs-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-03  4:24                           ` Ben Greear
     [not found]                             ` <AANLkTimo-jibAy-D6j1oVy0d5-VwXrtz=Cnxvv6=g5a_@mail.gmail.com>
     [not found]                               ` <4C81724C.9030702@candelatech.com>
     [not found]                                 ` <AANLkTimGmcSeQEfS_u221RBzR04L_q25kWO31zvouxFM@mail.gmail.com>
     [not found]                                   ` <AANLkTimGmcSeQEfS_u221RBzR04L_q25kWO31zvouxFM-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-03 22:21                                     ` Steve French
     [not found]                                       ` <AANLkTins-m95_tjyxgQGjzDQ+bMehGpAMinAKap_pPF1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-03 22:27                                         ` Ben Greear
2010-09-08 17:27                                     ` smb2 configuration Ben Greear
     [not found]                                       ` <4C87C793.3040800-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-09-08 18:35                                         ` Ben Greear [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C87D777.2080905@candelatech.com \
    --to=greearb-my8/4n5vti7c+919tysfda@public.gmane.org \
    --cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=sjayaraman-l3A5Bk7waGM@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.