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.

166 lines
2.8 KiB

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