[Samba] Upgrading Samba

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Sat Feb 9 03:14:57 UTC 2019


On 8/02/19 11:04 PM, Rowland Penny via samba wrote:
>>>
>>> Not entirely sure, but I think the answer is likely to be 'No'
>>> I think the problem is the GUID Index mode introduced at 4.8.0, Your
>>> 4.7.x DC's will not have this, but the 4.9.x DC's will probably
>>> expect this. Only way to find out, try it ;-)
>>
>> Actually, yes it generally does work. The replication protocols don't
>> care about internal database details like indexes.
>>
>> You can do this in-place if you stop a DC, upgrade Samba, then rejoin
>> the other DC.
>>
>> cheers,
>> Douglas
> 
> Hi Douglas, I can assure you that it does not work if you upgrade
> directly from 4.7.x to 4.9.x, you get dns errors.
> 

Yes, when I said "rejoin", I meant do a join rather than an in-place
database upgrade. Samba 4.9 won't see the old database, so can't get
confused by it.

You might want to move the 4.7 database files somewhere else before
doing this, but I don't believe it is actually necessary -- they will
get overwritten anyway.

Douglas





More information about the samba mailing list