summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_net.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-02-03 20:01:31 +0000
committerLuke Leighton <lkcl@samba.org>2000-02-03 20:01:31 +0000
commit5cc068672fa93a735d2d9489121ca07927d1b5b6 (patch)
tree8549f66f05358e1f68d770555637a792e51bf181 /source/rpc_parse/parse_net.c
parent49d1446e04e32b6a802819f0aa47046577fe0f64 (diff)
downloadsamba-5cc068672fa93a735d2d9489121ca07927d1b5b6.tar.gz
samba-5cc068672fa93a735d2d9489121ca07927d1b5b6.tar.xz
samba-5cc068672fa93a735d2d9489121ca07927d1b5b6.zip
clean-up of sander's netlogon patch, it didn't compile.
Diffstat (limited to 'source/rpc_parse/parse_net.c')
-rw-r--r--source/rpc_parse/parse_net.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c
index 9e18dd3616a..64a8f086f77 100644
--- a/source/rpc_parse/parse_net.c
+++ b/source/rpc_parse/parse_net.c
@@ -1264,21 +1264,21 @@ BOOL make_r_sam_logon(NET_R_SAM_LOGON *r_s,
if (status == NT_STATUS_NOPROBLEMO)
{
*/
- /* XXXX maybe we want to say 'no', reject the client's credentials */
- r_s->buffer_creds = 1; /* yes, we have valid server credentials */
- memcpy(&(r_s->srv_creds), srv_cred, sizeof(r_s->srv_creds));
+
+ r_s->buffer_creds = 1;
if (status == NT_STATUS_NOPROBLEMO)
{
+ memcpy(&(r_s->srv_creds), srv_creds, sizeof(r_s->srv_creds));
/* store the user information, if there is any. */
r_s->user = user_info;
if (user_info != NULL && user_info->ptr_user_info != 0)
{
- r_s.switch_value = 3; /* indicates type of validation user info */
+ r_s->switch_value = 3; /* indicates type of validation user info */
}
else
{
- r_s.switch_value = 0; /* indicates no info */
+ r_s->switch_value = 0; /* indicates no info */
}
}
else