Linux/Monter un partage windows ou samba sous linux

De GeRgOsNet

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>