Bug 12031 - samba-tool ntacl sysvolcheck "argument 1 must be string, not None"
Summary: samba-tool ntacl sysvolcheck "argument 1 must be string, not None"
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.3.9
Hardware: All Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2016-07-21 08:45 UTC by David
Modified: 2016-07-21 08:46 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David 2016-07-21 08:45:49 UTC
This is what I get when I run sysvolcheck: 

root@dc01:/var/lib/samba/sysvol/ad.esp-daniel.org/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/USER/Documents & Settings# samba-tool ntacl sysvolcheck
ERROR(<type 'exceptions.TypeError'>): uncaught exception - argument 1 must be string, not None
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/ntacl.py", line 249, in run
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1724, 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 73, in getntacl

This happens even after running sysvolreset (which seems to work fine).