[Samba] Attempting to expunge tombstones with samba-tool

Rowland Penny rpenny at samba.org
Thu Oct 27 07:59:07 UTC 2016

On Thu, 27 Oct 2016 11:46:53 +1300
Garming Sam <garming at catalyst.net.nz> wrote:

> This is almost certainly because of a build artifact.
> python/samba/netcmd/time.py was renamed to nettime.py but there is
> likely to be a time.pyc file floating around in your directories.
> The reason it was renamed was so that the samba tool time command
> wasn't confused with the python time module, but this necessarily
> causes issues with existing installs unfortunately. The fix is mostly
> simple, just to remove any conflicting files but until then, it will
> trigger issues like these.
> Cheers,
> Garming

If that is the case, why is there a line at the top of 'domain.py' like

import time

surely, from what you are saying, it should be:

import samba.netcmd.nettime as time

Not that it would work, the only thing in nettime.py is a class called


More information about the samba mailing list