[Samba] smbmount how to?

Simon Chambers simon.chambers at isoftuk.co.uk
Sat Aug 24 04:00:01 GMT 2002

The easiest way to mount a share from a windows pc onto linux is as follows

mount -t smbfs -o Username=<username> //windowspc/share /path/to/mountat

so for example the windows pc is called server and the share is public, your
mount point is /mnt/server

you would use

linuxpc# mount -t smbfs -o username=myname //server/public /mnt/server

et voila!

----- Original Message -----
From: "Urban Widmark" <urban at teststation.com>
To: "drobson" <drobson at chartertn.net>
Cc: <samba at samba.org>
Sent: Saturday, August 24, 2002 10:51 AM
Subject: Re: [Samba] smbmount how to?

> On Fri, 23 Aug 2002, drobson wrote:
> > I want to access files on my Windows PC from my Linux PC running Samba.
> > I've looked at the documentation for smbmount, but like most Linux
> > documentation,
> > it documents the "what is" not the"how to".
> There is a smb howto that includes client part:
> http://www.tldp.org/HOWTO/SMB-HOWTO.html
> But it is seriously out of date and documents early samba 2.0.
> > Could some kind-hearted, experienced soul give me the actual
> > configurations and
> > commands needed to mount a directory of the Windows 98 file system on my
> > Linux file tree so that I may access those files from within Linux?
> On most standard linux installs you already have what you need. Try:
> mount -t smbfs -o username=foo //win98netbiosname/share /mnt/smb
> The smbmount manpage mostly shows what additional options you can choose
> from. I think win9x only looks at the password you give and compares it
> with the one for the share.
> The only tricky part could be the win98netbiosname, it's not the dns name
> and ip number doesn't work either. It must be the name the win9x box calls
> itself.
> If you built samba yourself, ensure you enabled smbmount in the
> ./configure command.
> If you built the kernel yourself, ensure you built smbfs (as a module or
> in-kernel).
> /Urban
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list