[Samba] samba-tool dbcheck failing

Harsh Kukreja h.kukreja at ium.edu.na
Fri Jan 26 11:48:29 UTC 2018


Hi

I am running samba-tool dbcheck --cross-ncs --fix --yes command on my DC
running 4.7.4 to remove the Deleted and Stale records which is failing

Target GUID points at deleted DN
'<GUID=3484ea7a-da88-4269-9b32-55a9c7faabf6>;CN=NTDS
Settings\\0ADEL:3484ea7a-da88-4269-9b32-55a9c7faabf6,CN=IUMDCCB\\0ADEL:d46c2342-4129-40b0-b649-b489be9ebad4,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=mydomain,DC=edu,DC=na'
Remove DN link? [YES]
Failed to remove deleted DN attribute lastKnownParent : (65,
"objectclass_attrs: at least one mandatory attribute ('fromServer') on
entry
'CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na'
wasn't specified!")
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x0009030e
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x0009030d
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00090177
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00090133
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00090028
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00090024
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00090001
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00020119
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x000200a9
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00020002
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00020001
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00000003
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na:
0x00000000
ERROR: unsorted attributeID values in replPropertyMetaData on
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na

Fix replPropertyMetaData on
CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na
by sorting the attribute list? [YES]
Failed to fix attribute replPropertyMetaData : (65, "objectclass_attrs: at
least one mandatory attribute ('fromServer') on entry
'CN=5e962046-c645-4154-9a77-c7e31325c32e,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na'
wasn't specified!")
WARNING: no target object found for GUID component for DN value fromServer
in object CN=79fbbaa2-a6b5-4dfd-a7f4-26aaa568f74e,CN=NTDS
Settings\0ADEL:fbd5524d-78fb-4313-a62a-96dc802dd9e2,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na
- <GUID=934fe54f-926a-4358-9b84-528789e74fa2>;CN=NTDS
Settings,CN=IUMDPDC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=mydomain,DC=edu,DC=na
WARNING: target DN is deleted for fromServer in object
CN=79fbbaa2-a6b5-4dfd-a7f4-26aaa568f74e,CN=NTDS
Settings\0ADEL:fbd5524d-78fb-4313-a62a-96dc802dd9e2,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na
- <GUID=934fe54f-926a-4358-9b84-528789e74fa2>;CN=NTDS
Settings,CN=IUMDPDC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=mydomain,DC=edu,DC=na
Target GUID points at deleted DN
'<GUID=934fe54f-926a-4358-9b84-528789e74fa2>;CN=NTDS
Settings,CN=IUMDPDC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=mydomain,DC=edu,DC=na'
Remove stale DN link? [YES]
Failed to remove deleted DN attribute fromServer : (65, "objectclass_attrs:
at least one mandatory attribute ('fromServer') on entry
'CN=79fbbaa2-a6b5-4dfd-a7f4-26aaa568f74e,CN=NTDS
Settings\\0ADEL:fbd5524d-78fb-4313-a62a-96dc802dd9e2,CN=LostAndFoundConfig,CN=Configuration,DC=mydomain,DC=edu,DC=na'
wasn't specified!")
Checked 5924 objects (16 errors)

Can anyone give suggestions on how to remove and fix these errors.

*Harsh Kukreja *Systems Administrator
*International University of Namibia *Tel: 061-4336000 - E-mail: h.kukreja
@ium.edu.na - Web:
*http://www.ium.edu.na <http://www.ium.edu.na/>*Private Bag
14005,Bachbrech. 21-31 Hercules Street, Dorado Park, Windhoek, NAMIBIA


More information about the samba mailing list