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.

73 lines
2.0 KiB

  1. #pragma namespace("\\\\.\\Root\\Policy")
  2. // this is a test class to test passing compiled MOF defs through DS
  3. // class ified
  4. // {
  5. // [write]
  6. // String IveGotASecret;
  7. // };
  8. // simple policy type object
  9. instance of MSFT_PolicyType as $TypeAlias
  10. {
  11. DsPath = "DC=HHANCEDOM,DC=microsoft,DC=com";
  12. ID = "FAKE1";
  13. ClassDefinition = instance of ified {};
  14. InstanceDefinitions =
  15. {
  16. instance of ified { IveGotASecret = "Boo!"; }
  17. };
  18. SourceOrganization = "Microsoft";
  19. Author = "a-fredsh";
  20. ChangeDate = "20000101000000.000000-480";
  21. CreationDate = "20000101000000.000000-480";
  22. };
  23. instance of MSFT_MergeablePolicyTemplate as $TemplAlias
  24. {
  25. // DsPath = "DC=HHANCEDOM,DC=microsoft,DC=com";
  26. ID = "Policy_AA1";
  27. TargetType = $TypeAlias;
  28. Name = "Mr. Bultitude";
  29. TargetNamespace = "\\\\Root\\SillyNames";
  30. TargetClass = "ified";
  31. TargetPath = "ifid.IveGotASecret=\"Boo!\"";
  32. SourceOrganization = "Microsoft";
  33. Author = "Microsoft";
  34. ChangeDate = "20000101000000.000000-480";
  35. CreationDate = "20000101000000.000000-480";
  36. RangeSettings =
  37. {
  38. instance of MSFT_SintRangeParam
  39. { Default = 3; Max = 5; Min = 1; PropertyName = "Range_A"; TargetClass = "MSFT_SintRangeParam"; TargetType = 00; },
  40. instance of MSFT_SintRangeParam
  41. { Default = 3; Max = 10; Min = 1; PropertyName = "Range_B"; TargetClass = "MSFT_SintRangeParam"; TargetType = 00; }
  42. };
  43. };
  44. instance of MSFT_SomFilter
  45. {
  46. // DsPath = "DC=HHANCEDOM,DC=microsoft,DC=com";
  47. ID = "SOM_A1";
  48. Name = "Psalm";
  49. Rules =
  50. {
  51. instance of MSFT_Rule { QueryLanguage = "WQL"; TargetNameSpace = "\\\\root\\policy"; Query = "select * from MSFT_SomFilter"; }
  52. };
  53. SourceOrganization = "Microsoft";
  54. Author = "a-fredsh";
  55. ChangeDate = "20000101000000.000000-480";
  56. CreationDate = "20000101000000.000000-480";
  57. };
  58. // instance of MSFT_WMIGPO
  59. // {
  60. // DsPath = "LDAP://CN=WMIGPO,CN=WMIPolicy,CN=System,DC=HHANCEDOM,DC=microsoft,DC=com";
  61. // PolicyTemplate = $TemplAlias;
  62. // };