i86_64 CentOS-6.5 (RHEL6) Samba-4.1.4-7 from SerNet I am trying to get a Samba4 service to replace and existing Win2K AD DC. I have promoted the Samba4 server to a DC. When I run "samba-tool dbcheck --cross-ncs --reset-well-known-acls --fix" I see this: Checking 2605 objects ERROR: missing GUID component for wellKnownObjects in object CN=Configuration,DC=brockley,DC=harte-lyne,DC=ca - B:32:AB8153B7768811D1ADED00C04FD8D5CD:CN=LostAndFound,CN=Configuration,DC=brockley,DC=harte-lyne,DC=ca unable to find object for DN CN=LostAndFound,CN=Configuration,DC=brockley,DC=harte-lyne,DC=ca - (No such Base DN: CN=LostAndFound,CN=Configuration,DC=brockley,DC=harte-lyne,DC=ca) Not removing dangling forward link ERROR: orphaned backlink attribute 'memberOf' in CN=Moodie\, Robert,CN=Users,DC=brockley,DC=harte-lyne,DC=ca for link member in CN=Domain Users,CN=Users,DC=brockley,DC=harte-lyne,DC=ca Remove orphaned backlink member [y/N/all/none] all PANIC: assert failed at ../source4/dsdb/samdb/ldb_modules/linked_attributes.c(544): (schema_attr->linkID & 1) == 0 PANIC: assert failed: (schema_attr->linkID & 1) == 0 Aborted When I examine the Win2K DC using MMC/ADSI_Edit the CN=LostAndFound is empty.
I think this is fixed with Samba 4.5.2 with b37023877b50031ad20153947c40c5e3c2d31837 from master commit 04eb95a46b069f0238dbd232528fd1fadb745066 (and preceding commits). We have done a fair bit of work trying to get the dbcheck link checker correct, and have added tests for things like this. Please re-open if you can still make this happen.