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
1.1 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1996
  6. //
  7. // File: rpcutil.h
  8. //
  9. // Contents: prototypes and structures for RPC utilities
  10. //
  11. //
  12. // History: 19-April-1996 Created MikeSw
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef __RPCUTIL_H__
  16. #define __RPCUTIL_H__
  17. #define KERB_LOCATOR_FLAGS (DS_KDC_REQUIRED | DS_IP_REQUIRED)
  18. NTSTATUS
  19. KerbGetKdcBinding(
  20. IN PUNICODE_STRING Realm,
  21. IN PUNICODE_STRING PrincipalName,
  22. IN ULONG DesiredFlags,
  23. IN BOOLEAN FindKpasswd,
  24. IN BOOLEAN UseTcp,
  25. OUT PKERB_BINDING_CACHE_ENTRY * BindingCacheEntry
  26. );
  27. BOOLEAN
  28. ReadInitialDcRecord(PUNICODE_STRING uString,
  29. PULONG RegAddressType,
  30. PULONG RegFlags);
  31. #ifndef WIN32_CHICAGO
  32. NTSTATUS
  33. KerbInitKdcData();
  34. VOID
  35. KerbFreeKdcData();
  36. NTSTATUS
  37. KerbInitNetworkChangeEvent();
  38. VOID
  39. KerbSetKdcData(BOOLEAN fNewDomain, BOOLEAN fRebooted);
  40. #endif // WIN32_CHICAGO
  41. #endif // __RPCUTIL_H__