[PATCH] Re: [Samba] SYSVOL ACLs and GPOs

Andrew Bartlett abartlet at samba.org
Fri Oct 26 16:24:53 MDT 2012


On Fri, 2012-10-26 at 15:04 -0200, Luiz Gustavo dos S. Costa wrote:
> more errors with sysvol:
> 
> samba4# bin/samba-tool ntacl sysvolcheck -d3
> lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
> params.c:pm_process() - Processing configuration file
> "/usr/local/samba/etc/smb.conf"
> lp_load_ex: refreshing parameters
> Initialising global parameters
> rlimit_max: increasing rlimit_max (11095) to minimum Windows limit (16384)
> params.c:pm_process() - Processing configuration file
> "/usr/local/samba/etc/smb.conf"
> Processing section "[global]"
> Processing section "[netlogon]"
> Processing section "[sysvol]"
> Processing section "[engenharia]"
> Processing section "[pessoal]"
> Processing section "[financeiro]"
> Processing section "[comercial]"
> Processing section "[producao]"
> Processing section "[eletrica]"
> Processing section "[aparas]"
> Processing section "[contabilidade]"
> Processing section "[qualidade]"
> ldb_wrap open of idmap.ldb
> ERROR(<type 'exceptions.TypeError'>): uncaught exception - (34,
> 'Result too large')
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py",
> line 245, in run
>     lp)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1565, in checksysvolacl
>     fsacl = getntacl(lp, dir_path, direct_db_access=direct_db_access)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py",
> line 73, in getntacl
>     xattr.XATTR_NTACL_NAME)

Try this patch.  We need to cope with system xattr interfaces where we
need to guess the size of the xattr.

Thanks,

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-pyxattr_native-Cope-with-systems-that-can-not-return.patch
Type: text/x-patch
Size: 2368 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121027/98f96a64/attachment.bin>


More information about the samba-technical mailing list