[Samba] Samba4 sysvolcheck issue

Olivier BILHAUT o.bilhaut at fondation-misericorde.fr
Wed Oct 10 02:31:45 MDT 2012


Hi!

Since samba4 rc1 (we update it since beta1) the "./samba-tool ntacl 
sysvolcheck" command returns the following :

ERROR(<type 'exceptions.TypeError'>): uncaught exception - (61, 'No data 
available')
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", 
line 168, in _run
     return self.run(*args, **kwargs)
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py", 
line 247, in run
     lp)
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", 
line 1570, in checksysvolacl
     check_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, 
direct_db_access)
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", 
line 1523, in check_gpos_acl
     domainsid, direct_db_access)
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", 
line 1478, in check_dir_acl
     fsacl = getntacl(lp, os.path.join(root, name), 
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)


Everything looks good in with the rc1 sysvol directory, but updating to 
rc2 give us issue with applying gpo to clients :

The windows users (xp/7) have a windows error 1058 when the login and 
there is no gpo applyed. It complains about a "PERMISSION DENIED" on 
[%sysvol%]/fhm.local/Policies/%7B31B2F340-016D-11D2-945F-00C04FB984F9%7D/GPT.INI 
file
  and then apply no GPO.

After updating our source with git and then compiling them again, we 
successfully did with no errors :

  * ./samba-tool dbcheck --cross-ncs --fix
  * ./samba-tool ntacl sysvolreset


We don't really understand how to check and correct sysvol issues.

Any advice is welcome.

Cheers.

-- 
-----------------------
***	OB
***	Service Informatique
***	Fondation de la Miséricorde



More information about the samba mailing list