1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

Tim Potter spotted compile error: matthew had added BDC support to smbd,

which i didn't know about!
This commit is contained in:
Luke Leighton 0001-01-01 00:00:00 +00:00
parent 2331aa32ab
commit 30620b93e5

View File

@ -228,6 +228,7 @@ static void net_reply_sam_logoff(NET_Q_SAM_LOGOFF *q_s, prs_struct *rdata,
net_reply_sam_sync:
*************************************************************************/
static void net_reply_sam_sync(NET_Q_SAM_SYNC *q_s, prs_struct *rdata,
uint8 sess_key[16],
DOM_CRED *srv_creds, uint32 status)
{
NET_R_SAM_SYNC r_s;
@ -264,7 +265,7 @@ static void net_reply_sam_sync(NET_Q_SAM_SYNC *q_s, prs_struct *rdata,
r_s.status = status;
/* store the response in the SMB stream */
net_io_r_sam_sync("", &r_s, rdata, 0);
net_io_r_sam_sync("", sess_key, &r_s, rdata, 0);
}
@ -562,7 +563,7 @@ static void api_net_sam_sync( pipes_struct *p,
}
/* construct reply. */
net_reply_sam_sync(&q_s, rdata, &srv_creds, status);
net_reply_sam_sync(&q_s, rdata, vuser->dc.sess_key, &srv_creds, status);
}