[Samba] samba4 installation Error and mount: unknown filesystem type 'smbfs'
Carlos R. Pena Evertsz
carlosrpevertsz at gmail.com
Wed Sep 5 14:16:31 MDT 2012
From command line type:
mount -t cifs //mybooklive/myfolder /media/smb -o
username=user,password=userpassword;
On 9/5/2012 1:37 PM, JIA Pei wrote:
> Hi, all:
>
> Two questions.
> Environment: Ubuntu 12.04
>
> 1) mount: unknown filesystem type 'smbfs'
> With default Samba 2:3.6.3-2ubuntu2.3 installed, all the following 3
> commands failed:
> a)
> $ sudo mount -t *smbfs* -o username=MYNAME,password=MYPWD
> //mybooklive/myfolder /media/smb/
> mount: unknown filesystem type 'smbfs'
> b)
> /media$ sudo mount -t *cifs* -o
> username=MYNAME,password=MYPWD //mybooklive/myfolder/ /media/smb/
> mount: wrong fs type, bad option, bad superblock on //mybooklive/myfolder/,
> missing codepage or helper program, or other error
> (for several filesystems (e.g. nfs, cifs) you might
> need a /sbin/mount.<type> helper program)
> In some cases useful info is found in syslog - try
> dmesg | tail or so
> c)
> $ sudo smbmount //192.168.1.82/myfolder/ /media/smb/ -o user=MYNAME
> sudo: smbmount: command not found
>
>
> 2) I have no idea whether 1) has something to do with samba version? So, i
> decided to replace current samba 2:3.6.3-2ubuntu2.3 with samba4 .
> However, I met exactly the same issue as described here,
> https://bugzilla.samba.org/show_bug.cgi?id=8633
> http://ubuntuforums.org/showthread.php?t=1983830
> namely:
>
>> samba.provision.InvalidNetbiosName: The name ''AJIT-EXTENSA-4630Z'' is not
>> a
>> valid NetBIOS name
>
>
> And, unfortunately,
> Solution as
>
>> "smb.conf" generated by s4
>> - upgrade from s3:
>> - rename the old "smb.conf.bak" back to "smb.conf"
>> - as far as I can see you have a malformed "netbios name" parameter in the
>> "smb.conf": hence I would shorten it to be at max. 16 characters long
>> - invoke the "samba-tool domain samba3upgrade" command (instructions and
>> problem resolutions are found in our samba-technical mailing list archives)
>
> doesn't work for me at all. It seems I have to downgrade to
> samba 2:3.6.3-2ubuntu2.3, in order to remove this* not a valid NetBIOS name*
>
>
> Did anybody really solve this problem???
>
> Cheers
>
>
> Pei JIA
>
> Email: jp4work at gmail.com
> cell: +1 604-362-5816
>
> Welcome to Vision Open
> http://www.visionopen.com
More information about the samba
mailing list