[Samba] How do I mount a share on my Debian server ?

Eero Volotinen eero.volotinen at iki.fi
Fri Feb 19 03:01:59 MST 2010


2010/2/19 Gungne Gungneson <gungne2 at gmail.com>:
> This line is getting me forward:
>
> smbclient -U my-username -W WORKGROUP -L 10.23.150.100
> Enter my-username's password:
>
> Domain=[CORPNET] OS=[Windows Server 2003 R2 3790 Service Pack 2]
> Server=[Windows Server 2003 R2 5.2]
>
> Sharename Type Comment
> --------- ---- -------
> print$ Disk Printer Drivers
> C$ Disk Default share
> ...
> a-lot-of-shares
> ...
> F$ Disk Default share
> ADMIN$ Disk Remote Admin
> ...
> a-lot-of-printers
> ...
>
> session request to 10.23.150.100 failed (Called name not present)
> session request to 10 failed (Called name not present)
> Domain=[CORPNET] OS=[Windows Server 2003 R2 3790 Service Pack 2]
> Server=[Windows Server 2003 R2 5.2]
>
>
> Tanks for a lot of use full hints so fare.
> I'm new to samba, so I am now sure what
> to use as search terms. But the answers
> here has helped me much.
>
> Now I have to mount the share permanent
> on my server. And here I need some help and
> hints...

Like this in /etc/fstab

//ip.or.hostname/WORK /mnt/work                      cifs
noperm,uid=eero,rw,user=eero,iocharset=utf8,credentials=/home/eero/credentials
 0 0

crendentials file contains line password=user-password

--
Eero


More information about the samba mailing list