首页 > 其他 > 详细

samba服务器配置

时间:2015-08-30 23:03:09      阅读:274      评论:0      收藏:0      [点我收藏+]

配置前需关闭防火墙

安装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.

技术分享

samba服务器配置

原文:http://www.cnblogs.com/houzhiqing/p/4771859.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!