Having some trouble with this plugin on my work machine (which is joined to a domain, and I'm logged with a domain account). I keep getting ERROR 2221 (NERR_UserNotFound) from the following:
PHP Code:
UserMgr::GetUserInfo "domain\username" "exists"
Pop $0
MessageBox MB_OK "$0"
UserMgr::GetSIDFromUserName "domain" "username"
Pop $1
MessageBox MB_OK "$1"
1st MessageBox: "ERROR 2221"
2nd MessageBox: "ERROR GetAccountSid"
There's a slight delay when calling GetSIDFromUserName (like 1-2 seconds).
I've double and triple checked that I have the correct domain and username. I even went as far as pulling the SID from the registry and calling it sequence:
PHP Code:
UserMgr::GetUserNameFromSID "S-1-5-21-4264112824-276356272-3790957511-1754"
Pop $0
MessageBox MB_OK "$0"
UserMgr::GetUserInfo "$0" "exists"
Pop $1
MessageBox MB_OK "$1"
I still get ERROR 2221 (NERR_UserNotFound) with this.
Any ideas?