Home > Software engineering >  How to determine the user name and password can connect to the Windows domain
How to determine the user name and password can connect to the Windows domain

Time:10-07

Judged by C or C + +, there are some articles are based on the net, the class library is different,
I tried LogonUser, if really can land local, cannot log in remote, I need to test whether an account belonging to members of the remote domain,

CodePudding user response:

For security reasons, do not provide the relevant API, I guess,

CodePudding user response:

 LogonUser (user, domain, password, LOGON32_LOGON_INTERACTIVE LOGON32_PROVIDER_DEFAULT, htoken); 

Try this

CodePudding user response:

This I tried, can only be used for the machine,

CodePudding user response:

MSDN search "Active Directory Service Interfaces"

CodePudding user response:

Thank you very much! The task I have to put a put first temporarily, after finished in accordance with the ideas to try, you said can give you all points, thank you!
  • Related