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

adrian.berlin adrian.berlin at o2.pl
Tue Nov 15 00:59:11 MST 2011


Many thanks for response.
Do you recommend any good tool to backup ACLs?

I have another question about how many ACLs can be stored in acl_xattr and
acl_tdb for one directory/file?

Cheers!
Adrian Berlin


Dnia 14 listopada 2011 20:17 Jeremy Allison <jra at samba.org> napisał(a):

> 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