Here is what I do. Its similar to the other fstab file that another user posted, but I use a credentials file so that all users can still read fstab but only root can se the credential file. It will work with automounting but I have a laptop so don't do this. The credential file takes the form of:
username:username password:password with NO space on top. Hope this helps. //gladiator/files /mnt/files smbfs credentials=/etc/samba/credential,noauto,gid=506,fmask=775 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list