[Samba] Erro sysvolcheck/sysvolreset

Carlos A. P. Cunha carlos.hollow at gmail.com
Fri Jun 16 14:57:22 UTC 2017


Hello!

    samba -b | grep STATEDIR
    STATEDIR: /opt/samba/var/locks

I commented at line

idmap_ldb:use rfc2307 = yes

in my smb.conf, error is diferent  now

samba-tool ntacl sysvolreset
open: error=2 (No such file or directory)
ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error')
   File 
"/opt/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 
176, in _run
     return self.run(*args, **kwargs)
   File "/opt/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py", 
line 239, in run
     lp, use_ntvfs=use_ntvfs)
   File 
"/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py", 
line 1609, in setsysvolacl
     set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, 
use_ntvfs, passdb=s4_passdb)
   File 
"/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py", 
line 1514, in set_gpos_acl
     passdb=passdb)
   File 
"/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py", 
line 1477, in set_dir_acl
     setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, 
skip_invalid_chown=True, passdb=passdb, service=service)
   File "/opt/samba/lib/python2.7/site-packages/samba/ntacls.py", line 
162, in setntacl
     smbd.set_nt_acl(file, security.SECINFO_OWNER | 
security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL, 
sd, service=service)


Em 16-06-2017 10:52, Rowland Penny via samba escreveu:
> On Fri, 16 Jun 2017 10:30:43 -0300
> "Carlos A. P. Cunha via samba" <samba at lists.samba.org> wrote:
>
>> Hello!
>>
>> Any idea ?
>>
> What does 'samba -b | grep STATEDIR' produce ?
>
> Rowland
>




More information about the samba mailing list