Bug 10437 - Samba-tool PANICS
Summary: Samba-tool PANICS
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.1.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 15:31 UTC by James B. Byrne
Modified: 2017-01-03 00:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James B. Byrne 2014-02-11 15:31:34 UTC
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.
Comment 1 Andrew Bartlett 2017-01-03 00:58:32 UTC
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.