SMB 配 置 文 档 1 检查 samba 是否安装 如果没有输入,则手动安装 [root@lvs-s ~ ]# rpm -qa |grep samba samba-common-3
8 samba-client-3
8 samba-3
8 [root@lvs-s CentOS]# rpm -ivh samba-common-3
rpm [root@lvs-s CentOS]# rpm -ivh samba-3
rpm [root@lvs-s CentOS]# rpm -ivh samba-client-3
rpm 2 安装完毕后会自动在/etc/下创建一个 samba 目录,编辑 samba 下的 smb
conf 首先清楚 smb
conf 然后重新添加内容 [root@lvs-s samba]# mv smb
conf smb
old #备份 smb
conf 文件 [root@lvs-s samba]# vim smb
conf #编辑空的 smb
conf 3 要在 smb
conf 里面添加一下内容 # Samba config file created using SWAT # from 192
196 (192
196) # Date: 2008/04/14 10:20:27 [global] cups options = raw server string = Samba Server Version workgroup = mygroup ; os level = 20 ; encrypt passwords = yes hosts allow =