Web lists-archives.com

Re: [Samba] samba-tool ntacl sysvolcheck ERROR




On Thu, 14 Dec 2017 10:10:25 -0500
"Lic. Liusmer Martínez Q via samba" <samba@xxxxxxxxxxxxxxx> wrote:

> 
> 
> [root@srv-cds ~]# samba-tool ntacl sysvolcheck
> 
> Attempting to register passdb backend smbpasswd
> Successfully added passdb backend 'smbpasswd'
> Attempting to register passdb backend tdbsam
> Successfully added passdb backend 'tdbsam'
> Attempting to register passdb backend samba_dsdb
> Successfully added passdb backend 'samba_dsdb'
> Attempting to register passdb backend samba4
> Successfully added passdb backend 'samba4'
> Attempting to register passdb backend ldapsam
> Successfully added passdb backend 'ldapsam'
> Attempting to register passdb backend NDS_ldapsam
> Successfully added passdb backend 'NDS_ldapsam'
> Attempting to find a passdb backend to match 
> samba_dsdb:tdb:///usr/local/samba/private/sam.ldb (samba_dsdb)
> Found pdb backend samba_dsdb
> pdb backend samba_dsdb:tdb:///usr/local/samba/private/sam.ldb has a 
> valid init
> ERROR(<type 'exceptions.TypeError'>): uncaught exception - (61, 'No
> data available')
>    File 
> "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", 
> line 176, in _run
>      return self.run(*args, **kwargs)
>    File 
> "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ntacl.py", 
> line 270, in run
>      lp)
>    File 
> "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py", 
> line 1714, in checksysvolacl
>      fsacl = getntacl(lp, dir_path,
> direct_db_access=direct_db_access, service=SYSVOL_SERVICE)
>    File 
> "/usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py",
> line 81, in getntacl
>      xattr.XATTR_NTACL_NAME)
> 
> 

What OS ?
What version of Samba ?
How did you provision AD ?
What is in smb.conf ?

Rowland


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba