设为首页 收藏本站
查看: 2508|回复: 0

[经验分享] Linux中SMB 文件共享

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2017-12-7 11:22:26 | 显示全部楼层 |阅读模式
                                                一.SMB 文件共享
用Internet文件系统(CIFS)也称为服务器是适用于MicrosoftWindows服务器和客户端的标准文件和打印机共享
系统模块(SMA)
Samba 服务可用于将Linux文件系统作为CIFS/SMB网络文件共享,将linux打印机作为CIFS/SMB打印机共享进行共享
Samba服务的组成部分
软件包:
Samba-common Samba的支持文件
Samba-client 客户端应用程序
Samba  服务器应用程序
服务名称:smb nmb
服务端口:通常使用TCP/445进行所有连接。还使用UCP137.UDP138和TCP/139进行向后兼容
主配置文件:/etc/samba/smb.conf
二.smb服务
实验环境:
selinux开关设置为警告
[iyunv@localhost ~]# setenforce 0
[iyunv@localhost ~]# getenforce
Permissive
1.安装:yum install samba-common samba samba-client -y
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
2.[iyunv@localhost ~]# systemctl start smb  #重启服务
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
3.查看端口信息:netstat -antlupe | grep smb
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
4.[iyunv@localhost ~]# smbclient -L //172.25.254.100  #以匿名用户访问smb
Enter root's password:
session setup failed: NT_STATUS_LOGON_FAILURE
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# id student
uid=1000(student) gid=1000(student) groups=1000(student),10(wheel)
5.smb用户
smbpasswd
如果没有samba密码服务器,则必须在本地计算机上创建身分验证数据。使用smbpasswd创建samba账户和密码。smb用户必须是本地存在的用户
[iyunv@localhost ~]# smbpasswd -a student  #添加smb用户,该用户 必须是系统存在用户,设置一个登录smb的密码

watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
6.[iyunv@localhost ~]# smbclient //172.25.254.130/student -U student  #student用户登陆smb
Enter student's password:
session setup failed: NT_STATUS_LOGON_FAILURE  #登陆失败
[iyunv@localhost ~]# smbclient    //172.25.254.130/student -U student  #student用户访问smb
Enter student's password:
session setup failed: NT_STATUS_LOGON_FAILURE
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
查看功能开关:[iyunv@localhost ~]# getsebool -a | grep samba
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# setsebool -P samba_enable_home_dirs on  #smb共享家目录功能永久打开
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# smbclient //172.25.254.130/student -U student  #student用户访问smb可以看到共享的家目录
ls
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
在客户端主机上
安装:yum install samba-client -y
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# smbclient //172.25.254.130/student -U student  #student用户登录smb
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=student,password=123 //172.25.254.160/student /mnt/  #挂载
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# df
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
二.smb配置
1.在服务端
[iyunv@localhost ~]# vim /etc/samba/smb.conf   #修改配置文件内容
workgroup = HAHA  #公司名字
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service  #修改配置文件后重启服务
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
在客户端匿名用户登录查看 smbclient -L  //172.25.254.160 Domain改为HAHA
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
2.[iyunv@localhost ~]# vim /etc/samba/smb.conf #允许172.25.254.1登陆
95      hosts allow = 172.25.254.1 #允许共享网段
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
允许172.25.254.1访问
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
拒绝其他IP登录
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
3.[iyunv@localhost ~]# vim /etc/samba/smb.conf
  96         hosts deny = 172.25.254.1  #拒绝共享网段
    watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
    watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# smbclient -L //172.25.254.160
Enter root's password:
Anonymous login successful
Domain=[HAHA] OS=[Windows 6.1] Server=[Samba 4.2.3]
Sharename       Type      Comment---------       ----      -------IPC$            IPC       IPC Service (Samba Server Version 4.2.3)Anonymous login successful
Domain=[HAHA] OS=[Windows 6.1] Server=[Samba 4.2.3]
Server               Comment---------            -------Workgroup            Master---------            ------- watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
拒绝172.25.254.1访问,所以172.25.254.1访问smb失败
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
    3.[iyunv@localhost ~]# vim /etc/samba/smb.conf
322         [DATA]
323         comment = weixin data #描述
324         path = /haha #目录
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mkdir /haha
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# touch /haha/haha{1..3}
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# semanage fcontext -a  -t samba_share_t '/haha(/.*)?'  #添加haha目录内核上的安全上下文
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# restorecon -FRvv /haha  #刷新
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
smbclient //172.25.254.160/DATA -U student
Enter student's password:
Domain=[HAHA] OS=[Windows 6.1] Server=[Samba 4.2.3]
smb: > ls
  .                                   D        0  Tue Dec  5 02:38:07 2017
  ..                                  D        0  Tue Dec  5 02:09:50 2017
  haha1                               N        0  Tue Dec  5 02:38:07 2017
  haha2                               N        0  Tue Dec  5 02:38:07 2017
  haha3                               N        0  Tue Dec  5 02:38:07 2017
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
root@localhost ~]# smbclient -L //172.25.254.160 #用户可以看到共享的目录DATA
Enter root's password:
Anonymous login successful
Domain=[HAHA] OS=[Windows 6.1] Server=[Samba 4.2.3]
Sharename       Type      Comment---------       ----      -------DATA            Disk      weixin data watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@foundation30 ~]# mount //172.25.254.130/DATA /mnt/ -o username=student,password=123 #挂载DATA
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
df
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
vim /etc/fstab #挂载信息写入文件
//172.25.254.160/DATA  /mnt  cifs  defaults,username=student,password=123  0 0
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -a
[iyunv@localhost ~]# df
Filesystem            1K-blocks    Used Available Use% Mounted on
/dev/vda1              10473900 3180736   7293164  31% /
devtmpfs                 481120       0    481120   0% /dev
tmpfs                    496708     140    496568   1% /dev/shm
tmpfs                    496708   13132    483576   3% /run
tmpfs                    496708       0    496708   0% /sys/fs/cgroup
/dev/mapper/vg0-vo       483670    2339    451840   1% /home
//172.25.254.160/DATA  10473900 3161188   7312712  31% /mnt
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
4.[iyunv@localhost ~]# vim /etc/samba/smb.conf
126         map to guest = bad user  #把匿名用户映射成guest,未知的人名字都是guest
325         guest ok = yes  #匿名用户可以登陆
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemcl restart smb.service
[iyunv@localhost ~]# vim /etc/fstab #挂载信息写入文件
/172.25.254.160/DATA /mnt  cifs  defaults,username=guest,password="" 0 0
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -a
[iyunv@localhost ~]# df
Filesystem            1K-blocks    Used Available Use% Mounted on
/dev/vda1              10473900 3180772   7293128  31% /
devtmpfs                 481120       0    481120   0% /dev
tmpfs                    496708     140    496568   1% /dev/shm
tmpfs                    496708   13104    483604   3% /run
tmpfs                    496708       0    496708   0% /sys/fs/cgroup
/dev/mapper/vg0-vo       483670    2339    451840   1% /home
//172.25.254.160/DATA  10473900 3161820   7312080  31% /mnt
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
4.[iyunv@localhost ~]# vim /etc/samba/smb.conf
326         writable = yes  #所有smb用户都可写
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost mnt]# touch haha4
touch: cannot touch ‘haha4’: Permission denied
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost mnt]# rm -fr haha1
rm: cannot remove ‘haha1’: Permission denied  #服务允许,服务上的设备不允许
[iyunv@localhost ~]# ls -ld /haha/
drwxr-xr-x. 2 root root 42 Dec  5 02:38 /haha/
[iyunv@localhost ~]# setfacl -m u:student:rwx /haha/  #student用户加写权限
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=student,password=123 //172.25.254.160/DATA /mnt/
[iyunv@localhost mnt]# touch haha4 #建立文件
[iyunv@localhost mnt]# ls
haha1  haha2  haha3  haha4
[iyunv@localhost mnt]# rm -rf haha4 #删除
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# useradd westos  #建立用户westos
[iyunv@localhost ~]# smbpasswd -a westos  #添加smb并设置密码
New SMB password:
Retype new SMB password:
Added user westos.
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# setfacl -m g:student:rwx /haha/  #student组读写执行权限
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# usermod -G student westos   #添加westos到student附加组
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# getfacl /haha/
getfacl: Removing leading '/' from absolute path names
file: haha/owner: rootgroup: rootuser::rwx
user:student:rwx
group::r-x
group:student:rwx
mask::rwx
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=westos,password=123 //172.25.254.160/DATA /mnt/  #挂载
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# df
Filesystem            1K-blocks    Used Available Use% Mounted on
/dev/vda1              10473900 3180776   7293124  31% /
devtmpfs                 481120       0    481120   0% /dev
tmpfs                    496708     140    496568   1% /dev/shm
tmpfs                    496708   13104    483604   3% /run
tmpfs                    496708       0    496708   0% /sys/fs/cgroup
/dev/mapper/vg0-vo       483670    2339    451840   1% /home
//172.25.254.160/DATA  10473900 3162044   7311856  31% /mnt
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
[iyunv@localhost mnt]# touch haha5  #westos用户建立文件
[iyunv@localhost mnt]# ls
haha1  haha2  haha3  haha5
[iyunv@localhost mnt]# rm -fr haha5 #westos用户删除文件
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
5.[iyunv@localhost ~]# vim /etc/samba/smb.conf
322         [DATA]
323         comment = weixin data
324         path = /haha
325         guest ok = yes
326 ;       writable = yes  # ;注释不生效
327         write list = student  #student用户可写
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=westos,password=123 //172.25.254.160/DATA /mnt/  #挂载
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# touch haha6  #westos用户建立文件被禁止
touch: cannot touch ‘haha6’: Permission denied
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=student,password=123 //172.25.254.160/DATA /mnt/  #挂载
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# touch haha6  #student用户建立文件
[iyunv@localhost mnt]# ls
haha1  haha2  haha3  haha6
[iyunv@localhost mnt]# rm -fr haha6 #student用户删除文件
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
6.[iyunv@localhost ~]# vim /etc/samba/smb.conf
        [DATA]
        comment = weixin data
        path = /haha
        guest ok = yes
;       writable = yes
        write list = @student  #student用户组对DATA可写
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=westos,password=123 //172.25.254.160/DATA /mnt/
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# touch haha7  #此时westos用户可建立删除文件
[iyunv@localhost mnt]# ls
haha1  haha2  haha3  haha7
[iyunv@localhost mnt]# rm -fr haha7
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
7.[iyunv@localhost ~]# vim /etc/samba/smb.conf
       [DATA]
        comment = weixin data
        path = /haha
        guest ok = yes
        writable = yes #所有smb用户可读
;       write list = @student
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# useradd admin
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# vim /etc/samba/smb.conf
        [DATA]
        comment = weixin data
        path = /haha
        guest ok = yes
        writable = yes
;       write list = @student
        admin users = admin  #设定admin用户对文件管理是超级用户
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Added user admin.
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# pdbedit -L  #查看有哪些smb用户
student:1000:Student User
admin:1002:
westos:1001:
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=admin,password=123 //172.25.254.160/DATA /mnt/  #挂载
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# touch haha  #admin用户可建立文件
[iyunv@localhost mnt]# ls
haha  haha1  haha2  haha3
[iyunv@localhost mnt]# rm -fr haha #admin用户可删除文件
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
8.[iyunv@localhost ~]# vim /etc/samba/smb.conf
    [DATA]    comment = weixin data    path = /haha    guest ok = yes    writable = yes;       write list = @student
        admin users = admin
        browseable = no #隐藏目录
                watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
                watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# smbclient -L //172.25.254.160
Enter root's password:
Domain=[HAHA] OS=[Windows 6.1] Server=[Samba 4.2.3]
Sharename       Type      Comment---------       ----      -------  #DATA目录被隐藏IPC$            IPC       IPC Service (Samba Server Version 4.2.3)Domain=[HAHA] OS=[Windows 6.1] Server=[Samba 4.2.3]
Server               Comment---------            -------Workgroup            Master---------            ------- watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
9.[iyunv@localhost ~]# vim /etc/samba/smb.conf
   [DATA]    comment = weixin data    path = /haha    guest ok = yes    writable = yes;       write list = @student
        admin users = admin
        browseable = no
        valid users = student #只有student用户可使用DATA
                watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
                watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=westos,password=123 //172.25.254.160/DATA /mnt/
mount: //172.25.254.160/DATA is write-protected, mounting read-only
mount: cannot mount //172.25.254.160/DATA read-only
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=student,password=123 //172.25.254.160/DATA /mnt/
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# df
Filesystem            1K-blocks    Used Available Use% Mounted on
/dev/vda1              10473900 3180800   7293100  31% /
devtmpfs                 481120       0    481120   0% /dev
tmpfs                    496708     140    496568   1% /dev/shm
tmpfs                    496708   13104    483604   3% /run
tmpfs                    496708       0    496708   0% /sys/fs/cgroup
/dev/mapper/vg0-vo       483670    2339    451840   1% /home
//172.25.254.160/DATA  10473900 3162708   7311192  31% /mnt
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
10.[iyunv@localhost ~]# vim /etc/samba/smb.conf
[DATA]
        comment = weixin data
        path = /haha
        guest ok = yes
        writable = yes
;       write list =@student
        admin users =admin  #admin用户以root用户身份
        browseable = no  #隐藏
        valid users = +student  #允许student用户组访问smb
                watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
                watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# systemctl restart smb.service
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o username=westos,password=123 //172.25.254.160/DATA /mnt/  #westos可以使用DATA
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# ls
haha1  haha2  haha3
[iyunv@localhost mnt]# touch haha8
[iyunv@localhost mnt]# ls
haha1  haha2  haha3  haha8
[iyunv@localhost mnt]# rm -rf haha8
[iyunv@localhost mnt]# cd
[iyunv@localhost ~]# umount /mnt/
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
11.在客户端做:
[iyunv@localhost ~]# yum install cifs-utils
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# vim /root/subfile  #挂载时用这个文件里的用户认证
username=student
password=123
root用户充当smb的student用户
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# chmod 600 /root/subfile
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# mount -o credentials=/root/subfile,multiuser,sec=ntlmssp //172.25.254.130/DATA /mnt/ #以/root/subfile里用户身份访问DATA目录,多用户认证
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# df
Filesystem            1K-blocks    Used Available Use% Mounted on
/dev/vda1              10473900 3181104   7292796  31% /
devtmpfs                 481120       0    481120   0% /dev
tmpfs                    496708     140    496568   1% /dev/shm
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# cd /mnt/
[iyunv@localhost mnt]# touch file  #root用户建立文件用的/root/subfile该文件里写的用户身份建立的
[iyunv@localhost mnt]# ls
file  haha1  haha2  haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[iyunv@localhost ~]# su - student
Last login: Tue Dec  5 06:23:29 EST 2017 on pts/1
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[student@localhost ~]$ cifscreds add -u westos 172.25.254.160 #srudent用户得到的smb用户身份为westos
Password:
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
[student@localhost ~]$ cd /mnt/
[student@localhost mnt]$ ls
file  haha1  haha2  haha3
[student@localhost mnt]$ touch file1  #student用户建立文件是用的smb用户身份westos
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
服务端:
[iyunv@localhost ~]# cd /haha/
[iyunv@localhost haha]# ls
file  file1  haha1  haha2  haha3
[iyunv@localhost haha]# ll
total 0
-rw-r--r--. 1 student student 0 Dec  5 06:21 file  #该文件是student用户建立
-rw-r--r--. 1 westos  westos  0 Dec  5 06:25 file1 #该文件是westos用户建立
-rw-r--r--. 1 root    root    0 Dec  5 02:38 haha1
-rw-r--r--. 1 root    root    0 Dec  5 02:38 haha2
-rw-r--r--. 1 root    root    0 Dec  5 02:38 haha3
watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=.jpg
Samba 企业应用案例需求:
  • 所有员工都能够在公司内流动办公,但不管在哪电脑上工作,都要把自己文件存在 Samba 文件服器上.
  • 各部门办公人员拥有各自的主目录,用于存放私有文档(工作相关),其他人禁止访问.
  • 所有的用户都不允许使用服务器的 SHELL(安全考虑).
  • 制造部、财务部、管理部,都有各自的文件目录.
  • 各部门目录下提供“对外”、“公共文档”、“受控文档”三个子目录.
    对外: <1>允许公司所有工作人员访问,但不能修改文件.
    <2>本部门文员负责维护数据
    公共文档:<1>本部门员工可以访问,领导层可以访问,但不能修改.
    <2> 本部门文员负责维护数据
    受控文档:<1>本部门主管、公司领导可以访问、其他员工禁止.
    <2>本部门主管负责维护数据
    注:财务部受控文档只允许总经理、财务部总监、主管访问;管理部受控文档只允许总经理、主管访问
  • 公共区域:<1>所有员工均可访问
    <2>网络部负责维护
  • 交换区域:<1>所有员工均可读可写,禁止删除其它员工文件.
    2>网络部负责维护
    创建相关的目录:
    mdkir /home/samba/zhizao caiwu guanli public swap
    mkdir /home/samba/zhizao/guest public private
    mkdir /home/samba/caiwu/guest public private
    mkdir /home/samba/guanli/guest public private
    创建相关的用户和组:
    groupadd zhizao caiwu guanli lingdao network
    useradd ­s /bin/false wy zg zj jl
    usermod ­G zhizao,caiwu,guanli wy
    usermod ­G zhizao,caiwu,guanli zg
    usermod ­G caiwu zj
    usermod ­G lingdao jl
    设置文件系统权限:
    chmod 1777 /home/samba/swap
    chmod 755 /home/samba/zhizao caiwu guanli
    chmod 775 /home/samba/public
    chgrp network /home/samba/public
    chmod 755 /home/samba/zhizao/guest
    chown wy.zhizao /home/samba/zhizao/guest
    chmod 750 /home/samba/zhizao/public private
    chown zg.lingdao /home/samba/zhizao/private
    setfacl ­m g:lingdao:rx /home/samba/zhizao/public
    chmod 755 /home/samba/caiwu/guest
    chown wy.caiwu /home/samba/caiwu/guest/guest
    chmod 750 /home/samba/caiwu/public
    chown wy.caiwu /home/samba/caiwu/public
    setfacl ­m g:lingdao:rx /home/samba/caiwu/public
    chmod 700 /home/samba/caiwu/private
    chown zg /home/samba/caiwu/private
    setfacl ­m u:zj:rx /home/samba/caiwu/private
    setfacl ­m u:jl:rx /home/samba/caiwu/private
    chmod 755 /home/samba/guanli/guest
    chown wy.guanli /home/samba/guanli/guest
    chmod 750 /home/samba/guanli/public
    chown wy.guanli /home/samba/guanli/public
    setfacl ­m g:lingdao:rx /home/samba/guanli/public
    chmod 700 /home/samba/guanli/private
    chown zg /home/samba/guanli/private
    setfacl ­m u:jl:rx /home/samba/guanli/private
    配置 samba 服务:
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    [制造部]
    path = /home/samba/zhizao
    writable = yes
    browseable = yes
    [对外]
    path = /home/samba/zhizao/guest
    admin users = wy
    browseable = no
    [公共文档]
    path = /home/samba/zhizao/public
    valid users = @zhizao @lingdao
    admin users = wy
    browseable = no
    [受控文档]
    path = /home/samba/zhizao/private
    valid users = zg @lingdao
    admin users = zg
    browseable = no
    [财务部]
    path = /home/samba/caiwu
    writable = yes
    browseable = yes
    [对外]
    path = /home/samba/caiwu/guest
    admin users = wy
    browseable = no
    [公共文档]
    path = /home/samba/caiwu/public
    valid users = @caiwu @lingdao
    admin users = wy
    browseable = no
    [受控文档]
    path = /home/samba/caiwu/private
    valid users = zg zj jl
    admin users = zg
    browseable = no
    [管理部]
    path = /home/samba/guanli
    writable = yes
    browseable = yes
    [对外]
    path = /home/samba/guanli/guest
    admin users = wy
    browseable = no
    [公共文档]
    path = /home/samba/guanli/public
    valid users = @guanli @lingdao
    admin users = wy
    browseable = no
    [受控文档]
    path = /home/samba/guanli/private
    valid users = zg jl
    admin users = zg
    browseable = no
    [公共区域]
    path = /home/samba/public
    public = yes
    admin users = @network
    [交换区域]
    path = /home/samba/swap
    writeable = yes
    public = yes
    admin users = @network

                                       


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-421635-1-1.html 上篇帖子: linux dns 从域名服务器 下篇帖子: 使用Teamviewer远程桌面版CentOS 6.5
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表