Samba-4.0-rc2 samba-tool ntacl sysvolreset

Andrew Bartlett abartlet at samba.org
Sat Oct 6 18:12:32 MDT 2012


On Sat, 2012-10-06 at 17:51 +0200, Gémes Géza wrote:
> Hi,
> 
> My saga with RC2 continues :-)
> 
> I have successfully joined a new RC2 install to my old beta6-GIT-4631723 
> domain (from classicupgrade)
> The rc2 works fine this time. Except one minor (or not so) problem:
> I've copied (the tar-ed version) of the sysvol folder from the old 
> install (deliberately chose to drop acls at the origin)
> then I ran samba-tool ntacl sysvolreset on the RC2 install, which gave:
> 
> set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER.
> ERROR(runtime): uncaught exception - (-1073741734, 
> 'NT_STATUS_INVALID_OWNER')

Can you please try this patch?

This is my current proposal to work around this situation - we just
don't change the posix owner of the file in this case.

(I might evolve this patch to have it manually chown the files to root,
but it won't go via this failing codepath)

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-samba-tool-skip-chown-in-sysvolreset-when-it-would-f.patch
Type: text/x-patch
Size: 6474 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121007/103117f6/attachment.bin>


More information about the samba-technical mailing list