<div dir="ltr">Hello.<div><br></div><div>Steve, you were absolutely right, thank you for saving my day!</div><div><br></div><div>BR,</div><div>-Risto</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-28 10:29 GMT+03:00 Steve Langasek <span dir="ltr"><<a href="mailto:vorlon@debian.org" target="_blank">vorlon@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tags -1 moreinfo unreproducible<br>
<span class=""><br>
On Tue, Apr 28, 2015 at 08:44:30AM +0300, Risto Paavola wrote:<br>
> I've installed samba package with aptitude. I'm trying to execute any<br>
> samba-tool command (i.e.  samba-tool domain provision --realm=[long_dom]<br>
> --domain=[short_dom] --adminpass='[pass]' --server-role=dc --use-rfc2307)<br>
> and it gives me an error:<br>
<br>
> Traceback (most recent call last):<br>
>   File "/usr/bin/samba-tool", line 33, in <module><br>
>     from samba.netcmd.main import cmd_sambatool<br>
>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in <module><br>
>     from samba._ldb import Ldb as _Ldb<br>
> ImportError: /usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF header<br>
<br>
> The same goes to all sambta-tool parameteres, so samba-tool is unusable.<br>
<br>
</span>This library looks fine to me.  It looks like you probably have a corrupted<br>
file on disk.  Please install the debsums package, run 'debsums -s<br>
samba-libs', and verify whether a checksum error is reported for this file.<br>
<br>
If the file is corrupt, you can correct it by reinstalling the package<br>
('apt-get install --reinstall samba-libs').<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Steve Langasek                   Give me a lever long enough and a Free OS<br>
Debian Developer                   to set it on, and I can move the world.<br>
Ubuntu Developer                                    <a href="http://www.debian.org/" target="_blank">http://www.debian.org/</a><br>
<a href="mailto:slangasek@ubuntu.com">slangasek@ubuntu.com</a>                                     <a href="mailto:vorlon@debian.org">vorlon@debian.org</a><br>
</font></span></blockquote></div><br></div>