BUG 5107: Fix handling of large DNS replies on AIX and Solaris.
authorGerald W. Carter <jerry@samba.org>
Wed, 30 Apr 2008 14:57:15 +0000 (09:57 -0500)
committerGerald W. Carter <jerry@samba.org>
Wed, 30 Apr 2008 14:57:15 +0000 (09:57 -0500)
commit5ed9b92097460cd8180db806a08213e97cfb8daa
tree20c5021205801d9a165afc5d83d22199689581b2
parent2983b9dc790e0f90ec1e6add131438c6bfd361b4
BUG 5107: Fix handling of large DNS replies on AIX and Solaris.

On AIX, Solaris, and possibly some older glibc systems (e.g. SLES8)
truncated replies never give back a resp_len > buflen
which ends up causing DNS resolve failures on large tcp DNS replies.

Also add more debug lines about processing the DNS reply.
source/libads/dns.c