return;
}
+ have_nthash = 0;
nthash = ntlm_fetch_string((char *) auth, auth_length, &auth->ntresponse);
switch (nthash.l) {
case 0:
case 24:
memcpy(request.data.auth_crap.nt_resp, nthash.str, 24);
request.data.auth_crap.nt_resp_len = 24;
+ have_nthash = 1;
break;
default:
- debug("nthash len = %d\n", nthash.l);
- authfail(domain, user, "Broken NT hash response");
- return;
+ debug("nthash len = %d. Ignoring it.\n", nthash.l);
+ request.data.auth_crap.nt_resp_len = 0;
+ break;
}
debug("Checking user '%s\\%s' lmhash len =%d, have_nthash=%d, "