Yea this is basic stuff but it’s one of those things I dont do it enough to remember the formating.. Perhapes when I can figure out how to live life Windows free I’ll use it more often. Then again MAYBE NOT as I will be windows free!
To test and see if your Linux luv macheen sees the shares on the Windows hate macheen:
smbclient -L <windows-box> -U <username>
Make a directoy for the mountpoint, you know in the mnt directory:
mkdir /mnt/<name-of-mount-point>
Mount the share, yes it’s time to actually mount the horse, put your foot in the stirrups:
mount -t smbfs -o username=<username>,password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint>
Note: This syntax saves the password.
-username=<username>,password=<password>
Create a symbolic link to the mounted drive, i really hope you kow what a symbolic link is:
ln -s /mnt/<name-of-mount-point> /<path-of-symlink>
Note: A symbolic link serves pretty much the same purpose as short cut in Windows. For instance if you linked /mnt/my_stupid_active_directory_server to /msads then you could refer to it as such cd /msads instead of cd /mnt/my_stupid_active_directory_server. Get it?