From: Günther Deschner Date: Sat, 13 Feb 2021 21:11:52 +0000 (+0100) Subject: s3-dsgetdcname: return dcinfo also when delivering from the cache. X-Git-Tag: talloc-2.3.3~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=997fbcbc902d945eb5261ddc6667f830fbcd5931;p=thirdparty%2Fsamba.git s3-dsgetdcname: return dcinfo also when delivering from the cache. Guenther Signed-off-by: Guenther Deschner Reviewed-by: Alexander Bokovoy --- diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 3760f7076d7..94f382d03e1 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -1120,6 +1120,7 @@ static NTSTATUS dsgetdcname_internal(TALLOC_CTX *mem_ctx, status = dsgetdcname_cached(mem_ctx, msg_ctx, domain_name, domain_guid, flags, site_name, &myinfo); if (NT_STATUS_IS_OK(status)) { + *info = myinfo; goto done; }