Migrate from TDB file to native permissions

Matthieu Patou mat at samba.org
Sat Apr 28 11:28:30 MDT 2012

On 04/28/2012 05:25 AM, titantoppler at gmail.com wrote:
> Hi list,
> When deploying Samba 4 alpha 12, my filesystem (reiserfs) did not support
> extended attributes, and so I had to use the posix:eadb option instead.
> I have migrated those files to an ext4 system which supports user_xattr,
> and want to know how I can stop using the posix:eadb option in my smb.conf
> and use the native permissioning instead.
> Any help is much appreciated.
> Cheers!
Nothing has been done yet, but we are thinking of doing it.
Maybe you can do a simple script that dump the acl from the tdb (using 
samba-tool ntacl get --as-sddl), modify the smb.conf to comment the 
posix:eadb option and then put them back (but in the xattr) with samba-tool.

Extra points if you manage to do it inside samba-tool.


Matthieu Patou
Samba Team

More information about the samba-technical mailing list