Thursday, September 15, 2011

mount windows share on linux


basic:
#smbmount "\\\\samba1\\customers" /mnt/mountpoint/

if user is the same the following password-prompt will do the rest.

in case of errors:
- use ip-address instead of hostname "samba1"

thanx to:
http://tldp.org/HOWTO/SMB-HOWTO.html#toc8


mount -t cifs //hostname-or-ip/nameofshare /mnt/createafolderfortheshare -o user=shareuser
password: #####

No comments:

Post a Comment