感谢支持
我们一直在努力

Fedora 18下超简单的samba初级配置实例

在Fedora 18 Desktop 上测试成功, 步骤如下:
 
yum install samba*
 
useradd smbusr
 passwd smbusr
 smbpasswd -a smbusr
 
vi /etc/smb.conf
 [global]
        workgroup = MYGROUP
        server string = Samba Server Version %v
        log file = /var/log/samba/log.%m
        max log size = 50
        load printers = No
        idmap config * : backend = tdb
        cups options = raw
 
[homes]
        comment = Home Directories
        read only = No
        browseable = No
 
[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        print ok = Yes
        browseable = No
 
[public]
        comment = Public Stuff
        path = /plans
        write list = +smbusr
        read only = No
        guest ok = Yes
 
— disable SE
 sestatus
 setenforce 0 #permissive   
   
service smb restart

Fedora 18下超简单的samba初级配置实例

enjoy!

赞(0) 打赏
转载请注明出处:服务器评测 » Fedora 18下超简单的samba初级配置实例
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏