mirror of https://github.com/tongzx/nt5src
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
1022 B
54 lines
1022 B
//+-----------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (c) Microsoft Corporation 1992 - 1999
|
|
//
|
|
// File: kerbcli.h
|
|
//
|
|
// Contents: exported functions from kerbcli.lib
|
|
//
|
|
//
|
|
// History: 24-May-1999 MikeSw Created
|
|
//
|
|
//------------------------------------------------------------------------
|
|
|
|
#ifndef __KERBCLI_H__
|
|
#define __KERBCLI_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
NTSTATUS
|
|
KerbChangePasswordUser(
|
|
IN LPWSTR DomainName,
|
|
IN LPWSTR UserName,
|
|
IN LPWSTR OldPassword,
|
|
IN LPWSTR NewPassword
|
|
);
|
|
|
|
|
|
NTSTATUS
|
|
KerbSetPasswordUser(
|
|
IN LPWSTR DomainName,
|
|
IN LPWSTR UserName,
|
|
IN LPWSTR NewPassword,
|
|
IN OPTIONAL PCredHandle CredentialsHandle
|
|
);
|
|
|
|
NTSTATUS
|
|
KerbSetPasswordUserEx(
|
|
IN LPWSTR DomainName,
|
|
IN LPWSTR UserName,
|
|
IN LPWSTR NewPassword,
|
|
IN OPTIONAL PCredHandle CredentialsHandle,
|
|
IN OPTIONAL LPWSTR KdcAddress
|
|
);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __KERBCLI_H__
|