Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2018
129
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## ---------------------------------------------------------------------------
  2. ## Licensed to the Apache Software Foundation (ASF) under one or more
  3. ## contributor license agreements. See the NOTICE file distributed with
  4. ## this work for additional information regarding copyright ownership.
  5. ## The ASF licenses this file to You under the Apache License, Version 2.0
  6. ## (the "License"); you may not use this file except in compliance with
  7. ## the License. You may obtain a copy of the License at
  8. ##
  9. ## http://www.apache.org/licenses/LICENSE-2.0
  10. ##
  11. ## Unless required by applicable law or agreed to in writing, software
  12. ## distributed under the License is distributed on an "AS IS" BASIS,
  13. ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ## See the License for the specific language governing permissions and
  15. ## limitations under the License.
  16. ## ---------------------------------------------------------------------------
  17.  
  18.  
  19. ##########################
  20. ## Define basic objects ##
  21. ##########################
  22.  
  23. dn: dc=maxcrc,dc=com
  24. objectClass: dcObject
  25. objectClass: organization
  26. dc: maxcrc
  27. o: Apache
  28.  
  29. dn: dc=activemq,dc=maxcrc,dc=com
  30. objectClass: dcObject
  31. #objectClass: container
  32. objectClass: domain
  33. objectClass: top
  34. #cn: activemq
  35. dc: activemq
  36.  
  37. dn: ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  38. objectClass: organizationalUnit
  39. objectClass: top
  40. ou: ActiveMQ
  41.  
  42. dn: ou=Services,dc=activemq,dc=maxcrc,dc=com
  43. ou: Services
  44. objectClass: organizationalUnit
  45. objectClass: top
  46.  
  47. dn: cn=mqbroker,ou=Services,dc=activemq,dc=maxcrc,dc=com
  48. cn: mqbroker
  49. objectClass: organizationalRole
  50. objectClass: top
  51. objectClass: simpleSecurityObject
  52. userPassword: {SSHA}YvMAkkd66cDecNoejo8jnw5uUUBziyl0
  53. description: Bind user for MQ broker
  54.  
  55.  
  56. ###################
  57. ## Define groups ##
  58. ###################
  59.  
  60.  
  61. dn: ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  62. objectClass: organizationalUnit
  63. objectClass: top
  64. ou: Group
  65.  
  66. dn: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  67. cn: admins
  68. member: uid=admin
  69. objectClass: groupOfNames
  70. objectClass: top
  71.  
  72. dn: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  73. cn: users
  74. member: uid=jdoe
  75. objectClass: groupOfNames
  76. objectClass: top
  77.  
  78.  
  79. ##################
  80. ## Define users ##
  81. ##################
  82.  
  83.  
  84. dn: ou=User,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  85. objectClass: organizationalUnit
  86. objectClass: top
  87. ou: User
  88.  
  89. dn: uid=admin,ou=User,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  90. uid: admin
  91. userPassword: {SSHA}YvMAkkd66cDecNoejo8jnw5uUUBziyl0
  92. objectclass: uidObject
  93. objectclass: organizationalPerson
  94. objectclass: person
  95. objectclass: top
  96. cn: Admin
  97. sn: Admin
  98.  
  99.  
  100. dn: uid=jdoe,ou=User,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  101. uid: jdoe
  102. userPassword: {SSHA}YvMAkkd66cDecNoejo8jnw5uUUBziyl0
  103. objectclass: uidObject
  104. objectclass: organizationalPerson
  105. objectclass: person
  106. objectclass: top
  107. cn: Jane Doe
  108. sn: Doe
  109.  
  110.  
  111. #########################
  112. ## Define destinations ##
  113. #########################
  114.  
  115. dn: ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  116. objectClass: organizationalUnit
  117. objectClass: top
  118. ou: Destination
  119.  
  120. dn: ou=Topic,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  121. objectClass: organizationalUnit
  122. objectClass: top
  123. ou: Topic
  124.  
  125. dn: ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  126. objectClass: organizationalUnit
  127. objectClass: top
  128. ou: Queue
  129.  
  130. ## TEST.FOO
  131.  
  132. dn: cn=TEST.FOO,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  133. cn: TEST.FOO
  134. description: A queue
  135. objectClass: applicationProcess
  136. objectClass: top
  137.  
  138. dn: cn=admin,cn=TEST.FOO,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  139. cn: admin
  140. description: Admin privilege group, members are roles
  141. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  142. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  143. objectClass: groupOfNames
  144. objectClass: top
  145.  
  146. dn: cn=read,cn=TEST.FOO,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  147. cn: read
  148. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  149. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  150. objectClass: groupOfNames
  151. objectClass: top
  152.  
  153. dn: cn=write,cn=TEST.FOO,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  154. cn: write
  155. objectClass: groupOfNames
  156. objectClass: top
  157. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  158. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  159.  
  160. ## TEST.FOOBAR
  161.  
  162. dn: cn=TEST.FOOBAR,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  163. cn: TEST.BAR
  164. description: A queue
  165. objectClass: applicationProcess
  166. objectClass: top
  167.  
  168. dn: cn=admin,cn=TEST.FOOBAR,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  169. cn: admin
  170. description: Admin privilege group, members are roles
  171. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  172. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  173. objectClass: groupOfNames
  174. objectClass: top
  175.  
  176. dn: cn=read,cn=TEST.FOOBAR,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  177. cn: read
  178. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  179. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  180. member: uid=jdoe,ou=User,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  181. member: cn=notthere,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  182. objectClass: groupOfNames
  183. objectClass: top
  184.  
  185. dn: cn=write,cn=TEST.FOOBAR,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  186. cn: write
  187. objectClass: groupOfNames
  188. objectClass: top
  189. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  190. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  191. member: uid=jdoe,ou=User,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  192.  
  193. ## FOO.>
  194.  
  195. dn: cn=FOO.$,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  196. cn: FOO.$
  197. description: A queue
  198. objectClass: applicationProcess
  199. objectClass: top
  200.  
  201. dn: cn=admin,cn=FOO.$,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  202. cn: admin
  203. description: Admin privilege group, members are roles
  204. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  205. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  206. objectClass: groupOfNames
  207. objectClass: top
  208.  
  209. dn: cn=read,cn=FOO.$,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  210. cn: read
  211. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  212. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  213. objectClass: groupOfNames
  214. objectClass: top
  215.  
  216. dn: cn=write,cn=FOO.$,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  217. cn: write
  218. objectClass: groupOfNames
  219. objectClass: top
  220. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  221. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  222.  
  223. ## BAR.*
  224.  
  225. dn: cn=BAR.*,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  226. cn: BAR.*
  227. description: A queue
  228. objectClass: applicationProcess
  229. objectClass: top
  230.  
  231. dn: cn=admin,cn=BAR.*,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  232. cn: admin
  233. description: Admin privilege group, members are roles
  234. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  235. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  236. objectClass: groupOfNames
  237. objectClass: top
  238.  
  239. dn: cn=read,cn=BAR.*,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  240. cn: read
  241. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  242. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  243. objectClass: groupOfNames
  244. objectClass: top
  245.  
  246. dn: cn=write,cn=BAR.*,ou=Queue,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  247. cn: write
  248. objectClass: groupOfNames
  249. objectClass: top
  250. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  251. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  252.  
  253. #######################
  254. ## Define advisories ##
  255. #######################
  256.  
  257. dn: cn=ActiveMQ.Advisory.$,ou=Topic,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  258. cn: ActiveMQ.Advisory.$
  259. objectClass: applicationProcess
  260. objectClass: top
  261. description: Advisory topics
  262.  
  263. dn: cn=read,cn=ActiveMQ.Advisory.$,ou=Topic,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  264. cn: read
  265. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  266. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  267. objectClass: groupOfNames
  268. objectClass: top
  269.  
  270. dn: cn=write,cn=ActiveMQ.Advisory.$,ou=Topic,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  271. cn: write
  272. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  273. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  274. objectClass: groupOfNames
  275. objectClass: top
  276.  
  277. dn: cn=admin,cn=ActiveMQ.Advisory.$,ou=Topic,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  278. cn: admin
  279. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  280. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  281. objectClass: groupOfNames
  282. objectClass: top
  283.  
  284. ######################
  285. ## Define temporary ##
  286. ######################
  287.  
  288. dn: ou=Temp,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  289. objectClass: organizationalUnit
  290. objectClass: top
  291. ou: Temp
  292.  
  293. dn: cn=read,ou=Temp,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  294. cn: read
  295. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  296. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  297. objectClass: groupOfNames
  298. objectClass: top
  299.  
  300. dn: cn=write,ou=Temp,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  301. cn: write
  302. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  303. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  304. objectClass: groupOfNames
  305. objectClass: top
  306.  
  307. dn: cn=admin,ou=Temp,ou=Destination,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  308. cn: admin
  309. member: cn=admins,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  310. member: cn=users,ou=Group,ou=ActiveMQ,dc=activemq,dc=maxcrc,dc=com
  311. objectClass: groupOfNames
  312. objectClass: top
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement