adrian.berlin
2011-Nov-14 13:12 UTC
[Samba] VFS objects - how to migrate/move file_ntacls.tdb
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. Can anyone help? Cheers! Adrian Berlin
Jeremy Allison
2011-Nov-14 19:17 UTC
[Samba] VFS objects - how to migrate/move file_ntacls.tdb
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.