标签:
配置前需关闭防火墙
安装samba文件,修改配置文件
[root@localhost samba]# pwd
/etc/samba
[root@localhost samba]# vim smb.conf [global] workgroup = MYGROUP server string = Samba Server Version %v security = user passdb backend = tdbsam load printers = yes cups options = raw [homes] comment = Home Directories browseable = no writable = yes [orcl_100] comment = All Printers path = /u01/orcl_100 browseable = yes valid user = @oracle writable = yes read only = no
将oracle添加入samba用户,oracle可访问
[root@localhost samba]# smbpasswd -a oracle
New SMB password:
Retype new SMB password:
Added user oracle.
标签:
原文地址:http://www.cnblogs.com/houzhiqing/p/4771859.html