LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 809|回复: 6

samba问题

[复制链接]
发表于 2003-2-11 15:05:23 | 显示全部楼层 |阅读模式
我现在用win2000访问服务器没有任何问题,可是用win98访问服务器时不能登录到服务器。
我的配置文件如下:

#======================= Global Settings =====================================
[global]
        smb passwd file = /etc/smbpasswd
        domain master = yes
        dns proxy = no
        encrypt passwords = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        max log size = 50
        hosts allow = 192.168.0.  127.
        security = user
        domain logons = yes
        prefered master = yes
        domain master = yes
        local master = yes
        workgroup = xinlue
        server string = Samba Server
        log file = /var/log/samba/log.%m
        load printers = yes

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /backup/temp
   read only = no
   public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
   comment = Public Stuff
   path = /backup/public
   public = yes
   writable = yes
   printable = no
;   write list = @staff
[software]
   comment = Software
   path = /wine/backup/software1
   public = yes
   read only = yes
发表于 2003-2-11 16:48:41 | 显示全部楼层
security = user 改成
security = share试试
 楼主| 发表于 2003-2-11 20:39:32 | 显示全部楼层
改了是可以呀
但是那样就不能设置口令对不同的用户加以限制了
发表于 2003-2-11 23:43:16 | 显示全部楼层
可以给共享目录做限制阿
发表于 2003-2-12 21:36:43 | 显示全部楼层
你WIN98登录的用户名必须和linux里设置用户名一致才可能以.你先检查这里吧.如果有问题,就跟贴.
 楼主| 发表于 2003-2-16 14:09:13 | 显示全部楼层
我在Win98机器上登录服务器时提示说:
“提供的密码不正确,或被登录服务器拒绝”
有的机器可以,而有的机器却不可以。
发表于 2003-4-29 09:59:10 | 显示全部楼层
all computer must be in workgroup stuff
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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