mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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
This commit is contained in:
parent
b2ba2b956e
commit
9ccef4e62b
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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))
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user