diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-22 12:10:30 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:03 +1000 |
commit | 778bf87d8dbae333bfeea3b0d904fd2b17782745 (patch) | |
tree | dbeae46a1920124cb5709174e2b19adba304b15b /source3/smbd/smb2_sesssetup.c | |
parent | 6d7ac4f1ad364cac6266bd3e88d141a7517a7d15 (diff) | |
download | samba-778bf87d8dbae333bfeea3b0d904fd2b17782745.tar.gz samba-778bf87d8dbae333bfeea3b0d904fd2b17782745.tar.bz2 samba-778bf87d8dbae333bfeea3b0d904fd2b17782745.zip |
s3-ntlmssp Remove calls to auth_ntlmssp_and_flags from the server
This is changed so that the callers ask for the additional flags
that they need, starting with no additional flags.
This helps to create a proper abstraction layer in
ntlmssp_wrap/auth_ntlmssp.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/smbd/smb2_sesssetup.c')
-rw-r--r-- | source3/smbd/smb2_sesssetup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c index 320a707758..40f98ce45f 100644 --- a/source3/smbd/smb2_sesssetup.c +++ b/source3/smbd/smb2_sesssetup.c @@ -392,6 +392,8 @@ static NTSTATUS smbd_smb2_spnego_negotiate(struct smbd_smb2_session *session, goto out; } + auth_ntlmssp_want_feature(session->auth_ntlmssp_state, NTLMSSP_FEATURE_SESSION_KEY); + status = auth_ntlmssp_update(session->auth_ntlmssp_state, talloc_tos(), secblob_in, |