Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.38 KB | None | 0 0
  1. === Start 08-11-2010 09:01:02 ===
  2.  
  3. @ Clean up old binaries
  4. WAF_MAKE=1 ../buildtools/bin/waf distclean
  5. 'distclean' finished successfully (23.293s)
  6. Status: OK
  7.  
  8. @ Pull new source changes
  9. From git://git.samba.org/samba
  10. 7bd5d40..11b4202 master -> origin/master
  11. Updating 7bd5d40..11b4202
  12. Fast forward
  13. source4/dsdb/kcc/kcc_periodic.c | 4 +-
  14. source4/dsdb/repl/drepl_notify.c | 14 ++++++++--
  15. source4/dsdb/repl/drepl_partitions.c | 47 ++++++++++++++++++++++++++++++---
  16. source4/dsdb/repl/drepl_periodic.c | 6 ++--
  17. source4/dsdb/repl/drepl_service.h | 6 ++++
  18. source4/libcli/dgram/dgramsocket.c | 2 +-
  19. source4/nbt_server/dgram/browse.c | 2 +-
  20. 7 files changed, 66 insertions(+), 15 deletions(-)
  21. Status: OK
  22.  
  23. @ Committers since last time
  24. COMMAND: git log 7bd5d402081bd7cd4cfeb2641bf011ad68be6443..11b42022c7f1fe60ce0be0911f17a7ff70881986
  25. Status: OK
  26.  
  27. @ Run autogen.sh && configure.developer && make
  28. Status: OK
  29.  
  30. @ Kill Samba4 deamon
  31. Status: OK
  32.  
  33. @ Delete old Samba4 binaries
  34. Status: OK
  35.  
  36. @ Insatall fresh Samba4 binaries
  37. Status: OK
  38.  
  39. @ Get current Samba4 version
  40. Version 4.0.0alpha14-GIT-11b4202
  41.  
  42. @ Revert Windows server to clean state
  43. Status: OK
  44.  
  45. @ Test network connection to Windows server
  46. PING 10.191.44.11 (10.191.44.11) 56(84) bytes of data.
  47. 64 bytes from 10.191.44.11: icmp_seq=1 ttl=128 time=3.34 ms
  48. 64 bytes from 10.191.44.11: icmp_seq=2 ttl=128 time=0.174 ms
  49. 64 bytes from 10.191.44.11: icmp_seq=3 ttl=128 time=0.159 ms
  50. 64 bytes from 10.191.44.11: icmp_seq=4 ttl=128 time=0.175 ms
  51. 64 bytes from 10.191.44.11: icmp_seq=5 ttl=128 time=0.177 ms
  52. 64 bytes from 10.191.44.11: icmp_seq=6 ttl=128 time=0.164 ms
  53. 64 bytes from 10.191.44.11: icmp_seq=7 ttl=128 time=0.154 ms
  54. 64 bytes from 10.191.44.11: icmp_seq=8 ttl=128 time=0.181 ms
  55. 64 bytes from 10.191.44.11: icmp_seq=9 ttl=128 time=0.135 ms
  56. 64 bytes from 10.191.44.11: icmp_seq=10 ttl=128 time=0.170 ms
  57.  
  58. --- 10.191.44.11 ping statistics ---
  59. 10 packets transmitted, 10 received, 0% packet loss, time 9006ms
  60. rtt min/avg/max/mdev = 0.135/0.483/3.344/0.953 ms
  61. Status: OK
  62.  
  63. @ Check Domain & Forest functional levels of Windows server (via LDAP)
  64. # record 1
  65. dn:
  66. domainFunctionality: 0
  67. forestFunctionality: 0
  68.  
  69. # returned 1 records
  70. # 1 entries
  71. # 0 referrals
  72. Status: OK
  73.  
  74. @ Synchronize time with Windows server
  75. 8 Nov 10:21:17 ntpdate[14644]: step time server 10.191.44.11 offset 3636.034355 sec
  76. Status: OK
  77.  
  78. @ Test Kerberos connection to Windows server
  79. Password for Administrator@AUTOREPL1.TEST:
  80. Authenticated to Kerberos v5
  81. Status: OK
  82.  
  83. @ Vampire from Windows server
  84. Finding a writeable DC for domain 'autorepl1.test'
  85. Found DC win2003a.autorepl1.test
  86. workgroup is AUTOREPL01
  87. realm is autorepl1.test
  88. checking samaccountname
  89. Adding CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test
  90. Adding CN=DEBIAN1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=autorepl1,DC=test
  91. Adding CN=NTDS Settings,CN=DEBIAN1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=autorepl1,DC=test
  92. Adding SPNs to CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test
  93. Setting account password for DEBIAN1$
  94. Calling bare provision
  95. Provision OK for domain DN DC=autorepl1,DC=test
  96. Starting replication
  97. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  98. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  99. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  100. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[60] linked_values[0]
  101. Analyze and apply schema objects
  102. Schema for DRS tests using python
  103. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  104. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[804] linked_values[0]
  105. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[1206] linked_values[0]
  106. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[1518] linked_values[0]
  107. Partition[DC=autorepl1,DC=test] objects[225] linked_values[0]
  108. Committing SAM database
  109. Setting isSynchronized
  110. Setting up secrets database
  111. Joined domain AUTOREPL01 (SID S-1-5-21-2984126758-3270157495-3977679981) as a DC
  112. Status: OK
  113.  
  114. @ Start Samba4 daemon
  115. Status: OK
  116.  
  117. @ Force bi-directional replication and KCC
  118. COMMAND: /usr/local/samba/bin/samba-tool drs kcc DEBIAN1 -Uadministrator%postpath123@ 2>&1
  119. Default-First-Site-Name
  120. Current Site Options: (none)
  121. Consistency check on DEBIAN1 successful.
  122. Status: OK
  123.  
  124. COMMAND: /usr/local/samba/bin/samba-tool drs kcc WIN2003a -Uadministrator%postpath123@ 2>&1
  125. Default-First-Site-Name
  126. Current Site Options: (none)
  127. Consistency check on WIN2003a successful.
  128. Status: OK
  129.  
  130. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  131. Replicate from WIN2003a to DEBIAN1 was successful.
  132. Status: OK
  133.  
  134. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  135. Replicate from WIN2003a to DEBIAN1 was successful.
  136. Status: OK
  137.  
  138. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'cn=schema,cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  139. Replicate from WIN2003a to DEBIAN1 was successful.
  140. Status: OK
  141.  
  142. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  143. DsReplicaSync failed - WERR_DS_DRA_NO_REPLICA (nc=[dc=autorepl1,dc=test], dsa_guid=[702d8805-fa04-48c1-b2ef-c8a85b2712d9]).
  144. Replicate terminated with errors.
  145. return code = -1
  146. Status: FAILED
  147.  
  148. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  149. DsReplicaSync failed - WERR_DS_DRA_NO_REPLICA (nc=[cn=configuration,dc=autorepl1,dc=test], dsa_guid=[702d8805-fa04-48c1-b2ef-c8a85b2712d9]).
  150. Replicate terminated with errors.
  151. return code = -1
  152. Status: FAILED
  153.  
  154. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'cn=schema,cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  155. DsReplicaSync failed - WERR_DS_DRA_NO_REPLICA (nc=[cn=schema,cn=configuration,dc=autorepl1,dc=test], dsa_guid=[702d8805-fa04-48c1-b2ef-c8a85b2712d9]).
  156. Replicate terminated with errors.
  157. return code = -1
  158. Status: FAILED
  159.  
  160. @ LDAPCMP tests between original DC (Windows) and vampired DC (Samba4)
  161.  
  162.  
  163. * Comparing [DOMAIN] context...
  164.  
  165. * Objects to be compared: 191
  166.  
  167. Comparing:
  168. 'CN=Builtin,DC=autorepl1,DC=test' [10.191.44.11]
  169. 'CN=Builtin,DC=autorepl1,DC=test' [10.191.44.10]
  170. Attributes found only in 10.191.44.11:
  171. serverState
  172. FAILED
  173.  
  174. Comparing:
  175. 'CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.11]
  176. 'CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.10]
  177. Difference in attribute values:
  178. servicePrincipalName =>
  179. ['E3514235-4B06-11D1-AB04-00C04FC2DCD2/702d8805-fa04-48c1-b2ef-c8a85b2712d9/autorepl1.test', 'GC/debian1.autorepl1.test/autorepl1.test', 'HOST/DEBIAN1', 'HOST/debian1.autorepl1.test']
  180. ['E3514235-4B06-11D1-AB04-00C04FC2DCD2/702d8805-fa04-48c1-b2ef-c8a85b2712d9/autorepl1.test', 'GC/debian1.autorepl1.test/autorepl1.test', 'HOST/DEBIAN1', 'HOST/debian1.autorepl1.test', 'HOST/debian1.autorepl1.test/AUTOREPL01', 'HOST/debian1.autorepl1.test/autorepl1.test', 'RestrictedKrbHost/DEBIAN1', 'RestrictedKrbHost/debian1.autorepl1.test', 'ldap/702d8805-fa04-48c1-b2ef-c8a85b2712d9._msdcs.autorepl1.test', 'ldap/DEBIAN1', 'ldap/debian1.autorepl1.test', 'ldap/debian1.autorepl1.test/AUTOREPL01', 'ldap/debian1.autorepl1.test/autorepl1.test']
  181. FAILED
  182.  
  183. Comparing:
  184. 'CN=RID Set,CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.11]
  185. 'CN=RID Set,CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.10]
  186. Attributes found only in 10.191.44.11:
  187. rIDNextRID
  188. rIDPreviousAllocationPool
  189. FAILED
  190.  
  191. Comparing:
  192. 'CN=RID Set,CN=WIN2003A,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.11]
  193. 'CN=RID Set,CN=WIN2003A,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.10]
  194. Attributes found only in 10.191.44.11:
  195. rIDNextRID
  196. rIDPreviousAllocationPool
  197. FAILED
  198.  
  199. Comparing:
  200. 'DC=autorepl1,DC=test' [10.191.44.11]
  201. 'DC=autorepl1,DC=test' [10.191.44.10]
  202. Attributes found only in 10.191.44.11:
  203. serverState
  204. subRefs
  205. FAILED
  206.  
  207. * Result for [DOMAIN]: FAILURE
  208.  
  209. SUMMARY
  210. ---------
  211.  
  212. Attributes found only in 10.191.44.11:
  213.  
  214. rIDPreviousAllocationPool
  215. rIDNextRID
  216. subRefs
  217. serverState
  218.  
  219. Attributes with different values:
  220.  
  221. servicePrincipalName
  222.  
  223. * Comparing [CONFIGURATION] context...
  224.  
  225. * DN lists have different size: 1517 != 1518
  226.  
  227. * DNs found only in 10.191.44.10:
  228. CN=f891da29-d531-4c30-b8ec-0d235b8575f4,CN=NTDS Settings,CN=DEBIAN1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=autorepl1,DC=test
  229.  
  230. * Objects to be compared: 1517
  231.  
  232. Comparing:
  233. 'CN=Configuration,DC=autorepl1,DC=test' [10.191.44.11]
  234. 'CN=Configuration,DC=autorepl1,DC=test' [10.191.44.10]
  235. Attributes found only in 10.191.44.11:
  236. subRefs
  237. FAILED
  238.  
  239. * Result for [CONFIGURATION]: FAILURE
  240.  
  241. SUMMARY
  242. ---------
  243.  
  244. Attributes found only in 10.191.44.11:
  245.  
  246. subRefs
  247.  
  248. * Comparing [SCHEMA] context...
  249.  
  250. * Objects to be compared: 1263
  251.  
  252. * Result for [SCHEMA]: SUCCESS
  253.  
  254. --- LDAPCMP done ---
  255.  
  256. @ Kill Samba4 deamon
  257. Status: OK
  258.  
  259. @ Delete old Samba4 binaries
  260. Status: OK
  261.  
  262. @ Insatall fresh Samba4 binaries
  263. Status: OK
  264.  
  265. @ Get current Samba4 version
  266. Version 4.0.0alpha14-GIT-11b4202
  267.  
  268. @ Revert Windows server to clean state
  269. Status: OK
  270.  
  271. @ Test network connection to Windows server
  272. PING 10.191.44.11 (10.191.44.11) 56(84) bytes of data.
  273. 64 bytes from 10.191.44.11: icmp_seq=1 ttl=128 time=0.476 ms
  274. 64 bytes from 10.191.44.11: icmp_seq=2 ttl=128 time=0.204 ms
  275. 64 bytes from 10.191.44.11: icmp_seq=3 ttl=128 time=0.177 ms
  276. 64 bytes from 10.191.44.11: icmp_seq=4 ttl=128 time=0.171 ms
  277. 64 bytes from 10.191.44.11: icmp_seq=5 ttl=128 time=0.165 ms
  278. 64 bytes from 10.191.44.11: icmp_seq=6 ttl=128 time=0.177 ms
  279. 64 bytes from 10.191.44.11: icmp_seq=7 ttl=128 time=0.154 ms
  280. 64 bytes from 10.191.44.11: icmp_seq=8 ttl=128 time=0.133 ms
  281. 64 bytes from 10.191.44.11: icmp_seq=9 ttl=128 time=0.193 ms
  282. 64 bytes from 10.191.44.11: icmp_seq=10 ttl=128 time=0.285 ms
  283.  
  284. --- 10.191.44.11 ping statistics ---
  285. 10 packets transmitted, 10 received, 0% packet loss, time 9000ms
  286. rtt min/avg/max/mdev = 0.133/0.213/0.476/0.096 ms
  287. Status: OK
  288.  
  289. @ Check Domain & Forest functional levels of Windows server (via LDAP)
  290. # record 1
  291. dn:
  292. domainFunctionality: 0
  293. forestFunctionality: 0
  294.  
  295. # returned 1 records
  296. # 1 entries
  297. # 0 referrals
  298. Status: OK
  299.  
  300. @ Synchronize time with Windows server
  301. 8 Nov 10:25:50 ntpdate[14880]: adjust time server 10.191.44.11 offset 0.307578 sec
  302. Status: OK
  303.  
  304. @ Test Kerberos connection to Windows server
  305. Password for Administrator@AUTOREPL1.TEST:
  306. Authenticated to Kerberos v5
  307. Status: OK
  308.  
  309. @ Vampire from Windows server
  310. Finding a writeable DC for domain 'autorepl1.test'
  311. Found DC win2003a.autorepl1.test
  312. workgroup is AUTOREPL01
  313. realm is autorepl1.test
  314. checking samaccountname
  315. Adding CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test
  316. Adding CN=DEBIAN1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=autorepl1,DC=test
  317. Adding CN=NTDS Settings,CN=DEBIAN1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=autorepl1,DC=test
  318. Adding SPNs to CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test
  319. Setting account password for DEBIAN1$
  320. Calling bare provision
  321. Provision OK for domain DN DC=autorepl1,DC=test
  322. Starting replication
  323. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  324. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  325. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  326. Schema-DN[CN=Schema,CN=Configuration,DC=autorepl1,DC=test] objects[60] linked_values[0]
  327. Analyze and apply schema objects
  328. Schema for DRS tests using python
  329. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[402] linked_values[0]
  330. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[804] linked_values[0]
  331. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[1206] linked_values[0]
  332. Partition[CN=Configuration,DC=autorepl1,DC=test] objects[1520] linked_values[0]
  333. Partition[DC=autorepl1,DC=test] objects[225] linked_values[0]
  334. Committing SAM database
  335. Setting isSynchronized
  336. Setting up secrets database
  337. Joined domain AUTOREPL01 (SID S-1-5-21-2984126758-3270157495-3977679981) as a DC
  338. Status: OK
  339.  
  340. @ Start Samba4 daemon
  341. Status: OK
  342.  
  343. @ Force bi-directional replication and KCC
  344. COMMAND: /usr/local/samba/bin/samba-tool drs kcc DEBIAN1 -Uadministrator%postpath123@ 2>&1
  345. Default-First-Site-Name
  346. Current Site Options: (none)
  347. Consistency check on DEBIAN1 successful.
  348. Status: OK
  349.  
  350. COMMAND: /usr/local/samba/bin/samba-tool drs kcc WIN2003a -Uadministrator%postpath123@ 2>&1
  351. Default-First-Site-Name
  352. Current Site Options: (none)
  353. Consistency check on WIN2003a successful.
  354. Status: OK
  355.  
  356. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  357. Replicate from WIN2003a to DEBIAN1 was successful.
  358. Status: OK
  359.  
  360. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  361. Replicate from WIN2003a to DEBIAN1 was successful.
  362. Status: OK
  363.  
  364. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'cn=schema,cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  365. Replicate from WIN2003a to DEBIAN1 was successful.
  366. Status: OK
  367.  
  368. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  369. DsReplicaSync failed - WERR_DS_DRA_NO_REPLICA (nc=[dc=autorepl1,dc=test], dsa_guid=[2e110716-d166-42f5-9951-715bdf216299]).
  370. Replicate terminated with errors.
  371. return code = -1
  372. Status: FAILED
  373.  
  374. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  375. DsReplicaSync failed - WERR_DS_DRA_NO_REPLICA (nc=[cn=configuration,dc=autorepl1,dc=test], dsa_guid=[2e110716-d166-42f5-9951-715bdf216299]).
  376. Replicate terminated with errors.
  377. return code = -1
  378. Status: FAILED
  379.  
  380. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'cn=schema,cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  381. DsReplicaSync failed - WERR_DS_DRA_NO_REPLICA (nc=[cn=schema,cn=configuration,dc=autorepl1,dc=test], dsa_guid=[2e110716-d166-42f5-9951-715bdf216299]).
  382. Replicate terminated with errors.
  383. return code = -1
  384. Status: FAILED
  385.  
  386. @ LDAPCMP tests between original DC (Windows) and vampired DC (Samba4)
  387.  
  388.  
  389. * Comparing [DOMAIN] context...
  390.  
  391. * Objects to be compared: 191
  392.  
  393. Comparing:
  394. 'CN=Builtin,DC=autorepl1,DC=test' [10.191.44.11]
  395. 'CN=Builtin,DC=autorepl1,DC=test' [10.191.44.10]
  396. Attributes found only in 10.191.44.11:
  397. serverState
  398. FAILED
  399.  
  400. Comparing:
  401. 'CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.11]
  402. 'CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.10]
  403. Difference in attribute values:
  404. servicePrincipalName =>
  405. ['E3514235-4B06-11D1-AB04-00C04FC2DCD2/2e110716-d166-42f5-9951-715bdf216299/autorepl1.test', 'GC/debian1.autorepl1.test/autorepl1.test', 'HOST/DEBIAN1', 'HOST/debian1.autorepl1.test']
  406. ['E3514235-4B06-11D1-AB04-00C04FC2DCD2/2e110716-d166-42f5-9951-715bdf216299/autorepl1.test', 'GC/debian1.autorepl1.test/autorepl1.test', 'HOST/DEBIAN1', 'HOST/debian1.autorepl1.test', 'HOST/debian1.autorepl1.test/AUTOREPL01', 'HOST/debian1.autorepl1.test/autorepl1.test', 'RestrictedKrbHost/DEBIAN1', 'RestrictedKrbHost/debian1.autorepl1.test', 'ldap/2e110716-d166-42f5-9951-715bdf216299._msdcs.autorepl1.test', 'ldap/DEBIAN1', 'ldap/debian1.autorepl1.test', 'ldap/debian1.autorepl1.test/AUTOREPL01', 'ldap/debian1.autorepl1.test/autorepl1.test']
  407. FAILED
  408.  
  409. Comparing:
  410. 'CN=RID Set,CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.11]
  411. 'CN=RID Set,CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.10]
  412. Attributes found only in 10.191.44.11:
  413. rIDNextRID
  414. rIDPreviousAllocationPool
  415. FAILED
  416.  
  417. Comparing:
  418. 'CN=RID Set,CN=WIN2003A,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.11]
  419. 'CN=RID Set,CN=WIN2003A,OU=Domain Controllers,DC=autorepl1,DC=test' [10.191.44.10]
  420. Attributes found only in 10.191.44.11:
  421. rIDNextRID
  422. rIDPreviousAllocationPool
  423. FAILED
  424.  
  425. Comparing:
  426. 'DC=autorepl1,DC=test' [10.191.44.11]
  427. 'DC=autorepl1,DC=test' [10.191.44.10]
  428. Attributes found only in 10.191.44.11:
  429. serverState
  430. subRefs
  431. FAILED
  432.  
  433. * Result for [DOMAIN]: FAILURE
  434.  
  435. SUMMARY
  436. ---------
  437.  
  438. Attributes found only in 10.191.44.11:
  439.  
  440. rIDPreviousAllocationPool
  441. rIDNextRID
  442. subRefs
  443. serverState
  444.  
  445. Attributes with different values:
  446.  
  447. servicePrincipalName
  448.  
  449. * Comparing [CONFIGURATION] context...
  450.  
  451. * DN lists have different size: 1517 != 1518
  452.  
  453. * DNs found only in 10.191.44.10:
  454. CN=7cde9d21-f8bb-48ec-baa5-193b8c65ccce,CN=NTDS Settings,CN=DEBIAN1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=autorepl1,DC=test
  455.  
  456. * Objects to be compared: 1517
  457.  
  458. Comparing:
  459. 'CN=Configuration,DC=autorepl1,DC=test' [10.191.44.11]
  460. 'CN=Configuration,DC=autorepl1,DC=test' [10.191.44.10]
  461. Attributes found only in 10.191.44.11:
  462. subRefs
  463. FAILED
  464.  
  465. * Result for [CONFIGURATION]: FAILURE
  466.  
  467. SUMMARY
  468. ---------
  469.  
  470. Attributes found only in 10.191.44.11:
  471.  
  472. subRefs
  473.  
  474. * Comparing [SCHEMA] context...
  475.  
  476. * Objects to be compared: 1263
  477.  
  478. * Result for [SCHEMA]: SUCCESS
  479.  
  480. --- LDAPCMP done ---
  481.  
  482. @ Kill Samba4 deamon
  483. Status: OK
  484.  
  485. @ Delete old Samba4 binaries
  486. Status: OK
  487.  
  488. @ Insatall fresh Samba4 binaries
  489. Status: OK
  490.  
  491. @ Get current Samba4 version
  492. Version 4.0.0alpha14-GIT-11b4202
  493.  
  494. @ Revert Windows server to clean state
  495. Status: OK
  496.  
  497. @ Test network connection to Windows server
  498. PING 10.191.44.11 (10.191.44.11) 56(84) bytes of data.
  499. 64 bytes from 10.191.44.11: icmp_seq=1 ttl=128 time=1.59 ms
  500. 64 bytes from 10.191.44.11: icmp_seq=2 ttl=128 time=0.209 ms
  501. 64 bytes from 10.191.44.11: icmp_seq=3 ttl=128 time=0.166 ms
  502. 64 bytes from 10.191.44.11: icmp_seq=4 ttl=128 time=0.205 ms
  503. 64 bytes from 10.191.44.11: icmp_seq=5 ttl=128 time=0.198 ms
  504. 64 bytes from 10.191.44.11: icmp_seq=6 ttl=128 time=0.231 ms
  505. 64 bytes from 10.191.44.11: icmp_seq=7 ttl=128 time=0.186 ms
  506. 64 bytes from 10.191.44.11: icmp_seq=8 ttl=128 time=0.203 ms
  507. 64 bytes from 10.191.44.11: icmp_seq=9 ttl=128 time=0.192 ms
  508. 64 bytes from 10.191.44.11: icmp_seq=10 ttl=128 time=0.222 ms
  509.  
  510. --- 10.191.44.11 ping statistics ---
  511. 10 packets transmitted, 10 received, 0% packet loss, time 9004ms
  512. rtt min/avg/max/mdev = 0.166/0.340/1.595/0.419 ms
  513. Status: OK
  514.  
  515. @ Check Domain & Forest functional levels of Windows server (via LDAP)
  516. # record 1
  517. dn:
  518. domainFunctionality: 2
  519. forestFunctionality: 2
  520.  
  521. # returned 1 records
  522. # 1 entries
  523. # 0 referrals
  524. Status: OK
  525.  
  526. @ Synchronize time with Windows server
  527. 8 Nov 10:30:14 ntpdate[15118]: adjust time server 10.191.44.11 offset -0.447871 sec
  528. Status: OK
  529.  
  530. @ Test Kerberos connection to Windows server
  531. Password for Administrator@AUTOREPL1.TEST:
  532. Authenticated to Kerberos v5
  533. Status: OK
  534.  
  535. @ Vampire from Windows server
  536. Finding a writeable DC for domain 'autorepl1.test'
  537. Found DC win2003a.autorepl1.test
  538. workgroup is AUTOREPL01
  539. realm is autorepl1.test
  540. checking samaccountname
  541. Adding CN=DEBIAN1,OU=Domain Controllers,DC=autorepl1,DC=test
  542. Join failed - cleaning up
  543. checking samaccountname
  544. Traceback (most recent call last):
  545. File "bin/python/samba/netcmd/__init__.py", line 99, in _run
  546. return self.run(*args, **kwargs)
  547. File "bin/python/samba/netcmd/join.py", line 64, in run
  548. site=site, netbios_name=netbios_name)
  549. File "bin/python/samba/join.py", line 550, in join_DC
  550. ctx.do_join()
  551. File "bin/python/samba/join.py", line 483, in do_join
  552. ctx.join_add_objects()
  553. File "bin/python/samba/join.py", line 314, in join_add_objects
  554. ctx.samdb.add(rec)
  555. _ldb.LdbError: (16, 'LDAP error 16 LDAP_NO_SUCH_ATTRIBUTE - <00000057: LdapErr: DSID-0C090B38, comment: Error in attribute conversion operation, data 0, vece> <>')
  556. Status: FAILED
  557.  
  558. @ Start Samba4 daemon
  559. Status: OK
  560.  
  561. @ Force bi-directional replication and KCC
  562. COMMAND: /usr/local/samba/bin/samba-tool drs kcc DEBIAN1 -Uadministrator%postpath123@ 2>&1
  563. return code = -1
  564. Unable to connect to LDAP ldap://DEBIAN1/Status: FAILED
  565.  
  566. COMMAND: /usr/local/samba/bin/samba-tool drs kcc WIN2003a -Uadministrator%postpath123@ 2>&1
  567. Default-First-Site-Name
  568. Current Site Options: (none)
  569. Consistency check on WIN2003a successful.
  570. Status: OK
  571.  
  572. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  573. return code = -1
  574. Unable to connect to LDAP ldap://DEBIAN1/Status: FAILED
  575.  
  576. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  577. return code = -1
  578. Unable to connect to LDAP ldap://DEBIAN1/Status: FAILED
  579.  
  580. COMMAND: /usr/local/samba/bin/samba-tool drs replicate DEBIAN1 WIN2003a 'cn=schema,cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  581. return code = -1
  582. Unable to connect to LDAP ldap://DEBIAN1/Status: FAILED
  583.  
  584. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  585. ldb_search(base=CN=Sites,CN=Configuration,DC=autorepl1,DC=test, filter=(&(objectCategory=server)(|(name=DEBIAN1)(dNSHostName=DEBIAN1)))) returned 0 records, expected 1!
  586. DSA object for DEBIAN1 could not be found.
  587. Error: DSA object for DEBIAN1 could not be found.
  588. Replicate terminated with errors.
  589. return code = -1
  590. Status: FAILED
  591.  
  592. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  593. ldb_search(base=CN=Sites,CN=Configuration,DC=autorepl1,DC=test, filter=(&(objectCategory=server)(|(name=DEBIAN1)(dNSHostName=DEBIAN1)))) returned 0 records, expected 1!
  594. DSA object for DEBIAN1 could not be found.
  595. Error: DSA object for DEBIAN1 could not be found.
  596. Replicate terminated with errors.
  597. return code = -1
  598. Status: FAILED
  599.  
  600. COMMAND: /usr/local/samba/bin/samba-tool drs replicate WIN2003a DEBIAN1 'cn=schema,cn=configuration,dc=autorepl1,dc=test' -Uadministrator%postpath123@ 2>&1
  601. ldb_search(base=CN=Sites,CN=Configuration,DC=autorepl1,DC=test, filter=(&(objectCategory=server)(|(name=DEBIAN1)(dNSHostName=DEBIAN1)))) returned 0 records, expected 1!
  602. DSA object for DEBIAN1 could not be found.
  603. Error: DSA object for DEBIAN1 could not be found.
  604. Replicate terminated with errors.
  605. return code = -1
  606. Status: FAILED
  607.  
  608. @ LDAPCMP tests between original DC (Windows) and vampired DC (Samba4)
  609.  
  610. Failed to connect to ldap URL 'ldap://10.191.44.10:389' - LDAP client internal error: NT_STATUS_CONNECTION_REFUSED
  611. Failed to connect to 'ldap://10.191.44.10:389' with backend 'ldap'
  612. Traceback (most recent call last):
  613. File "./scripting/devel/ldapcmp", line 793, in <module>
  614. con2 = LDAPBase(opts.host2, opts, creds2, lp)
  615. File "./scripting/devel/ldapcmp", line 59, in __init__
  616. options=ldb_options)
  617. File "bin/python/samba/__init__.py", line 110, in __init__
  618. self.connect(url, flags, options)
  619. _ldb.LdbError: (1, None)
  620.  
  621. --- LDAPCMP done ---
  622.  
  623. === End 08-11-2010 09:30:03 ===
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement