QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 756|回复: 1

samba

[复制链接]
发表于 2003-5-9 15:44:14 | 显示全部楼层 |阅读模式
运行smbpasswd -a pcguest没反应,停在那不动了。
我的smb文件:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/05/06 10:38:51

# Global parameters
[global]
        netbios name = OCEAN
        workgroup = workgroup
        server string = Samba Server
        security = user
        encrypt passwords = Yes
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
        unix password sync = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        printing = lprng

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0664
        directory mask = 0775
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[Home]
        path = /tmp
        guest ok = Yes

[ocean]
        comment = ocean
        path = /mnt/d/ocean/ppload
        username = ocean
        valid users = ocean
        guest ok = Yes
        browseable = yes
        read only = yes
 楼主| 发表于 2003-5-9 18:51:38 | 显示全部楼层
解决了,不用麻烦大家了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-26 11:40 , Processed in 0.043709 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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