s4:rpc_server: make use of gensec_update_ev()
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Dec 2013 18:37:21 +0000 (19:37 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2014 23:36:32 +0000 (00:36 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/dcesrv_auth.c

index a11526ddaecf1ac3c37a52be665f81a4fecfa966..d3c317ba29826a07082cde74848f8ea9e9fa1305 100644 (file)
@@ -118,7 +118,7 @@ NTSTATUS dcesrv_auth_bind_ack(struct dcesrv_call_state *call, struct ncacn_packe
                want_header_signing = false;
        }
 
-       status = gensec_update(dce_conn->auth_state.gensec_security,
+       status = gensec_update_ev(dce_conn->auth_state.gensec_security,
                               call, call->event_ctx,
                               dce_conn->auth_state.auth_info->credentials, 
                               &dce_conn->auth_state.auth_info->credentials);
@@ -198,7 +198,7 @@ bool dcesrv_auth_auth3(struct dcesrv_call_state *call)
        }
 
        /* Pass the extra data we got from the client down to gensec for processing */
-       status = gensec_update(dce_conn->auth_state.gensec_security,
+       status = gensec_update_ev(dce_conn->auth_state.gensec_security,
                               call, call->event_ctx,
                               dce_conn->auth_state.auth_info->credentials, 
                               &dce_conn->auth_state.auth_info->credentials);
@@ -277,7 +277,7 @@ NTSTATUS dcesrv_auth_alter_ack(struct dcesrv_call_state *call, struct ncacn_pack
                return NT_STATUS_INVALID_PARAMETER;
        }
 
-       status = gensec_update(dce_conn->auth_state.gensec_security,
+       status = gensec_update_ev(dce_conn->auth_state.gensec_security,
                               call, call->event_ctx,
                               dce_conn->auth_state.auth_info->credentials, 
                               &dce_conn->auth_state.auth_info->credentials);