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.

54 lines
1.1 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1999
  6. //
  7. // File: kerbcli.h
  8. //
  9. // Contents: exported functions from kerbcli.lib
  10. //
  11. //
  12. // History: 24-May-1999 MikeSw Created
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef __KERBCLI_H__
  16. #define __KERBCLI_H__
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. NTSTATUS
  21. KerbChangePasswordUser(
  22. IN LPWSTR DomainName,
  23. IN LPWSTR UserName,
  24. IN LPWSTR OldPassword,
  25. IN LPWSTR NewPassword
  26. );
  27. NTSTATUS
  28. KerbSetPasswordUser(
  29. IN LPWSTR DomainName,
  30. IN LPWSTR UserName,
  31. IN LPWSTR NewPassword,
  32. IN OPTIONAL PCredHandle CredentialsHandle
  33. );
  34. NTSTATUS
  35. KerbSetPasswordUserEx(
  36. IN LPWSTR DomainName,
  37. IN LPWSTR UserName,
  38. IN LPWSTR NewPassword,
  39. IN OPTIONAL PCredHandle CredentialsHandle,
  40. IN OPTIONAL LPWSTR KdcAddress
  41. );
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45. #endif // __KERBCLI_H__