Merge branch 'fix-domw-NULL' into L1-Prod

This commit is contained in:
lupo1977 2018-02-04 11:20:39 +01:00
commit 4ade05af67

View File

@ -253,6 +253,11 @@ process_custom_lsa_auth(char* user, const char* pwd, char* lsa_pkg)
*tmp = L'\0';
}
if (domw == NULL) {
debug("no domain found");
goto done;
}
/* call into LSA provider , get and duplicate token */
InitLsaString(&logon_process_name, "sshd");
InitLsaString(&lsa_auth_package_name, lsa_pkg);