Click here to Skip to main content
15,614,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have the following problem. I try to make a SMBConnection with WNetAddConnection2.
Wenn the password from the user is expired, on my test machine I get the extended error with NERR_PasswordExpired.
On the production machine I get the return code ERROR_LOGON_FAILURE.
I've no idea where is the difference...
Can anybody help me?

Greets,

Florian
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900