Daniel Lopes de Carvalho
2021-Oct-05 18:34 UTC
[Samba] Samba 4.14 upgrade schema to 2012_R2 error
Hi Rowland, Sorry for my ignorance, but what do you mean with the 'patch' package? I'm running Samba 4.14 from Van Belle repo (deb http://apt.van-belle.nl/debian buster-samba414 main contrib non-free) in a Debian 10.10 box and I can't find any package with this name. Thanks On Tue, Oct 5, 2021 at 3:18 PM Rowland Penny via samba < samba at lists.samba.org> wrote:> On Tue, 2021-10-05 at 15:05 -0300, Daniel Lopes de Carvalho via samba > wrote: > > 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. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Daniel Lopes de Carvalho daniel at cepetro.unicamp.br unisim.cepetro.unicamp.br <https://www.unisim.cepetro.unicamp.br/> +55 19 3521-1221
On Tue, 2021-10-05 at 15:34 -0300, Daniel Lopes de Carvalho wrote:> Hi Rowland, > > Sorry for my ignorance, but what do you mean with the 'patch' > package?Run 'apt install patch' as root or with sudo Rowland