diff options
author | Gerald Carter <jerry@samba.org> | 2002-03-27 17:39:01 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-03-27 17:39:01 +0000 |
commit | c6cd39d4f706ac1b081c998064263c2728dbc765 (patch) | |
tree | b45ffbf6c7963fac4ec5db2c4226e5d4e01f7056 /source3/rpc_server | |
parent | f6bab5b0b1e120aeb1e7ec3f6a29441903a254c1 (diff) | |
download | samba-c6cd39d4f706ac1b081c998064263c2728dbc765.tar.gz samba-c6cd39d4f706ac1b081c998064263c2728dbc765.tar.bz2 samba-c6cd39d4f706ac1b081c998064263c2728dbc765.zip |
merge from SAMBA_2_2
(This used to be commit fe099006bbd1103edb5804d70743b211bbc584fb)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 5b9c136253..bdb064c81d 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -514,6 +514,12 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON * return NT_STATUS_NO_MEMORY; ZERO_STRUCTP(usr_info); + + /* store the user information, if there is any. */ + r_u->user = usr_info; + r_u->switch_value = 0; /* indicates no info */ + r_u->auth_resp = 1; /* authoritative response */ + r_u->switch_value = 3; /* indicates type of validation user info */ if (!get_valid_user_struct(p->vuid)) return NT_STATUS_NO_SUCH_USER; @@ -527,12 +533,6 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON * r_u->buffer_creds = 1; /* yes, we have valid server credentials */ memcpy(&r_u->srv_creds, &srv_cred, sizeof(r_u->srv_creds)); - /* store the user information, if there is any. */ - r_u->user = usr_info; - r_u->switch_value = 0; /* indicates no info */ - r_u->auth_resp = 1; /* authoritative response */ - r_u->switch_value = 3; /* indicates type of validation user info */ - /* find the username */ switch (q_u->sam_id.logon_level) { |