****cifs----普通文件系统共享 使用samba协议 不能自动挂载****
1数据共享
服务端:yum install samba-common samba samba-client -y ----安装samba服务
systemctl start smb
smbpasswd -a student --添加samba用户(用户必须为计算机已有的用户)
smbclient - L //172.25.254.140/student -U student
--用student的用户身份访问 student的文件
(为了正常登陆:setenforce 0,getsebool -p samba_enable_home_dirs on)
客户端:yum install samba-client -y
mount -o username=student,password=redhat //172.25.254.140/student /mnt/