Add the following line in /etc/fstab
//samba_server/samba_share /local_mount_point cifs username=samba_user,password=samba_password 0 0
where
- samba_server is the samba server hostname or ip address
- samba_share is the samba share name which is optional
- local_mount_point is the mount point on the local Linux machine where you want to mount the samba share
- cifs is the type of share. smbfs is not recognized by CentOS
- samba_user is the username required to access the samba share
- samba_password is the password required to access the samba share





1 Comment »