diff options
author | Günther Deschner <gd@samba.org> | 2008-05-15 17:47:07 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-05-16 11:58:24 +0200 |
commit | 175cca17299421df74831eec9ab2f43994087e5c (patch) | |
tree | aac00de7783228838ca9445bfa856a67970965fa | |
parent | a4cb989e4897118aaf306bf87d6716a233886972 (diff) | |
download | samba-175cca17299421df74831eec9ab2f43994087e5c.tar.gz samba-175cca17299421df74831eec9ab2f43994087e5c.tar.bz2 samba-175cca17299421df74831eec9ab2f43994087e5c.zip |
dsgetdcname: store client sitename for mailslot and cldap replies.
Guenther
(This used to be commit a01ed719c31998620927dc9b1664ba8e36bd9b21)
-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: |