if (tevent_req_nterror(req, status)) {
return;
}
+ status = dcerpc_binding_set_abstract_syntax(b, &state->p->syntax);
+ if (tevent_req_nterror(req, status)) {
+ return;
+ }
tevent_req_done(req);
}
struct dcerpc_alter_context_state);
struct dcecli_connection *conn = state->p->conn;
struct dcecli_security *sec = &conn->security_state;
+ struct dcerpc_binding *b = NULL;
NTSTATUS status;
/*
}
}
+ /*
+ * We're the owner of the binding, so we're allowed to modify it.
+ */
+ b = discard_const_p(struct dcerpc_binding, state->p->binding);
+ status = dcerpc_binding_set_abstract_syntax(b, &state->p->syntax);
+ if (tevent_req_nterror(req, status)) {
+ return;
+ }
+
tevent_req_done(req);
}