红联Linux门户
Linux帮助

关于samba配置问题

发布时间:2011-04-22 01:31:09来源:红联作者:surron
出现的问题是: (附有截图)
[root@localhost ~]# smbpasswd -a admin
Can't load /etc/samba/smb.conf - run testparm to debug it
[root@localhost ~]# testparm
load smb config files from /etc/samba/smb.conf
rlinit_max: tlinit_mac (1024) below minimun Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
params.c:Parameter() - Invalid parameter name in config. file.
Error loading services.
文章评论

共有 9 条评论

  1. surron 于 2011-05-11 21:39:08发表:

    哈哈
    太感谢你了
    我已经搞定了
    不好意思到现在才来回复你
    sorry

  2. age 于 2011-04-24 08:36:05发表:

    把修改后的配置文件贴出来看看

  3. surron 于 2011-04-24 08:16:04发表:

    我改后在输入 smbpasswd -a admin
    后还是会出现那个问题啊

  4. age 于 2011-04-24 07:51:13发表:

    引用:
    [homes]
    这一整个要怎么弄可以说清楚下吗?
    surron 发表于 2011-4-24 01:41

    去掉 valid user = %S 行前的";"就可以了

  5. surron 于 2011-04-24 01:41:01发表:

    [homes]
    这一整个要怎么弄可以说清楚下吗?

  6. age 于 2011-04-22 10:14:28发表:

    引用:
    配置2
    surron 发表于 2011-4-22 08:24

    [homes]
    那个vaild users = %S 是关键, 不能注释掉
    [homes]只是一个宏名称, 并不是实际的路径
    必须用%S去替代, 该行表明对用户进行认证, 并自动切换到该用户的主目录下

    [printers]
    这二行要加下, 否则guest用户没权限使用
    public = yes
    guest ok = yes

  7. xiongdaolai 于 2011-04-22 09:08:33发表:

    谢谢啊

  8. surron 于 2011-04-22 08:24:26发表:

    配置2

  9. age 于 2011-04-22 06:53:05发表:

    配置信息-1.jpg (16.27 KB)
    ================fedora===========
    这行是什么意思? 应该是[fedora]才对吧?

    Processing section "[homes]"
    Processing section "[printers]"
    关于这二行的相关配置也没给出..