Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] Samba4 sysvolcheck issue

113 views
Skip to first unread message

Olivier BILHAUT

unread,
Oct 10, 2012, 4:40:01 AM10/10/12
to
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

Olivier BILHAUT

unread,
Oct 16, 2012, 6:10:02 AM10/16/12
to
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
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.
0 new messages