dsgetdcname: fix gencache store for dsgetdcname().
authorGünther Deschner <gd@samba.org>
Wed, 7 May 2008 19:25:05 +0000 (21:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 22 May 2008 18:01:06 +0000 (20:01 +0200)
commite3ba5cc280366d16e4b8d1e993a1a553a9894e70
tree36b6718be2f322cc4c5dd9f8cfdcdba0a70ab684
parent80fb1d5ce63c6d68db797602a50ee5f70533a552
dsgetdcname: fix gencache store for dsgetdcname().

While storing always a type 29 reply structure in gencache, we are now able to
deliver correct data according to return flags such as DS_RETURN_FLAT_NAME and
DS_RETURN_DNS_NAME out of the cached data from gencache.

Guenther
(cherry picked from commit c67b6dc0ca866781043e443177d550e23b83ae36)
source/libsmb/dsgetdcname.c