Bug 12031 - samba-tool ntacl sysvolcheck "argument 1 must be string, not None"
samba-tool ntacl sysvolcheck "argument 1 must be string, not None"
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.3.9
All Linux
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-21 08:45 UTC by David
Modified: 2016-07-21 08:46 UTC (History)
1 user (show)

See Also:


Attachments

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
    lp)
  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
    xattr.XATTR_NTACL_NAME)

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