[Samba] Samba 4.14 upgrade schema to 2012_R2 error
L.P.H. van Belle
belle at bazuin.nl
Thu Oct 7 08:54:18 UTC 2021
It should, but this is what i currently get.
logged in on DC0 (FMSO master)
samba-tool domain level show
Here i get :
Forest function level: (Windows) 2008 R2
Domain function level: (Windows) 2008 R2
Lowest function level of a DC: (Windows) 2008 R2
samba-tool domain functionalprep --function-level=2012_R2
no errors
samba-tool domain level raise
no errors
ldbsearch -H $(smbd -b|grep private|awk '{ print $NF }')/sam.ldb -b cn=Schema,cn=Configuration,dc="$(hostname -d | cut -d. -f1)",dc="$(hostname -d | cut -d. -f2)",dc="$(hostname -d | cut -d. -f3)" -s base objectVersion
i get 69 and Windows Server 2012R2=69
samba-tool domain level show
and i get
Forest function level: (Windows) 2008 R2
Domain function level: (Windows) 2008 R2
Lowest function level of a DC: (Windows) 2008 R2
logged in on DC1
samba-tool domain level raise
All changes applied successfully!
ldbsearch -H $(smbd -b|grep private|awk '{ print $NF }')/sam.ldb -b cn=Schema,cn=Configuration,dc="$(hostname -d | cut -d. -f1)",dc="$(hostname -d | cut -d. -f2)",dc="$(hostname -d | cut -d. -f3)" -s base objectVersion
gives : 69
logged in on DC2
samba-tool domain level raise
All changes applied successfully!
ldbsearch -H $(smbd -b|grep private|awk '{ print $NF }')/sam.ldb -b cn=Schema,cn=Configuration,dc="$(hostname -d | cut -d. -f1)",dc="$(hostname -d | cut -d. -f2)",dc="$(hostname -d | cut -d. -f3)" -s base objectVersion
gives : 69
So all 3 AD-DC's are now functionalpreped for function-level=2012_R2
Logged in again on DC0 (FSMO)
samba-tool domain level --forest-level=2012_R2 raise
ERROR: Forest function level can't be higher than the domain function level(s). Please raise it/them first!
samba-tool domain level --domain-level=2012_R2 raise
ERROR: Domain function level can't be higher than the lowest function level of a DC!
rebooted all servers.
checked again, same results.
Now i might be hitting an old bug since my AD exists since 4.1.x
Not sure on that, if i have the time today i'll have a look at this.
Or.. maybe Rowland knows ;-)
Greetz,
Louis
Van: Daniel Lopes de Carvalho [mailto:daniel at cepetro.unicamp.br]
Verzonden: woensdag 6 oktober 2021 18:41
Aan: L.P.H. van Belle
CC: samba at lists.samba.org
Onderwerp: Re: [Samba] Samba 4.14 upgrade schema to 2012_R2 error
But in this new version (4.14.8) will it be possible to upgrade the domain level to 2012_R2?
If so, is there any procedure or will just the execution of the already known commands be enough?
Thanks
On Wed, Oct 6, 2021 at 12:04 PM L.P.H. van Belle via samba <samba at lists.samba.org> wrote:
....
> >
> > Changelog ;-) that tell's what you miss. ;-)
> >
> > And no, what im saying is to test before you roll out a new
> > major release to "any" production server. I only got to testing
> > on a test server atm, because im having back problems,
> > an old injury is bugging me because of that so im less behind pc.
> >
> > What i showed is the general path i follow,
> > i use it for years now and i concider that safe, but im not you,
> > My network is different, so setup a way that fits your environment.
> >
> > Im eager to goto 4.15 also because it has things i need, just..
> > The bigger the changes compaired to previous version, the better
> > you should test. Thats all i can say.
> >
>
>
> I read through the change log for 4.15.0 and aside from the
> VFS updates,
> which are likely entirely opaque unless one looks at the source code,
> the main thing that popped out was this:
>
> "server multi channel support" is enabled by default.
>
> Whenever possible I always set up 802.3ad bonding on network
> ports, but
> I'm still trying to wrap my brain around how this can work without
> cooperation from the network stack. It looks like you have to assign
> different IP addresses to 2 or more NICs on the same network,
> but then
> why doesn't the routing software overrule which interface the SMB3
> packets use? Color me confused.
>
Same here, but this one might help us.. ;-)
https://docs.microsoft.com/en-us/archive/blogs/josebda/the-basics-of-smb-multichannel-a-feature-of-windows-server-2012-and-smb-3-0
And
https://blog.chaospixel.com/linux/2016/09/samba-enable-smb-multichannel-support-on-linux.html
But.. 17:00 here.. I'm off, i want my couch..
Greetz,
Louis
--
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
+55 19 3521-1221
More information about the samba
mailing list