Peter Gerritsen
2014-Feb-05 15:48 UTC
[Samba] Failure to move object from one site to another
Hi There, We use samba4 for a while now and i've always been able to move a machine from the default-first-site-name to a newly created site but since the recent version (sadly i don't now exactly which) but for sure with 4.0.13, 4.1.3 and 4.1.4 that became impossible. Resulting in a crashing AD Sites and Services application and a crash in samba4 (need to restart samba4 to be able to open AD Sites and Services again). This is what i see with loglevel 10 at the moment of move. I have the same at multiple sites (different customers). I know it worked flawlesly with samba 4.0.6 and if i am correct also with 4.0.11 but i can't test that anymore. [2014/02/05 15:28:48.545824, 10, pid=4165, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: ldb_trace_response: ENTRY dn: namingContexts: DC=ontdekkingsreis,DC=andolan namingContexts: CN=Configuration,DC=ontdekkingsreis,DC=andolan namingContexts: CN=Schema,CN=Configuration,DC=ontdekkingsreis,DC=andolan namingContexts: DC=DomainDnsZones,DC=ontdekkingsreis,DC=andolan namingContexts: DC=ForestDnsZones,DC=ontdekkingsreis,DC=andolan [2014/02/05 15:28:48.545915, 10, pid=4165, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: ldb_trace_response: DONE error: 0 [2014/02/05 15:28:48.545976, 10, pid=4165, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: ldb_asprintf/set_errstring: subtree_rename: Cannot move CN=NTDS Settings,CN=AD,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ontdekkingsreis,DC=andolan to CN=NTDS Settings,CN=AD,CN=Servers,CN=Ontdekkingsreis,CN=Sites,CN=Configuration,DC=ontdekkingsreis,DC=andolan in config partition [2014/02/05 15:28:52.384792, 10, pid=4168, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: ldb_trace_request: SEARCH dn: DC=DomainDnsZones,DC=ontdekkingsreis,DC=andolan scope: base expr: (|(objectClass=*)(distinguishedName=*)) attr: repsTo control: <NONE> [2014/02/05 15:28:52.385136, 10, pid=4168, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: ldb_trace_request: (resolve_oids)->search Met vriendelijke groet, Peter Gerritsen Engineer AndoBurg BV Voorstraat 31 3931 HB Woudenberg T 033 479 40 80 F 033 479 40 89 E peter at andoburg.com<mailto:peter at andoburg.com> I www.andoburg.com<http://www.andoburg.com/> Als u niet de geadresseerde van dit bericht bent, verzoeken wij u ons hiervan op de hoogte te brengen en het bericht te verwijderen. AndoBurg BV aanvaardt geen aansprakelijkheid voor schade die voortvloeit uit elektronische verzending van informatie. Aan de inhoud van deze e-mail en eventuele bijlagen kunnen geen rechten worden ontleend, tenzij schriftelijk anders is overeengekomen.