summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-15 23:36:31 +0100
committerGünther Deschner <gd@samba.org>2008-02-15 23:36:31 +0100
commitea1443efff60cbcaa0548bcc547ef3e5c35a178e (patch)
treeb59e76678c880f0d13d8d54c967ca0e9f7118235 /source3/rpc_server
parentbc69f754001f6c999b1f914bde97648abe8f488d (diff)
downloadsamba-ea1443efff60cbcaa0548bcc547ef3e5c35a178e.tar.gz
samba-ea1443efff60cbcaa0548bcc547ef3e5c35a178e.tar.bz2
samba-ea1443efff60cbcaa0548bcc547ef3e5c35a178e.zip
Fix the netlogon rpc_server build.
Guenther (This used to be commit 47806386e5cb12919615bb3075c9ed613efa4fdb)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 30066dc58f..3e15d38043 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -390,7 +390,7 @@ NTSTATUS _netr_ServerReqChallenge(pipes_struct *p,
generate_random_buffer(p->dc->srv_chal.data, 8);
/* set up the LSA REQUEST CHALLENGE response */
- init_net_r_req_chal(r->out.credentials, &p->dc->srv_chal);
+ init_net_r_req_chal(r->out.return_credentials, &p->dc->srv_chal);
p->dc->challenge_sent = True;
@@ -450,8 +450,8 @@ NTSTATUS _netr_ServerAuthenticate(pipes_struct *p,
/* set up the LSA AUTH response */
/* Return the server credentials. */
- memcpy(r->out.credentials->data, &srv_chal_out.data,
- sizeof(r->out.credentials->data));
+ memcpy(r->out.return_credentials->data, &srv_chal_out.data,
+ sizeof(r->out.return_credentials->data));
return NT_STATUS_OK;
}
@@ -521,8 +521,8 @@ NTSTATUS _netr_ServerAuthenticate2(pipes_struct *p,
}
/* set up the LSA AUTH 2 response */
- memcpy(r->out.credentials->data, &srv_chal_out.data,
- sizeof(r->out.credentials->data));
+ memcpy(r->out.return_credentials->data, &srv_chal_out.data,
+ sizeof(r->out.return_credentials->data));
*r->out.negotiate_flags = srv_flgs;
fstrcpy(p->dc->mach_acct, r->in.account_name);