mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
s3:rpc_server/netlogon: make use of creds->ex->client_sid
creds->sid will be removed soon... BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> (cherry picked from commit 88a84d9330d2bb03176f888a0d8e5066e1e21bf6)
This commit is contained in:
parent
114e369122
commit
39399a49d3
@ -1341,7 +1341,7 @@ NTSTATUS _netr_ServerPasswordSet(struct pipes_struct *p,
|
||||
TALLOC_FREE(creds);
|
||||
return status;
|
||||
}
|
||||
client_sid = creds->sid;
|
||||
client_sid = &creds->ex->client_sid;
|
||||
|
||||
DEBUG(3,("_netr_ServerPasswordSet: Server Password Set by remote machine:[%s] on account [%s]\n",
|
||||
r->in.computer_name, creds->computer_name));
|
||||
@ -1403,7 +1403,7 @@ NTSTATUS _netr_ServerPasswordSet2(struct pipes_struct *p,
|
||||
TALLOC_FREE(creds);
|
||||
return status;
|
||||
}
|
||||
client_sid = creds->sid;
|
||||
client_sid = &creds->ex->client_sid;
|
||||
|
||||
DBG_NOTICE("Server Password Set2 by remote "
|
||||
"machine:[%s] on account [%s]\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user