diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-04 17:49:49 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-18 02:19:35 +0100 |
commit | e786e8fef9960aadf1e94c70c0fb7ec18c1ed237 (patch) | |
tree | 63250524203335db77f2f039f8bcb72d7ba79872 /source4/smb_server/smb | |
parent | dd479bd2927a6b470e2b6c6b89ef0e4fdd457d55 (diff) | |
download | samba-e786e8fef9960aadf1e94c70c0fb7ec18c1ed237.tar.gz samba-e786e8fef9960aadf1e94c70c0fb7ec18c1ed237.tar.bz2 samba-e786e8fef9960aadf1e94c70c0fb7ec18c1ed237.zip |
auth: Reorder arguments to generate_session_info
This matches check_ntlm_password() and generate_session_info_pac()
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Feb 18 02:19:35 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r-- | source4/smb_server/smb/sesssetup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/smb_server/smb/sesssetup.c b/source4/smb_server/smb/sesssetup.c index 2943747521..57460fa72d 100644 --- a/source4/smb_server/smb/sesssetup.c +++ b/source4/smb_server/smb/sesssetup.c @@ -83,8 +83,8 @@ static void sesssetup_old_send(struct tevent_req *subreq) flags |= AUTH_SESSION_INFO_AUTHENTICATED; } /* This references user_info_dc into session_info */ - status = req->smb_conn->negotiate.auth_context->generate_session_info(req, - req->smb_conn->negotiate.auth_context, + status = req->smb_conn->negotiate.auth_context->generate_session_info(req->smb_conn->negotiate.auth_context, + req, user_info_dc, sess->old.in.user, flags, &session_info); if (!NT_STATUS_IS_OK(status)) goto failed; @@ -215,8 +215,8 @@ static void sesssetup_nt1_send(struct tevent_req *subreq) flags |= AUTH_SESSION_INFO_AUTHENTICATED; } /* This references user_info_dc into session_info */ - status = state->auth_context->generate_session_info(req, - state->auth_context, + status = state->auth_context->generate_session_info(state->auth_context, + req, user_info_dc, sess->nt1.in.user, flags, |