[Samba] Failures after update Samba 4.6.2

Andrew Bartlett abartlet at samba.org
Sat Apr 8 19:23:27 UTC 2017

On Sat, 2017-04-08 at 16:13 +0000, Ricardo Pardim Claus via samba
> Dear Rowland
> When I execute the command, I get the following error:
> # samba-tool domain tombstones expunge
> ERROR(<type 'exceptions.AttributeError'>): uncaught exception -
> 'module' object has no attribute 'time'
>   File "/usr/local/samba/lib64/python2.7/site-
> packages/samba/netcmd/__init__.py", line 176, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/local/samba/lib64/python2.7/site-
> packages/samba/netcmd/domain.py", line 3790, in run
>     current_time = long(time.time())

In this case you have an old time.pyc or time.py file in your install. 
Clean our the old binaries and python files from your install and re-
run make install.

It won't help however, as the links you show are both not deleted and
point to an object that doesn't exist.  We now find these (we didn't in
4.4) but we don't propose a solution, as it isn't clear (enough) what
to do with them!  

My guess is that you have removed or re-built SVR13 in the past?  Is
that the case?


Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list