Daniel Hedblom
2013-Jan-18  09:11 UTC
[Samba] Problem joining Samba 4 to an older Samba 4 alpha 17
Hi there,
Im trying to join a samba 4.0.1 server to an older samba 4 alpha 17 server.
Whatever i do the join is interrupted but i dont know what goes wrong. Dns
is double checked and correct as is most other stuff. How can i get a
better view of what is happening than this? Can it be the source domain
that contains erroneous objects?
My goal is to move the old server to a new one, maybe there are a better
way of doing this? Suggestions?
Error joining to domain:
Schema-DN[CN=Schema,CN=Configuration,DC=sesam,DC=lan] objects[402/1550]
linked_values[0/0]
 Schema-DN[CN=Schema,CN=Configuration,DC=sesam,DC=lan] objects[804/1550]
linked_values[0/0]
 Schema-DN[CN=Schema,CN=Configuration,DC=sesam,DC=lan] objects[1206/1550]
linked_values[0/0]
 Schema-DN[CN=Schema,CN=Configuration,DC=sesam,DC=lan] objects[1550/1550]
linked_values[0/0]
 Analyze and apply schema objects
 Partition[CN=Configuration,DC=sesam,DC=lan] objects[402/1674]
linked_values[0/0]
 Partition[CN=Configuration,DC=sesam,DC=lan] objects[804/1674]
linked_values[0/0]
 Partition[CN=Configuration,DC=sesam,DC=lan] objects[1206/1674]
linked_values[0/0]
 Partition[CN=Configuration,DC=sesam,DC=lan] objects[1608/1674]
linked_values[0/0]
 Partition[CN=Configuration,DC=sesam,DC=lan] objects[1674/1674]
linked_values[94/0]
 Partition[DC=sesam,DC=lan] objects[100/100] linked_values[79/0]
 Partition[DC=sesam,DC=lan] objects[502/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[904/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[1306/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[1708/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[2110/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[2512/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[2914/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[3316/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[3718/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[4120/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[4522/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[4924/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[5326/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[5728/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[6130/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[6532/6594] linked_values[0/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[1338/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[1500/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[1500/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[1500/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[1500/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[1500/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[1500/0]
 Partition[DC=sesam,DC=lan] objects[6694/6594] linked_values[811/0]
 ERROR(runtime): uncaught exception - (-1073741807,
'NT_STATUS_END_OF_FILE')
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
line
175, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py",
line
552, in run
     machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1104,
in
join_DC
     ctx.do_join()
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1014,
in
do_join
     ctx.join_finalise()
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 812, in
join_finalise
     ctx.send_DsReplicaUpdateRefs(nc)
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 797, in
send_DsReplicaUpdateRefs
     ctx.drsuapi.DsReplicaUpdateRefs(ctx.drsuapi_handle, 1, r)
//danileh
-- 
With best regards,
Daniel Hedblom
Sysadmin
Phone: +46 (0) 620-68 22 02
Mobile: + 46 (0) 70 383 72 44
Andrew Bartlett
2013-Jan-18  12:36 UTC
[Samba] Problem joining Samba 4 to an older Samba 4 alpha 17
On Fri, 2013-01-18 at 10:11 +0100, Daniel Hedblom wrote:> Hi there, > > Im trying to join a samba 4.0.1 server to an older samba 4 alpha 17 server. > Whatever i do the join is interrupted but i dont know what goes wrong. Dns > is double checked and correct as is most other stuff. How can i get a > better view of what is happening than this? Can it be the source domain > that contains erroneous objects? > > My goal is to move the old server to a new one, maybe there are a better > way of doing this? Suggestions?Honestly, upgrading in place is the best way to do this. Backup the old DC, upgrade in place, and start the 4.0.1 release. The role transfer stuff isn't as reliable as we would like, whereas in-place is. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org