Howto mount a Samba Share on a Linux-WS
Ingo Lantschner
ingo.lists at vum.at
Sat Jan 28 23:44:20 UTC 2006
Thanks Noa for your reply ...
Noah Dain wrote:
> the gnome gui does not use the kernel to mount filesystems. it is
> doing it purely in user-space.
is there a way to do this ofer the commandline (scripted)?
> smbfs is deprecated (old). Try using cifs.
ok, thats interesting ...
>
> fstab:
> //sambaserver/share /mountpoint cifs
> credentials=credfile,uid=localuser,noauto,user
>
> "credfile" should be a text file that looks like:
>
> username=samba-user-name
> password=samba-user-password
this did not solve the problem ... still
------------------------------------------
$ mount /backup
mount: wrong fs type, bad option, bad superblock on //fw/daten
------------------------------------------
I searched in the repositories for cifs:
$ apt-cache search cifs
smbget - Downloader for the SMB/CIFS protocol
xsmbrowser - X11 tool for navigating SMB Networks
And installed smbget just for testing - and it worked!
But I can not find any dokumentation about a cifs-client to mount
shares. F.e.
$ apropos cifs
net (8) - Tool for administration of Samba and remote ...
samba (7) - A Windows SMB/CIFS fileserver for UNIX
smbclient (1) - ftp-like client to access SMB/CIFS resources on
servers
smbtar (1) - shell script for backing up SMB/CIFS shares ...
So I think I have to install something - but what?
TIA, Ingo.
More information about the ubuntu-users
mailing list