s3/getdcname: Fix 'net' crash.
commit30cca93674d0dad15ad0ccfaf0d81f94d7d17b4a
authorKumar Thangavelu <Kumar.Thangavelu@riverbed.com>
Fri, 29 May 2009 09:27:38 +0000 (29 11:27 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 2 Oct 2009 09:25:15 +0000 (2 11:25 +0200)
tree814abc2d29db88b36110ced0baf0d6ff50ce3a81
parent032bf7afa7d9dcac3a22e2ad70d442e12a6d5f95
s3/getdcname: Fix 'net' crash.

'net' command crashed when attempting to join a
domain. This occurred in a very specific case where
the DC had multiple IPs and one of the IPs was invalid.

Signed-off-by: Volker Lendecke <vl@samba.org>
Fixes bug #6420.
source/libsmb/dsgetdcname.c