summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-21 05:07:20 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-21 05:07:20 +0000
commitae0d7718ebb14788c464c54de090a423491cdba2 (patch)
tree2004ec96715601b7f5df1b1c5f9a8692474e7457
parent6a5a4e818684a616306d2954d1a2612113b314a6 (diff)
downloadsamba-ae0d7718ebb14788c464c54de090a423491cdba2.tar.gz
samba-ae0d7718ebb14788c464c54de090a423491cdba2.tar.bz2
samba-ae0d7718ebb14788c464c54de090a423491cdba2.zip
Tim Potter spotted compile error: matthew had added BDC support to smbd,
which i didn't know about! (This used to be commit 30620b93e5c476ba7bf09c459ab4b7bea3f67642)
-rw-r--r--source3/rpc_server/srv_netlog.c5
1 files changed, 3 insertions, 2 deletions
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);
}