[Samba] VFS objects - how to migrate/move file_ntacls.tdb

Jeremy Allison jra at samba.org
Mon Nov 14 12:17:39 MST 2011


On Mon, Nov 14, 2011 at 02:12:35PM +0100, adrian.berlin wrote:
> Hi!
> Does anyone know how to move/migrate ACLs from file_ntacls.tdb to another machine?
> I tried manually copy file_ntacls.tdb and restart samba but it doesn't work.
> Also I tried to dump and restore tdb file using tdbdump and tdbrestore without success.

That's not going to work as the ACL data is indexed by dev/ino pairs
in the tdb, and on the new machine they will be different.

You'll need to use a backup tool that copies the ACLs as you
copy the data.

Jeremy.


More information about the samba mailing list