samba-tool ntacl sysvolreset open: error=24

Andrew Bartlett abartlet at samba.org
Thu Oct 25 17:09:58 MDT 2012


On Thu, 2012-10-25 at 12:51 -0700, David Rivera wrote:
> Hi,
> 
> When attempting to reset sysvol acls using samba-tool ntacl sysvolreset
> --use-s3fs I get the following error:
> 
> open: error=24 (Too many open files)
> ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error')
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py", line
> 214, in run
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1467, in setsysvolacl
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line
> 141, in setntacl
> 
> Is this tool working or should I apply ntacls & posix acls manually?

You clearly have a lot of files in sysvol.  I forgot to close the files
after I was working with them, so we leaked the fd, this patch is in
autobuild and should fix it.

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-pysmbd-Remember-to-close-files-after-setting-the-NT-.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121026/9a36a92f/attachment.bin>


More information about the samba-technical mailing list