|
|

楼主 |
发表于 2006-5-6 00:47:22
|
显示全部楼层
信息再详细一点
smb.conf 配置
[global]
workgroup =workgroup
security=user
; smb passwd file = /etc/samba/smbpasswd #这句加不加后面的效果一样
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = no
valid =root
[root@linux root]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[tmp]"
Unknown parameter encountered: "valid"
Ignoring unknown parameter "valid"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[root@linux root]# useradd root
useradd: user root exists
[root@linux root]# smbpasswd -a root
New SMB password:
Retype new SMB password:
Mismatch - password unchanged.
Unable to get new password.
[root@linux root]# smbpasswd -a root
New SMB password:
Retype new SMB password:
failed to bind to server with dn= Error: Can't contact LDAP server
(unknown)
Connection to LDAP Server failed for the 1 try!
Connection to LDAP Server failed for the 2 try!
Connection to LDAP Server failed for the 3 try!
Connection to LDAP Server failed for the 4 try!
Connection to LDAP Server failed for the 5 try!
.
.
.
大概是什么问题?如何排查?
看testparm好像是有效用户有问题,但是后面添加用户的时候好像又要用LDAP服务?
这个是什么?google了一下好像是网络协议?感觉smbpasswd在security=users级别不需要网络服务阿?
还怀疑是版本问题(因为看名字好像是test版),升级安装3.0.22.文件倚赖有很多.实在找不全
卸载,command line不能成功 gui模式下卸载了,但是装2.2....版说有些文件比原有的旧也不能装.
难道为了一个samba重装系统......
我是菜鸟,大虾帮帮忙.... |
|