[Samba] samba4 installation Error and mount: unknown filesystem type 'smbfs'

JIA Pei jp4work at gmail.com
Wed Sep 5 12:37:53 MDT 2012

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:
$ sudo mount -t *smbfs* -o username=MYNAME,password=MYPWD
//mybooklive/myfolder /media/smb/
mount: unknown filesystem type 'smbfs'
/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
$ sudo smbmount // /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,

> 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???



Email: jp4work at gmail.com
cell:    +1 604-362-5816

Welcome to Vision Open

More information about the samba mailing list