[Samba] Samba 4.14 upgrade schema to 2012_R2 error

Rowland Penny rpenny at samba.org
Tue Oct 5 18:17:43 UTC 2021

On Tue, 2021-10-05 at 15:05 -0300, Daniel Lopes de Carvalho via samba
> Hello Guys,
> I'm trying to update Samba 4.14 schema from 2008_R2 to 2012_R2.
> I have tried the command: samba-tool domain schemaupgrade and I
> received the following error:
> ERROR: Failed to upgrade schema. Check if 'patch' is installed"

Try installing the 'patch' package

> Then I have tried another command: samba-tool domain functionalprep
> --function-level=2012_R2 and the following error occur:
> Exception: (16, 'objectclass msDS-ClamTypes is not a valid
> objectClass in
> schema')
> Exception: (16, 'objectclass msTPM-InformationObjectContainer is not
> a
> valid objectClass in schema')
> ERROR: Failed to perform functional prep.

Has someone already altered the schema ? I do not recognise either of
those objectclasses.


More information about the samba mailing list