[Samba] Lost WINS lookup in net command on 3.0beta2

Hall, Ken (IDS ECCS) KeHall at exchange.ml.com
Fri Jul 11 18:24:12 GMT 2003


I had compiled and set up one 3.0beta2 server on S390 Linux, and successfully joined our Win2k AD domain.  Everything was working well, and I went to rebuild Samba on Intel.  When I tried to join the
domain using my new build, net join complained about not being able to find the DC.

net join -Uxxxxx%pppppp with debug level 5 results in the following:

[2003/07/11 13:56:00, 3] libsmb/namequery.c:resolve_wins(746)
  resolve_wins: Attempting wins lookup for name AMRS<0x1c>
[2003/07/11 13:56:00, 4] lib/wins_srv.c:wins_srv_is_dead(109)
  wins_srv_is_dead: x.x.x.x is dead
[2003/07/11 13:56:00, 4] lib/wins_srv.c:wins_srv_is_dead(109)
  wins_srv_is_dead: y.y.y.y is dead
[2003/07/11 13:56:00, 4] lib/wins_srv.c:wins_srv_is_dead(109)
  wins_srv_is_dead: x.x.x.x is dead
[2003/07/11 13:56:00, 4] lib/wins_srv.c:wins_srv_is_dead(109)
  wins_srv_is_dead: y.y.y.y is dead
[2003/07/11 13:56:00, 4] lib/wins_srv.c:wins_srv_is_dead(109)
  wins_srv_is_dead: x.x.x.x is dead
[2003/07/11 13:56:00, 4] lib/wins_srv.c:wins_srv_is_dead(109)
  wins_srv_is_dead: y.y.y.y is dead

smb.conf contains:

  security = domain
  password server  = *
  wins server = x.x.x.x;y.y.y.y

(I've omitted the IP addresses for security reasons, but they're correct.  I copied them from a working Samba 2.2.8a system.)

There are two WINS servers specified in smb.conf, and both are very much alive.  I can query AMRS#1c against either one using nmblookup, and IP addresses are returned.  I put one of the IP address in
LMHOSTS, and was able to join the domain.

The odd thing is that this worked on my Linux390 installation, but I've now gone back and rebuilt for that platform, and hit the same problem!

Is this broken somehow?  If so, why did it work the first time?




More information about the samba mailing list