summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-01-01 16:21:12 +0100
committerVolker Lendecke <vlendec@samba.org>2011-01-01 23:00:24 +0100
commit9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb (patch)
tree00e50c48c0c031d845c29f65c7032f337248740c
parentb2ba2b956e2b6e8552c74afe65902aae70203843 (diff)
downloadsamba-9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb.tar.gz
samba-9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb.tar.bz2
samba-9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb.zip
s3: Remove unused mem_ctx arg from set_getdc_request
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104
-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;