[Samba] samba4 gpo update problem

barış tombul bbtombul at gmail.com
Sun Apr 5 13:49:18 MDT 2015


command2: # samba-tool ntacl sysvolreset
open: error=2 (No such file or directory)
ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error')
  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ntacl.py",
line 218, in run
    lp, use_ntvfs=use_ntvfs)
  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1616, in setsysvolacl
    set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
use_ntvfs, passdb=s4_passdb)
  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1509, in set_gpos_acl
    use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_SERVICE)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py",
line 154, in setntacl
    smbd.set_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP |
security.SECINFO_DACL | security.SECINFO_SACL, sd, service=service)
[root at samba2 etc]#


2015-04-05 22:48 GMT+03:00 barış tombul <bbtombul at gmail.com>:

> The path for sysvol on my smb.conf file was incorrect. Why, I do not
> know.
>
>
> command1:
>
> #samba-tool ntacl sysvolcheck
>
>
> ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No such file or directory')
>   File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ntacl.py", line 249, in run
>     lp)
>   File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1730, in checksysvolacl
>     direct_db_access)
>   File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1666, in check_gpos_acl
>     direct_db_access=direct_db_access, service=SYSVOL_SERVICE)
>   File "/usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py", line 73, in getntacl
>     xattr.XATTR_NTACL_NAME)
>
>
> command2:
>
>


More information about the samba mailing list