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.

45 lines
1.0 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1997
  6. //
  7. // File: userlist.h
  8. //
  9. // Contents: Prototypes for user mapping functions
  10. //
  11. //
  12. // History: 21-February-1997 Created MikeSw
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef __USERLIST_H__
  16. #define __USERLIST_H__
  17. #include <pac.hxx>
  18. #define KERB_USERLIST_KEY L"System\\CurrentControlSet\\Control\\Lsa\\Kerberos\\UserList"
  19. #define KERB_MATCH_ALL_NAME L"*"
  20. #define KERB_ALL_USERS_VALUE L"*"
  21. NTSTATUS
  22. KerbCreatePacForKerbClient(
  23. OUT PPACTYPE * Pac,
  24. IN PKERB_INTERNAL_NAME ClientName,
  25. IN PUNICODE_STRING ClientRealm ,
  26. IN OPTIONAL PUNICODE_STRING MappedClientRealm
  27. );
  28. NTSTATUS
  29. KerbMapClientName(
  30. OUT PUNICODE_STRING MappedName,
  31. IN PKERB_INTERNAL_NAME ClientName,
  32. IN PUNICODE_STRING ClientRealm
  33. );
  34. #endif // __USERLIST_H__