Wiki GeRgOsNet Notes d’administration système, réseau et domotique

Monter un partage windows ou samba sous linux

Monter un partage windows ou samba sous linux

Mis à jour le 16 juin 2019 1 min de lecture Historique

To test if your Linux machine sees the shares on the Windows box:

smbclient -L <windows-box> -U <username> 

1.Make a directoy for the mountpoint:

mkdir /mnt/<name-of-mount-point> 

2.Mount the share:

mount -t smbfs -o username=<username>,password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint> Note: The syntax -username=<username>,password=<password> saves the password. 

3.Create a symbolic link to the mounted drive:

ln -s /mnt/<name-of-mount-point> /<path-of-symlink>

Ancien titre MediaWiki : Linux/Monter_un_partage_windows_ou_samba_sous_linux