码迷,mamicode.com
首页 > 其他好文 > 详细

samba服务器配置

时间:2015-08-30 23:04:21      阅读:225      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!