status = s3compat_gensec_session_info_info3(tmp_ctx,
auth_ntlmssp_state->gensec_security, &info3);
- DEBUG(1, ("s3compat_gensec_session_info_info3 returned %s\n", nt_errstr(status)));
if (!NT_STATUS_IS_OK(status)) {
+ DEBUG(1, ("s3compat_gensec_session_info_info3 returned %s\n", nt_errstr(status)));
talloc_free(tmp_ctx);
return status;
}
info3);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(tmp_ctx);
- DEBUG(1, ("make_server_info_info3 failed: %s\n",
- nt_errstr(status)));
+ DEBUG(1, (__location__ "auth_ntlmssp_server_info: make_server_info_info3 for user %s\\%s failed: %s\n",
+ info3->base.domain.string, info3->base.account_name.string, nt_errstr(status)));
return status;
}
status = gensec_session_key(auth_ntlmssp_state->gensec_security, &session_key);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(tmp_ctx);
- DEBUG(1, ("gensec_session_key failed: %s\n",
+ DEBUG(1, (__location__ "auth_ntlmssp_server_info: gensec_session_key failed: %s\n",
nt_errstr(status)));
return status;
}