Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Possible Duplicate:
Proper fstab entry to mount a samba share on boot?

How to add samba share to fstab to ensure mounting at boot time?

share|improve this question

marked as duplicate by Jorge Castro, Thomas W., Jjed, theDefector, Eliah Kagan Sep 13 '12 at 17:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

up vote 0 down vote accepted

Please refer to this post:

I will edit this, and add a more detailed answer later. For now refer the link for a step by step tutorial. Hope it helps you.

share|improve this answer

The /etc/fstab entry looks like this:

//SMB_HOST/SHARENAME /local/mountpoint cifs auto,user,rw,uid=LOCAL_USER,gid=LOCAL_GROUP,workgroup=WGNAME,iocharset=utf8,credentials=/home/LOCAL_USER/.secret/smb 0 0

In /home/USER/.secret/smb you put

share|improve this answer