免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3018 | 回复: 1
打印 上一主题 下一主题

[samba] samba 配置好了,能读,写,删除文件但是无法创建文件加 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-04 11:21 |只看该作者 |倒序浏览
samba 配置好了,能读,写,删除文件但是无法创建文件加
会是什么问题呢??

配置文件如下
#======================= Global Settings =====================================
       
[global]
        workgroup = Workgroup
        server string = Samba Server
       
;        netbios name = MYSERVER
       
;        interfaces = lo eth0 192.168.0.0/24
        hosts allow = 127. 192.168.0.


;        log file = /var/log/samba/%m.log
        # max 50KB per log file, then rotate
;        max log size = 50
       
# ----------------------- Standalone Server Options ------------------------
        security = user
        passdb backend = tdbsam
# ----------------------- Domain Members Options ------------------------
;        security = domain
;        passdb backend = tdbsam
;        realm = MY_REALM

;        password server = <NT-Server-Name>

# ----------------------- Domain Controller Options ------------------------
;        security = user
;        passdb backend = tdbsam
       
;        domain master = yes
;        domain logons = yes
       
        # the login script name depends on the machine name
;        logon script = %m.bat
        # the login script name depends on the unix user used
;        logon script = %u.bat
;        logon path = \\%L\Profiles\%u
        # disables profiles support by specifing an empty path
;        logon path =         
       
;        add user script = /usr/sbin/useradd "%u" -n -g users
;        add group script = /usr/sbin/groupadd "%g"
;        add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
;        delete user script = /usr/sbin/userdel "%u"
;        delete user from group script = /usr/sbin/userdel "%u" "%g"
;        delete group script = /usr/sbin/groupdel "%g"
       
       
# ----------------------- Browser Control Options ----------------------------
;        local master = no
;        os level = 33
;        preferred master = yes
       
#----------------------------- Name Resolution -------------------------------
;        wins support = yes
;        wins server = w.x.y.z
;        wins proxy = yes
       
;        dns proxy = yes
       
# --------------------------- Printing Options -----------------------------
        load printers = yes
        cups options = raw

;        printcap name = /etc/printcap
        #obtain list of printers automatically on SystemV
;        printcap name = lpstat
;        printing = cups

# --------------------------- Filesystem Options ---------------------------
;        map archive = no
;        map hidden = no
;        map read only = no
;        map system = no
;        store dos attributes = yes


#============================ Share Definitions ==============================
       

##myshare
        [www]
       comment = myshare
        browseable = yes
       path = /www
        valid users = root
       public = no
       writable = yes
       printable = no
        create mask = 0766

论坛徽章:
0
2 [报告]
发表于 2008-07-04 11:35 |只看该作者
搞定了,关掉了selinux
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP