Hall, Ken (IDS ECCS)
2003-Jul-11 18:24 UTC
[Samba] Lost WINS lookup in net command on 3.0beta2
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?
Gerald (Jerry) Carter
2003-Jul-11 19:58 UTC
[Samba] Lost WINS lookup in net command on 3.0beta2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 11 Jul 2003, Hall, Ken (IDS ECCS) wrote:> 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.yThis was a bug in beta2. The patch is posted at http://samba.org/samba/ftp/patches/jerry/post-3.0.0beta2/ You need 'wins-srv-is-dead.patch' cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/DxbJIR7qMdg1EfYRAmbVAJsE1zAgtRjPJuIOtIIdCTZsikcoCQCg3KAV y0gGagwEyS3eTFcqu+b+2GE=maTn -----END PGP SIGNATURE-----