- 论坛徽章:
- 0
|
Samba+AD
从XP访问samba共享资源时弹出对话框,提示输入用户名密码。但是不管输入什么密码都不行
在samba上运行:smbclient -L 127.0.0.1后,提示:session setup failed:NT_STATUS_LOGON_FAILURE
配置文件没有问题,因为这个文件在从其他ok的机器上copy过来,环境设定也类似,已经加入域。wbinfo -u/-g没有问题
kinit也没有问题。
testparms也没有提示错误。共享文件夹/tmp /home/share确实存在
以下是配置文件:
[global]
workgroup = [grou name]
realm = [ad domain name]
server string = Samba Server
security = ADS
password server = [ad ip]
smb passwd file = /etc/samba/smbpasswd
#log file = /var/log/samba/smbd.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 33
dns proxy = No
wins server = [win server]
idmap uid = 10000-20000
idmap gid =10000-20000
template shell = /bin/bash
winbind separator = /
winbind use default domain = Yes
printing = cups
printcap name = /etc/printcap
cups options = raw
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
read only = no
guest ok = yes
write list = root,@"domain admins"
[tmp]
comment = Temporary file space
path = /tmp
read only = yes
guest ok = Yes
[share]
comment = share
path = /home/share
admin users = @"domain admins"
read only = No
create mask = 0644
directory mask = 0777
guest ok = Yes
[ 本帖最后由 inforhunter 于 2008-3-8 20:46 编辑 ] |
|