diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 20:58:47 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-21 08:43:02 +0200 |
commit | 915fe7981b48537bb000ae5f90e630caacf657e0 (patch) | |
tree | e463f4820f79027ba8d7024544db4d3e7f415c5b /source3/smbd/smb2_sesssetup.c | |
parent | 21a434d817895ab228d09fcf0efe83246d97fcca (diff) | |
download | samba-915fe7981b48537bb000ae5f90e630caacf657e0.tar.gz samba-915fe7981b48537bb000ae5f90e630caacf657e0.tar.xz samba-915fe7981b48537bb000ae5f90e630caacf657e0.zip |
s3-auth remove auth_ntlmssp_session_info()
Instead, call gensec_session_info() directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/smb2_sesssetup.c')
-rw-r--r-- | source3/smbd/smb2_sesssetup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c index ece5de1282..aa898eaad7 100644 --- a/source3/smbd/smb2_sesssetup.c +++ b/source3/smbd/smb2_sesssetup.c @@ -588,9 +588,9 @@ static NTSTATUS smbd_smb2_spnego_auth(struct smbd_smb2_session *session, /* If status is NT_STATUS_OK then we need to get the token. * Map to guest is now internal to auth_ntlmssp */ if (NT_STATUS_IS_OK(status)) { - status = auth_ntlmssp_session_info(session, - session->auth_ntlmssp_state, - &session->session_info); + status = gensec_session_info(session->auth_ntlmssp_state->gensec_security, + session, + &session->session_info); } if (!NT_STATUS_IS_OK(status) && @@ -671,9 +671,9 @@ static NTSTATUS smbd_smb2_raw_ntlmssp_auth(struct smbd_smb2_session *session, return status; } - status = auth_ntlmssp_session_info(session, - session->auth_ntlmssp_state, - &session->session_info); + status = gensec_session_info(session->auth_ntlmssp_state->gensec_security, + session, + &session->session_info); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(session->auth_ntlmssp_state); |