Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
794 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. PSWUTIL.H
  5. Abstract:
  6. Header file for wrapper to NetUserChangePassword() that expands it to hande
  7. unc names and MIT Kerberos realms properly.
  8. Author:
  9. georgema created
  10. Comments:
  11. Environment:
  12. WinXP
  13. Revision History:
  14. --*/
  15. #ifndef __PSWUTIL_H__
  16. #define __PSWUTIL_H__
  17. BOOL
  18. IsMITName (
  19. LPCWSTR UserName
  20. );
  21. NTSTATUS
  22. MitChangePasswordEy(
  23. LPCWSTR DomainName,
  24. LPCWSTR UserName,
  25. LPCWSTR OldPassword,
  26. LPCWSTR NewPassword,
  27. NTSTATUS *pSubStatus
  28. );
  29. NET_API_STATUS
  30. NetUserChangePasswordEy (
  31. LPCWSTR domainname,
  32. LPCWSTR username,
  33. LPCWSTR oldpassword,
  34. LPCWSTR newpassword
  35. );
  36. #endif