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.

74 lines
1.6 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1996
  6. //
  7. // File: proxyapi.cxx
  8. //
  9. // Contents: Code for Proxy support in Kerberos
  10. //
  11. //
  12. // History: 16-April-1996 Created MikeSw
  13. //
  14. //------------------------------------------------------------------------
  15. #include <kerb.hxx>
  16. #include <kerbp.h>
  17. NTSTATUS NTAPI
  18. SpGrantProxy(
  19. IN ULONG CredentialHandle,
  20. IN OPTIONAL PUNICODE_STRING ProxyName,
  21. IN PROXY_CLASS ProxyClass,
  22. IN OPTIONAL PUNICODE_STRING TargetName,
  23. IN ACCESS_MASK ContainerMask,
  24. IN ACCESS_MASK ObjectMask,
  25. IN PTimeStamp ExpirationTime,
  26. IN PSecBuffer AccessInformation,
  27. OUT PPROXY_REFERENCE ProxyReference
  28. )
  29. {
  30. return(STATUS_NOT_SUPPORTED);
  31. }
  32. NTSTATUS NTAPI
  33. SpRevokeProxy(
  34. IN ULONG CredentialHandle,
  35. IN OPTIONAL PPROXY_REFERENCE ProxyReference,
  36. IN OPTIONAL PUNICODE_STRING ProxyName
  37. )
  38. {
  39. return(STATUS_NOT_SUPPORTED);
  40. }
  41. NTSTATUS NTAPI
  42. SpInvokeProxy(
  43. IN ULONG CredentialHandle,
  44. IN OPTIONAL PPROXY_REFERENCE ProxyReference,
  45. IN OPTIONAL PUNICODE_STRING ProxyName,
  46. OUT PULONG ContextHandle,
  47. OUT PLUID LogonId,
  48. OUT PULONG CachedCredentialCount,
  49. OUT PSECPKG_SUPPLEMENTAL_CRED * CachedCredentials,
  50. OUT PSecBuffer ContextData
  51. )
  52. {
  53. return(STATUS_NOT_SUPPORTED);
  54. }
  55. NTSTATUS NTAPI
  56. SpRenewProxy(
  57. IN ULONG CredentialHandle,
  58. IN OPTIONAL PPROXY_REFERENCE ProxyReference,
  59. IN OPTIONAL PUNICODE_STRING ProxyName,
  60. IN PTimeStamp ExpirationTime
  61. )
  62. {
  63. return(STATUS_NOT_SUPPORTED);
  64. }