Page 1 of 1

Linux tip: mounting windows shares

Posted: Tue Aug 23, 2005 10:41 am
by Red Squirrel
You must have smbclient installed (comes with samba, I believe)

Create a folder of choice where you want it to be mounted. I chose /mounts/mypc.

Then execute this command:

smbmount "//tim-ns-7fwhk11/c$" "/mounts/mypc" -o username=Administrator

Notice that I used // and not \.

Also, if you don't want it to prompt for the password, run it like this:

smbmount "//tim-ns-7fwhk11/c$" "/mounts/mypc" -o username=Administrator,password=secret

Type smbmount to see more options.

Archived topic from Iceteks, old topic ID:3592, old post ID:29247