summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clidgram.c3
-rw-r--r--source3/libsmb/clidgram.h3
-rw-r--r--source3/libsmb/dsgetdcname.c2
-rw-r--r--source3/winbindd/winbindd_cm.c2
4 files changed, 4 insertions, 6 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c
index c4a030934e..05a0edc59d 100644
--- a/source3/libsmb/clidgram.c
+++ b/source3/libsmb/clidgram.c
@@ -186,8 +186,7 @@ fail:
return ret;
}
-bool send_getdc_request(TALLOC_CTX *mem_ctx,
- struct messaging_context *msg_ctx,
+bool send_getdc_request(struct messaging_context *msg_ctx,
const struct sockaddr_storage *dc_ss,
const char *domain_name,
const struct dom_sid *sid,
diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h
index 7c650a06ca..af924f40ce 100644
--- a/source3/libsmb/clidgram.h
+++ b/source3/libsmb/clidgram.h
@@ -2,8 +2,7 @@
/* The following definitions come from libsmb/clidgram.c */
-bool send_getdc_request(TALLOC_CTX *mem_ctx,
- struct messaging_context *msg_ctx,
+bool send_getdc_request(struct messaging_context *msg_ctx,
const struct sockaddr_storage *dc_ss,
const char *domain_name,
const struct dom_sid *sid,
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index b1acee87d7..63621ed52f 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -950,7 +950,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
return NT_STATUS_UNSUCCESSFUL;
}
- if (send_getdc_request(mem_ctx, msg_ctx,
+ if (send_getdc_request(msg_ctx,
&dclist[i].ss, domain_name,
NULL, nt_version, dgm_id))
{
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 5f42120a4c..d5642a3889 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1177,7 +1177,7 @@ static bool dcip_to_name(TALLOC_CTX *mem_ctx,
generate_random_buffer((uint8_t *)&val, 2);
dgm_id = val;
- if (send_getdc_request(mem_ctx, winbind_messaging_context(),
+ if (send_getdc_request(winbind_messaging_context(),
pss, domain->name, &domain->sid,
nt_version, dgm_id)) {
const char *dc_name = NULL;