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)
commit43c079ef26b6c5c1ee3c22c72d800d6131396993
treef25244accee77e9e5d6f0ab50e6ec934f421b66a
parentd6aa45d29ced8c86b3b9cb100e01ab02ac149c28
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.
(This used to be commit 5ed9b92097460cd8180db806a08213e97cfb8daa)
source3/libads/dns.c