summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-09-03 12:13:45 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-09-04 08:41:02 +1200
commitdd12bfbcbf359c1642cc2e968aec62ae904aad5d (patch)
tree747520bef445a9abb6cdc25167b0fecd949f6b56 /source3
parentade8477f98fcffcc6e3c5ea31618b49d0c1bba95 (diff)
downloadsamba-dd12bfbcbf359c1642cc2e968aec62ae904aad5d.tar.gz
samba-dd12bfbcbf359c1642cc2e968aec62ae904aad5d.tar.bz2
samba-dd12bfbcbf359c1642cc2e968aec62ae904aad5d.zip
dsgetdcname_cache_fetch() doesn't use the site_name parameter so don't pass it.
Bug 5917 - Samba does not work on site with Read Only Domain Controller Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Richard Sharpe <rsharpe@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/dsgetdcname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 028a31b617..326f6f77cc 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -320,7 +320,6 @@ static NTSTATUS dsgetdcname_cache_fetch(TALLOC_CTX *mem_ctx,
const char *domain_name,
const struct GUID *domain_guid,
uint32_t flags,
- const char *site_name,
struct netr_DsRGetDCNameInfo **info_p)
{
char *key;
@@ -393,7 +392,7 @@ static NTSTATUS dsgetdcname_cached(TALLOC_CTX *mem_ctx,
NTSTATUS status;
status = dsgetdcname_cache_fetch(mem_ctx, domain_name, domain_guid,
- flags, site_name, info);
+ flags, info);
if (!NT_STATUS_IS_OK(status)
&& !NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) {
DEBUG(10,("dsgetdcname_cached: cache fetch failed with: %s\n",