[Samba] Failures after update Samba 4.6.2

Rowland Penny rpenny at samba.org
Sat Apr 8 19:35:23 UTC 2017


On Sun, 09 Apr 2017 07:23:27 +1200
Andrew Bartlett <abartlet at samba.org> wrote:

> On Sat, 2017-04-08 at 16:13 +0000, Ricardo Pardim Claus via samba
> wrote:
> > 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.

Thanks for confirm what I already told the OP ;-)

> 
> 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!

I thought this was fixed, but if it isn't, I suggest we stop finding
them again until we can fix them. We are just worrying people.
  
> 
> My guess is that you have removed or re-built SVR13 in the past?  Is
> that the case?

I thought that as well.

Rowland





More information about the samba mailing list