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.

178 lines
3.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000
  5. //
  6. // File: modtable.h
  7. //
  8. // Contents: Declares a table which contains the object types on which
  9. // a modification can occur and the attributes that can be changed
  10. //
  11. // History: 07-Sep-2000 JeffJon Created
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef _MODTABLE_H_
  15. #define _MODTABLE_H_
  16. typedef enum DSMOD_COMMAND_ENUM
  17. {
  18. eCommContinue = eCommLast+1,
  19. eCommObjectType,
  20. eCommObjectDNorName,
  21. eCommDescription,
  22. eTerminator,
  23. //
  24. // User and Contact switches
  25. //
  26. eUserUpn = eTerminator,
  27. eUserFn,
  28. eUserMi,
  29. eUserLn,
  30. eUserDisplay,
  31. eUserEmpID,
  32. eUserPwd,
  33. eUserOffice,
  34. eUserTel,
  35. eUserEmail,
  36. eUserHometel,
  37. eUserPager,
  38. eUserMobile,
  39. eUserFax,
  40. eUserIPPhone,
  41. eUserWebPage,
  42. eUserTitle,
  43. eUserDept,
  44. eUserCompany,
  45. eUserManager,
  46. eUserHomeDir,
  47. eUserHomeDrive,
  48. eUserProfilePath,
  49. eUserScriptPath,
  50. eUserMustchpwd,
  51. eUserCanchpwd,
  52. eUserReversiblePwd,
  53. eUserPwdneverexpires,
  54. eUserAcctexpires,
  55. eUserDisabled,
  56. //
  57. // Contact switches
  58. //
  59. eContactFn = eTerminator,
  60. eContactMi,
  61. eContactLn,
  62. eContactDisplay,
  63. eContactOffice,
  64. eContactTel,
  65. eContactEmail,
  66. eContactHometel,
  67. eContactPager,
  68. eContactMobile,
  69. eContactFax,
  70. eContactIPPhone,
  71. eContactTitle,
  72. eContactDept,
  73. eContactCompany,
  74. //
  75. // Computer switches
  76. //
  77. eComputerLocation = eTerminator,
  78. eComputerDisabled,
  79. eComputerReset,
  80. //
  81. // Group switches
  82. //
  83. eGroupSamname = eTerminator,
  84. eGroupSecgrp,
  85. eGroupScope,
  86. eGroupAddMember,
  87. eGroupRemoveMember,
  88. eGroupChangeMember,
  89. //
  90. // OU doesn't have any additional switches
  91. //
  92. //
  93. // Subnet switches
  94. //
  95. eSubnetSite = eTerminator,
  96. //
  97. // Site switches
  98. //
  99. eSiteAutotopology = eTerminator,
  100. //
  101. // Site Link switches
  102. //
  103. eSLinkIp = eTerminator,
  104. eSLinkSmtp,
  105. eSLinkAddsite,
  106. eSLinkRmsite,
  107. eSLinkCost,
  108. eSLinkRepint,
  109. eSLinkAutobacksync,
  110. eSLinkNotify,
  111. //
  112. // Site Link Bridge switches
  113. //
  114. eSLinkBrIp = eTerminator,
  115. eSLinkBrSmtp,
  116. eSLinkBrAddslink,
  117. eSLinkBrRmslink,
  118. //
  119. // Replication Connection switches
  120. //
  121. eConnTransport = eTerminator,
  122. eConnEnabled,
  123. eConnManual,
  124. eConnAutobacksync,
  125. eConnNotify,
  126. //
  127. // Server switches
  128. //
  129. eServerIsGC = eTerminator,
  130. //
  131. // Quota switches
  132. //
  133. eQuotaQlimit = eTerminator,
  134. //
  135. // Partition switches
  136. //
  137. ePartitionQDefault = eTerminator,
  138. ePartitionQtmbstnwt,
  139. };
  140. //
  141. // The parser table
  142. //
  143. extern ARG_RECORD DSMOD_COMMON_COMMANDS[];
  144. //
  145. // The table of supported objects
  146. //
  147. extern PDSOBJECTTABLEENTRY g_DSObjectTable[];
  148. //
  149. //Usage Tables
  150. //
  151. extern UINT USAGE_DSMOD[];
  152. extern UINT USAGE_DSMOD_OU[];
  153. extern UINT USAGE_DSMOD_USER[];
  154. extern UINT USAGE_DSMOD_CONTACT[];
  155. extern UINT USAGE_DSMOD_COMPUTER[];
  156. extern UINT USAGE_DSMOD_GROUP[];
  157. extern UINT USAGE_DSMOD_SERVER[];
  158. extern UINT USAGE_DSMOD_QUOTA[];
  159. extern UINT USAGE_DSMOD_PARTITION[];
  160. #endif //_MODTABLE_H_