(You must change hda_username and hda_password to the correct user name and password for the NAS to connect to):
<code>
username=hda_username
password=hda_password
<\code>
* Save the file by hitting ctrl+x, type "y" to save the buffer, and <enter> to exit.
* Add this line at the end:
//server/share /var/hda/music /mediafiles/music cifs credentials=/root
/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0