Page 1 of 1

[SOLVED] ROS v6.9 Mount SMB Share does not work

Posted: Mon Apr 07, 2014 3:17 am
by Yamash
Hello,

I'm trying to mount my routerboard smb share in my ubuntu 12.04.4 LTS, but unfortunally I'm not having success.

Below the sbmtree output, I've double checked the password.
yamash@PITCAIRN:/mnt$ sudo smbtree -U SAMBA
Enter SAMBA's password:
LOCAL
        \\PITCAIRN                      PITCAIRN server (Samba 3.6.3, Ubuntu)
                \\PITCAIRN\Storage              Shared Files
                \\PITCAIRN\Web                  Website
                \\PITCAIRN\IPC$                 IPC Service (PITCAIRN server (Samba 3.6.3, Ubuntu))
        \\CONNOR                        CONNOR
        \\CHARLES
The output of mount:
yamash@PITCAIRN:/mnt$ sudo mount -t cifs -ouser=SAMBA,password=****** \\\\10.0.0.33 /mnt/connor/ --verbose
mount.cifs kernel mount options: ip=10.0.0.33,unc=\\10.0.0.33\,,ver=1,user=SAMBA,prefixpath=mnt/connor/,pass=********
mount error(38): Function not implemented
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
dmesg output:
[255024.486687] CIFS VFS: cifs_mount failed w/return code = -113
[255055.694588] CIFS: the value of the unc= mount option does not match the device string. Using the unc= option for now. In 3.10, that option will be ignored and the contents of the device string will be used instead. ((null) != \\10.0.0.33\)
[255055.694603] CIFS: the value of the prefixpath= mount option does not match the device string. Using the prefixpath= option for now. In 3.10, that option will be ignored and the contents of the device string will be used instead.((null) != mnt/connor/)
[255055.713890] CIFS VFS: NTLMSSP requires Unicode support
[255055.713919] CIFS VFS: Send error in SessSetup = -38
[255055.714023] CIFS VFS: cifs_mount failed w/return code = -38
[255347.335059] CIFS: the value of the unc= mount option does not match the device string. Using the unc= option for now. In 3.10, that option will be ignored and the contents of the device string will be used instead. ((null) != \\CONNOR\)
[255347.335074] CIFS: the value of the prefixpath= mount option does not match the device string. Using the prefixpath= option for now. In 3.10, that option will be ignored and the contents of the device string will be used instead.((null) != mnt/connor/)
[255348.364280] CIFS VFS: Error connecting to socket. Aborting operation
[255348.364389] CIFS VFS: cifs_mount failed w/return code = -113
[255857.490337] CIFS: the value of the unc= mount option does not match the device string. Using the unc= option for now. In 3.10, that option will be ignored and the contents of the device string will be used instead. ((null) != \\10.0.0.33\)
[255857.490352] CIFS: the value of the prefixpath= mount option does not match the device string. Using the prefixpath= option for now. In 3.10, that option will be ignored and the contents of the device string will be used instead.((null) != mnt/connor/)
[255857.508886] CIFS VFS: NTLMSSP requires Unicode support
[255857.508915] CIFS VFS: Send error in SessSetup = -38
[255857.509025] CIFS VFS: cifs_mount failed w/return code = -38
Can anyone guide me to solve this?

In Windows I have not problem to map this share.

---EDIT---
SOLVED
/etc/fstab
//connor.codex/Files/ /mnt/connor cifs user,file_mode=0777,dir_mode=0777,rw,gid=1000,sec=ntlm,credentials=/root/credentials/connor 0 0
sudo mount -t cifs //10.0.0.33/Files /mnt/connor -o user=SAMBA,password=*,sec=ntlm --verbose