handle situation if domw is NULL
This commit is contained in:
parent
23e46f5bb4
commit
8b62d0b317
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue