Univention Bugzilla – Full Text Bug Listing |
Summary: | New check `samba_tool_sysvolcheck.py` | ||
---|---|---|---|
Product: | UCS | Reporter: | Lukas Oyen <oyen> |
Component: | UMC - System diagnostic | Assignee: | Lukas Oyen <oyen> |
Status: | CLOSED FIXED | QA Contact: | Arvid Requate <requate> |
Severity: | enhancement | ||
Priority: | P5 | CC: | best, requate |
Version: | UCS 4.2 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.2-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=44305 | ||
What kind of report is it?: | Feature Request | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | 38217, 44305 | ||
Bug Blocks: | 47579, 47583 | ||
Attachments: | nt-diagnostic-sysvolcheck-421.patch |
Description
Lukas Oyen
2017-06-27 17:53:42 CEST
Committed in r81640 - r81641 (advisory r81649). Not sure if it's an error in "samba-tool ntacl sysvolcheck" or in this script. I get a traceback: `samba-tool ntacl sysvolcheck` meldet ein Problem mit den SYSVOL ACL Einträgen. STDOUT: ERROR(): uncaught exception - (61, 'No data available') File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/ntacl.py", line 270, in run lp) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1732, in checksysvolacl fsacl = getntacl(lp, dir_path, direct_db_access=direct_db_access, service=SYSVOL_SERVICE) File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 81, in getntacl xattr.XATTR_NTACL_NAME) (In reply to Florian Best from comment #2) > Not sure if it's an error in "samba-tool ntacl sysvolcheck" or in this > script. I get a traceback: This is a problem with samba-tool. Could you provide some more details about your environment? Maybe we can add some explanation in certain cases? You can have a look in my VM: 10.200.27.130 (In reply to Florian Best from comment #4) > You can have a look in my VM: 10.200.27.130 See bug #44305. Ok, works Re-opening as a sign that we first should fix Bug #44305 before releasing this to the public. Also I just thought that a "Fix it" button would be useful, which runs "samba-tool ntacl sysvolreset". We should check Bug #38217 for that first. Implemented the `fix` in 45a3f09, YAML 2fface. Works, awesome! |