From ae0d7718ebb14788c464c54de090a423491cdba2 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 21 Jul 1999 05:07:20 +0000 Subject: Tim Potter spotted compile error: matthew had added BDC support to smbd, which i didn't know about! (This used to be commit 30620b93e5c476ba7bf09c459ab4b7bea3f67642) --- source3/rpc_server/srv_netlog.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c index 45d9e009a6..91276a617f 100644 --- a/source3/rpc_server/srv_netlog.c +++ b/source3/rpc_server/srv_netlog.c @@ -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); } -- cgit