[Samba] dbcheck - least one mandatory attribute ('fromServer') on entry wasn't specified

Danny Tipple danny at trials-forum.co.uk
Thu Jun 1 15:16:50 UTC 2017


Ive recently inherited an old samba installation which was originally migrated from a windows 2003 server.

It was running samba 4.2.13 so i upgraded to 4.6.4.  All is well and everything appears to be working correctly but get the following error error when running the db check tool:

Fix replPropertyMetaData on CN=f37883ec-90f7-4ac3-b478-00a266e31f83,CN=NTDS Settings,CN=COMPANY-SERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=CompanyName,DC=local by sorting the attribute list? [YES]
ERROR: Failed to fix attribute replPropertyMetaData : (65, "objectclass_attrs: at least one mandatory attribute ('fromServer') on entry 'CN=f37883ec-90f7-4ac3-b478-00a266e31f83,CN=NTDS Settings,CN=COMPANY-SERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=CompanyServer,DC=local' wasn't specified!")
 File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 365, in do_modify
   self.samdb.modify(m, controls=controls, validate=validate)

As far as i can tell the record refers to the old win2003 server.

How can i remove/fix this record?

Thanks




More information about the samba mailing list