samba问题 help me

由 konds 在 12-22-2002 23:59 发表:

samba问题 help me

[root@konds samba]# smbclient -L localhost -N

added interface ip=10.100.129.33 bcast=10.255.255.255 nmask=255.0.0.0

added interface ip=10.100.129.133 bcast=10.255.255.255 nmask=255.0.0.0

Anonymous login successful

Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.1a]

Sharename Type Comment

--------- ---- -------

IPC$ IPC IPC Service (Samba Server)

ADMIN$ Disk IPC Service (Samba Server)

Server Comment

--------- -------

KONDS Samba Server

Workgroup Master

--------- -------

MYGROUP

[root@konds samba]# smbclient //localhost/homes -U konds

added interface ip=10.100.129.33 bcast=10.255.255.255 nmask=255.0.0.0

added interface ip=10.100.129.133 bcast=10.255.255.255 nmask=255.0.0.0

Password:

session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)

[root@konds samba]#

smb.conf文件主要部分如下

[global

workgroup = MYGROUP

; hosts allow = 192.168.1. 192.168.2. 127.

security = user

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd

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

[homes]

comment = Home Directories

browseable = no

writable = yes

valid users = %S

create mode = 0664

directory mode = 0775

If you want users samba doesn't recognize to be mapped to a guest user

; map to guest = bad user

解决不动了,求助~~~~


由 Glue 在 12-23-2002 08:56 发表:


试一试smbadduser吧,看上去你可能是还没做这一步。

<font face="腩戾,verdan

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus