diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clidgram.c | 3 | ||||
-rw-r--r-- | source3/libsmb/clidgram.h | 3 | ||||
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 2 |
3 files changed, 3 insertions, 5 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)) { |