- 论坛徽章:
- 0
|
参照这篇文章http://www.chinaunix.net/jh/4/192705.html的做法:
os level = 65
wins proxy = Yes
wins support = Yes
dns proxy = yes
remote announce = 192.168.0.63 192.168.1.255
remote browse sync = 192.168.0.63 192.168.1.255
服务器地址为192.168.0.41, 要加入域的主机为winxp2 192.168.1.210。
跟服务器同一个网段的地址已经可以加入域。
但主机为192.168.1.210得不行,提示“不能联系域pdc的域控制器”(域netbios名为pdc)
主机netbios设定为“从dhcp服务器使用netbios设置……”这个选项。wins服务器地址为192.168.0.41(即域控制器地址)
使用sniffer抓包出来大概是这个结果:
source address dest address summary
192.168.1.210 192.168.0.41 expert:wins no response
wins:C ID=32885 OP=QUERY NAME=PDC<1C>
奇怪的是上面的为什么是源地址为主机的回复:wins no response,而不是wins服务器回复呢?
另外需要说一下的是在域控制器上运行:
# nmblookup -T pdc
added interface ip=192.168.0.41 bcast=2192.168.0.63 nmask=255.255.255.192
Socket opened.
querying pdc on 192.168.0.63
Got a positive name query response from 192.168.0.41 ( 192.168.0.41 )
192.168.0.41 pdc<00>
但运行一段时间后确不能获取这个ip地址:
# nmblookup -T pdc
added interface ip=192.168.0.41 bcast=192.168.0.63 nmask=255.255.255.192
Socket opened.
querying pdc on 192.168.0.63
name_query failed to find name pdc
只有在重启smb服务后才可以再查询。 |
|