mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-23 14:04:59 +02:00
missed change in earlier committ
This commit is contained in:
parent
5335d43fb6
commit
26be931cc5
@ -66,6 +66,7 @@ generate_user_token(wchar_t* user) {
|
|||||||
QUOTA_LIMITS quotas;
|
QUOTA_LIMITS quotas;
|
||||||
DWORD cbProfile;
|
DWORD cbProfile;
|
||||||
BOOL domain_user;
|
BOOL domain_user;
|
||||||
|
wchar_t user_copy[MAX_USER_LEN];
|
||||||
|
|
||||||
/* prep user name - TODO: implment an accurate check if user is domain account*/
|
/* prep user name - TODO: implment an accurate check if user is domain account*/
|
||||||
if (wcsnlen(user, MAX_USER_LEN) == MAX_USER_LEN) {
|
if (wcsnlen(user, MAX_USER_LEN) == MAX_USER_LEN) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user