[Samba] TDB databases on x86_64 and ppc64

Matthias Leopold matthias.leopold at meduniwien.ac.at
Tue Jan 14 13:21:34 UTC 2020

Am 13.01.20 um 19:39 schrieb Rowland penny via samba:
> On 13/01/2020 18:34, Jeremy Allison via samba wrote:
>> On Mon, Jan 13, 2020 at 01:19:18PM +0100, Matthias Leopold via samba 
>> wrote:
>>> Hi,
>>> just to be sure:
>>> can I use TDB databases that were created on ppc64 on a x86_64 platform?
>> Yes, the database internal structures are all endian-independent
>> and I believe all persistent database useage within Samba itself
>> is also endian-indepentent. Not the transient databases of course
>> but they get recreated on startup.
> My thoughts were, 'why' ?
> Why do you need to use .tdb files created on one architecture on another ?
> If we are talking about a Unix domain member, then they all get 
> recreated, except for the printing ones. It is the same on an AD DC.
> Rowland

It's a "security = user" server with LDAP backend (see previous posts) 
and Windows ACLs that shall migrate from ppc64 LPAR to x86_64 
virtualization. I thought especially about /var/lib/samba/share_info.tdb


More information about the samba mailing list