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

Eero Volotinen eero.volotinen at iki.fi
Wed Feb 17 02:24:15 MST 2010


2010/2/17 Helmut Hullen <Hullen at t-online.de>:
> Hallo, Gungne,
>
> Du meintest am 17.02.10:
>
>> I need to access a share on one of the win2003 servers. How do I do
>> this? I want to mount the win share so that I permanently can access
>> it from the debain workstations.
>
> Structure (not completely tested)
>
>        smbclient -N -L <win2003>
>
> shows the names of the shares.
>
>        mount //<win2003>/<Share> /mnt/localshare
>
> should ask for username and password; the mountpoint has to exist.
>
> I've just tried the mount line: "mount.cifs" doesn't work, but "mount"
> tells to try the "cifs" type and works well, "mount -t cifs" too. Samba
> 3.4.4
>
> Viele Gruesse!
> Helmut
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>

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