[PATCH] winbindd/libsmb get_dc_list patch (cvs head)

Dominik 'Aeneas' Schnitzer dominik at schnitzer.at
Sat Nov 30 23:45:59 GMT 2002


Hi,

Using CVS-HEAD I hit the following bug in winbind, in

libsmb/namequery.c#get_dc_list():
The code piece to remove duplicate entrys/zeroed IPs is buggy. basically
it sets the number of DCs found to -1 if no dupe/zeroed IP was detected.

It's fixed very easily :) I've attached a patch for libsmb/namequery.c,
to make things work again.

I'm not subscribed to this list, in case please include me in a reply.

best wishes && thanks,
dominik

-- 
Dominik 'Aeneas' Schnitzer <dominik at schnitzer.at>
http://www.schnitzer.at/dominik/ OpenPGP:C0C2CBEE
Latest Update - 24. August 2002: Interrail 2002 pictures
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsmb-get_dc_list.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20021130/3bec470a/libsmb-get_dc_list.bin


More information about the samba-technical mailing list