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

2011-11-14 Thread adrian . berlin
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 --

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

2011-11-14 Thread Jeremy Allison
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 t

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

2011-11-14 Thread adrian . berlin
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 napisaƂ(a): > On Mon, Nov 14, 2011 at 02:12:35P

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

2011-11-15 Thread David Roid
I suppose this number is subject to both file system and Samba vfs object, whichever comes first to its limit. -David 2011/11/15 adrian.berlin > 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

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

2011-11-15 Thread Jonathan Buzzard
Jeremy Allison wrote: 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 usin

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

2011-11-15 Thread adrian . berlin
Hi! Many thanks for help. Regarding to how many ACLs can be stored in acl_tdb and acl_xattr, I can save on XFS only 22 entries plus CREATOR GROUP, CREATOR OWNER and EVERYONE. Seems it is about 25 entries for one directory/file. Is it correct or I missed something? Cheers! /Adrian Berlin Dnia

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

2011-11-16 Thread Gary Greene
On 11/15/11 11:36 PM, "adrian.berlin" wrote: > Hi! Many thanks for help. Regarding to how many ACLs can be stored in acl_tdb > and acl_xattr, I can save on XFS only 22 entries plus CREATOR GROUP, CREATOR > OWNER and EVERYONE. Seems it is about 25 entries for one directory/file. Is it > correct or

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

2011-11-16 Thread Jonathan Buzzard
Gary Greene wrote: [SNIP] > Actually, that is true IIRC for all Linux ACL enabled file-systems > (they all use the same VFS code for ACL and EA manipulation.) That would be incorrect. The one that I am intimately familiar with IBM's GPFS uses it's own special VFS layer. Given that GPFS holds