diff options
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 16148a39d5..d57689cd48 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -342,12 +342,18 @@ static NTSTATUS store_cldap_reply(TALLOC_CTX *mem_ctx, if (!NT_STATUS_IS_OK(status)) { goto done; } + if (logon29.client_site) { + sitename_store(logon29.domain, logon29.client_site); + } } if (logon29.dns_domain) { status = dsgetdcname_cache_store(mem_ctx, logon29.dns_domain, &blob); if (!NT_STATUS_IS_OK(status)) { goto done; } + if (logon29.client_site) { + sitename_store(logon29.dns_domain, logon29.client_site); + } } done: |