From 083025ccd53fe3ee90fcc81eb8d4c566e11fd6ac Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 18 Oct 2011 21:13:16 +1100 Subject: s3-ntlmssp Remove auth_ntlmssp_update wrapper We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher --- source3/smbd/sesssetup.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source3/smbd/sesssetup.c') diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index a5f2030ee5..7729ff675b 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -644,8 +644,8 @@ static void reply_spnego_negotiate(struct smb_request *req, return; } - status = auth_ntlmssp_update(*auth_ntlmssp_state, talloc_tos(), - secblob, &chal); + status = gensec_update((*auth_ntlmssp_state)->gensec_security, talloc_tos(), + NULL, secblob, &chal); data_blob_free(&secblob); @@ -757,8 +757,8 @@ static void reply_spnego_auth(struct smb_request *req, } } - status = auth_ntlmssp_update(*auth_ntlmssp_state, talloc_tos(), - auth, &auth_reply); + status = gensec_update((*auth_ntlmssp_state)->gensec_security, talloc_tos(), + NULL, auth, &auth_reply); data_blob_free(&auth); @@ -1171,9 +1171,9 @@ static void reply_sesssetup_and_X_spnego(struct smb_request *req) } } - status = auth_ntlmssp_update(vuser->auth_ntlmssp_state, - talloc_tos(), - blob1, &chal); + status = gensec_update(vuser->auth_ntlmssp_state->gensec_security, + talloc_tos(), NULL, + blob1, &chal); data_blob_free(&blob1); -- cgit