Re: [Samba] Samba4 sysvolcheck issue

2012-10-16 Thread Olivier BILHAUT

Hi.

Maybe my previous request was ignored for some reasons.

Does anybody know how to definitely resolve sysvol acl issues ? It 
prevent us from upgrading to rc2.


The command ./samba-tool ntacl sysvolcheck returns

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)


and the command ./samba-tool ntacl sysvolreset returns nothing.

We use samba rc1 from git on a ubuntu 12.04. Upgrade to rc2 cause sysvol 
acl issues.


Many thanks.

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



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


[Samba] Samba4 sysvolcheck issue

2012-10-10 Thread Olivier BILHAUT

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

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