Searched refs:hToken (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | expand_path.c | 147 HANDLE hToken = NULL; in _expand_userid() local 157 &hToken)) { in _expand_userid() 165 if (!OpenProcessToken(hProcess, TOKEN_QUERY, &hToken)) in _expand_userid() 177 if (!GetTokenInformation(hToken, TokenOwner, NULL, 0, &len)) { in _expand_userid() 205 if (!GetTokenInformation(hToken, TokenOwner, pOwner, len, &len)) { in _expand_userid() 224 if (hToken != NULL) in _expand_userid() 225 CloseHandle(hToken); in _expand_userid()
|
/freebsd/crypto/openssh/ |
H A D | auth-passwd.c | 106 HANDLE hToken = cygwin_logon_user(pw, password); in auth_password() local 108 if (hToken == INVALID_HANDLE_VALUE) in auth_password() 110 cygwin_set_impersonation_token(hToken); in auth_password()
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 1560 HANDLE hToken; in init_alarm() 1618 if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken)) { in init_alarm() 1627 AdjustTokenPrivileges(hToken, FALSE, &tkp, 0,(PTOKEN_PRIVILEGES) NULL, 0); in init_alarm()
|