Source code of Windows XP (NT5)
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.

79 lines
1.9 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // File: KdcDbg.IDL
  4. //
  5. // Contents: IDL file for KDC Debug API.
  6. //
  7. //
  8. // History: 19-Dec-91 WadeR Created
  9. //
  10. //------------------------------------------------------------------------
  11. [
  12. uuid(00000002-0001-0000-C000-000000000069),
  13. version(1.0),
  14. pointer_default(unique)
  15. ]
  16. interface KdcDebug
  17. {
  18. import "secimp.idl";
  19. typedef struct _KDC_DBG_DOMAIN_INFO {
  20. UNICODE_STRING DnsName;
  21. UNICODE_STRING NetbiosName;
  22. UNICODE_STRING ClosestRoute; // Points to referral target for this domain or NULL if unreachable
  23. ULONG Attributes;
  24. ULONG Type;
  25. } KDC_DBG_DOMAIN_INFO, *PKDC_DBG_DOMAIN_INFO;
  26. typedef struct _KDC_DBG_DOMAIN_LIST {
  27. ULONG Count;
  28. [size_is(Count)] PKDC_DBG_DOMAIN_INFO Domains;
  29. } KDC_DBG_DOMAIN_LIST, *PKDC_DBG_DOMAIN_LIST;
  30. NTSTATUS
  31. KDC_GetState(
  32. [in] handle_t hBinding,
  33. [out] unsigned long * KDCFlags,
  34. [out] unsigned long * MaxLifespan,
  35. [out] unsigned long * MaxRenewSpan,
  36. [out] PLARGE_INTEGER FudgeFactor);
  37. NTSTATUS
  38. KDC_SetState(
  39. [in] handle_t hBinding,
  40. [in] unsigned long KDCFlags,
  41. [in] unsigned long MaxLifespan,
  42. [in] unsigned long MaxRenewSpan,
  43. [in] LARGE_INTEGER FudgeFactor);
  44. NTSTATUS
  45. KDC_GetDomainList(
  46. [in] handle_t hBinding,
  47. [out] PKDC_DBG_DOMAIN_LIST * DomainList
  48. );
  49. NTSTATUS
  50. KDC_SetPassword(
  51. [in] handle_t hBinding,
  52. [in] PUNICODE_STRING UserName,
  53. [in] PUNICODE_STRING PrincipalName,
  54. [in] PUNICODE_STRING Password,
  55. [in] ULONG Flags
  56. );
  57. NTSTATUS
  58. KDC_SetAccountKeys(
  59. [in] handle_t hBinding,
  60. [in] PUNICODE_STRING UserName,
  61. [in] ULONG Flags,
  62. [in] PKERB_STORED_CREDENTIAL Keys
  63. );
  64. }