1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00

mailslot: allow to define nt_version in send_getdc_request().

Guenther
(This used to be commit ce3728191b)
This commit is contained in:
Günther Deschner
2008-04-24 21:28:03 +02:00
parent 12b9be6d5e
commit e66d452466
3 changed files with 6 additions and 4 deletions

View File

@@ -130,7 +130,8 @@ bool send_getdc_request(TALLOC_CTX *mem_ctx,
struct messaging_context *msg_ctx,
struct sockaddr_storage *dc_ss,
const char *domain_name,
const DOM_SID *sid)
const DOM_SID *sid,
uint32_t nt_version)
{
struct in_addr dc_ip;
const char *my_acct_name = NULL;
@@ -172,7 +173,7 @@ bool send_getdc_request(TALLOC_CTX *mem_ctx,
s->mailslot_name = my_mailslot;
s->acct_control = ACB_WSTRUST;
s->sid = my_sid;
s->nt_version = 1;
s->nt_version = nt_version;
s->lmnt_token = 0xffff;
s->lm20_token = 0xffff;