找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3214|回复: 12

samba的设置问题?求教!求教!

[复制链接]
本帖最后由 ljw 于 2013-12-3 11:47 编辑

如图:我拿了64m的u盘(呵呵,多年前的)。挂载到了,u盘的格式是ext3.
但是在共享的时候遇到了问题,设置成  :允许匿名用户  时能访问u盘内的路径,看的到文件,但无修改权限。
不允许匿名用户时,进去要密码,试了多个,就是进不去。我进共享的方法是在《开始》菜单内点击《运行》然后输入 \\192.168.1.1\nas  回车

模板信息:
[global]
        netbios name = |NAME|
        display charset = |CHARSET|
        interfaces = |INTERFACES|
        server string = |DESCRIPTION|
        unix charset = |CHARSET|
        workgroup = |WORKGROUP|
        browseable = yes
        deadtime = 30
        domain master = yes
        encrypt passwords = true
        enable core files = no
        guest account = nobody
        guest ok = yes
        invalid users = root
        local master = yes
        load printers = no
        map to guest = Bad User
        max protocol = SMB2
        min receivefile size = 16384
        null passwords = yes
        obey pam restrictions = yes
        os level = 20
        passdb backend = smbpasswd
        preferred master = yes
        printable = no
        security = user
        smb encrypt = disabled
        smb passwd file = /etc/samba/smbpasswd
        socket options = TCP_NODELAY IPTOS_LOWDELAY
        syslog = 2
        use sendfile = yes
        writeable = yes




        注:如何在模板内修改账号密码?还有如何创建文件夹,路径?


我的恩山、我的无线 The best wifi forum is right here.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

回帖奖励 +10 币恩山币

可能方法问题,win8下直接进网络就能发现设备,很方便
另附下我的
[global]
        netbios name = |NAME|
        display charset = |CHARSET|
        interfaces = |INTERFACES|
        server string = |DESCRIPTION|
        unix charset = |CHARSET|
        workgroup = |WORKGROUP|
        browseable = yes
        deadtime = 30
        domain master = yes
        encrypt passwords = true
        enable core files = no
        guest account = nobody
        guest ok = yes
        invalid users = root
        local master = yes
        load printers = no
        map to guest = Bad User
        max protocol = SMB2
        min receivefile size = 16384
        null passwords = yes
        obey pam restrictions = yes
        os level = 20
        passdb backend = smbpasswd
        preferred master = yes
        printable = no
        security = user
        smb encrypt = disabled
        smb passwd file = /etc/samba/smbpasswd
        socket options = TCP_NODELAY IPTOS_LOWDELAY
        syslog = 2
        use sendfile = yes
        writeable = yes
        oplocks = false
        read raw = yes
        write raw = yes
        large readwrite = yes
        getwd cache = yes
        strict locking = no
        fake oplocks = yes
        oplocks = no
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来学习学习
谢谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

匿名没有权限吧
浏览器不能直接打开吗?还要运行窗口
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

用WinSCP登陆路由,然后修改/mnt/sda1和里面的所有文件的权限为777就行了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层

回帖奖励 +10 币恩山币

把security = user 改成 security = share
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
qiu_jianhui 发表于 2013-12-1 23:07
要我给个配置文件给你吗  要就私信

我邮箱747696067@qq.com






我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我是路过学习的~~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

回帖奖励 +10 币恩山币

好像没中,再来试一次
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

多次几次, 关键是目录权限设置
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

路过拿分。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

回帖奖励 +10 币恩山币

不懂,我也是来学习的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 16:59

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表