[Samba] Query to find if local system is wins server

Gerald (Jerry) Carter jerry at samba.org
Tue Jan 3 18:53:25 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mehta kiran wrote:
> Hi Jerry,
>     I want to do it locally. 
>     My one question is still unanswered:
>         'nmblookup -U localhost -R jack' returned
> success 
>         though local host is not a wins server 
>         Shouldnt it fail with error 
>         " 127.0.0.1 system is not  wins server" ?

I don't think so.  The -R sets the recursion bit in the
flag which is necessary for talking to a WINS server but not
IIRC rejected by non-WINS servers.  I would need to check
the code and test against a MS WINS server to be sure.






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFDusglIR7qMdg1EfYRAuJdAJUc+mDmfnnd2zRUizIRLuaEOtCkAJ93hXBt
oSFTPBLGCtRQhfNBflxu7A==
=D80q
-----END PGP SIGNATURE-----


More information about the samba mailing list