Thank you, Suresh.
I'm assuming you are using the recent cifs-utils package which supports
smb2.
Sorry, I didn't use newest one.
So, I updated cifs-util to version 4.7
===================================================
# mount.cifs -V
mount.cifs version: 4.7
# mount.smb2 -V
mount.cifs version: 4.7
===================================================
> From where did you get mount.smb2? Is it a symlink to mount.cifs by
any chance?
Yes, it is. I made symbolic link to mount.cifs manually.
===================================================
# ls -l /sbin/mount.smb2
lrwxrwxrwx 1 root root 10 2010-10-18 10:23 /sbin/mount.smb2 -> mount.cifs*
===================================================
> Could you try
>
> mount -t smb2 //server/share /mnt/point -o user=user1
I tried and got another error.
Error massage is follow.
===================================================
# mount -t smb2 //server/share /mnt/point -o user=xxxx,pass=yyyy
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 didn't got this message before I updated to cifs-util 4.7
I think this means that Kernel of my box is not support SMB2,
is it right?
I built my kernel from
git.kernel.org/pub/scm/linux/kernel/git/sfrench/smb2.git
Kernel parametrs about SMB2 are
===================================================
# grep SMB2 .config
CONFIG_SMB2_FS=y
CONFIG_SMB2_STATS=y
CONFIG_SMB2_STATS2=y
CONFIG_SMB2_DEBUG2=y
===================================================
Should I set any other parameters ?
Thanks.
--
Shinnosuke Yagi
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html