Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
break;
case DCERPC_AUTH_TYPE_SCHANNEL:
- if (!pipe_schannel_auth_bind(p, pkt,
- &auth_info, &auth_resp)) {
+ if (!pipe_auth_generic_bind(p, pkt,
+ &auth_info, &auth_resp)) {
+ goto err_exit;
+ }
+ if (!session_info_set_session_key(p->session_info, generic_session_key())) {
+ DEBUG(0, ("session_info_set_session_key failed\n"));
goto err_exit;
}
+ p->pipe_bound = true;
break;
case DCERPC_AUTH_TYPE_SPNEGO: