Your message dated Tue, 28 Apr 2015 12:10:22 +0200
with message-id <[email protected]>
and subject line Re: Bug#783581: samba-tool ImportError libnetif.so.0 invalid 
ELF header
has caused the Debian Bug report #783581,
regarding samba-tool ImportError libnetif.so.0 invalid ELF header
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
783581: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783581
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: samba
Version: 2:4.1.17+dfsg-2
Severity: important

Dear Maintainer,

I've installed samba package with aptitude. I'm trying to execute any 
samba-tool command (i.e. samba-tool domain provision --realm=[long_dom] 
--domain=[short_dom] --adminpass='[pass]' --server-role=dc --use-rfc2307) and 
it gives me an error:
Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 33, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in 
<module>
    from samba._ldb import Ldb as _Ldb
ImportError: /usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF header

The same goes to all sambta-tool parameteres, so samba-tool is unusable.

BR,
-Risto Paavola

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages samba depends on:
ii  adduser                              3.113+nmu3
ii  dpkg                                 1.17.25
ii  libasn1-8-heimdal                    1.6~rc2+dfsg-9
ii  libbsd0                              0.7.0-2
ii  libc6                                2.19-18
ii  libcomerr2                           1.42.12-1.1
ii  libhdb9-heimdal [heimdal-hdb-api-8]  1.6~rc2+dfsg-9
ii  libkdc2-heimdal                      1.6~rc2+dfsg-9
ii  libkrb5-26-heimdal                   1.6~rc2+dfsg-9
ii  libldb1                              2:1.1.17-2
ii  libpam-modules                       1.1.8-3.1
ii  libpam-runtime                       1.1.8-3.1
ii  libpopt0                             1.16-10
ii  libpython2.7                         2.7.9-2
ii  libroken18-heimdal                   1.6~rc2+dfsg-9
ii  libtalloc2                           2.1.1-2
ii  libtdb1                              1.3.1-1
ii  libtevent0                           0.9.21-1
ii  lsb-base                             4.1+Debian13+nmu1
ii  multiarch-support                    2.19-18
ii  procps                               2:3.3.9-9
ii  python                               2.7.9-1
ii  python-dnspython                     1.12.0-1
ii  python-ntdb                          1.0-5
ii  python-samba                         2:4.1.17+dfsg-2
pn  python2.7:any                        <none>
ii  samba-common                         2:4.1.17+dfsg-2
ii  samba-common-bin                     2:4.1.17+dfsg-2
ii  samba-dsdb-modules                   2:4.1.17+dfsg-2
ii  samba-libs                           2:4.1.17+dfsg-2
ii  tdb-tools                            1.3.1-1
ii  update-inetd                         4.43

Versions of packages samba recommends:
ii  attr               1:2.4.47-2
ii  logrotate          3.8.7-1+b1
ii  samba-vfs-modules  2:4.1.17+dfsg-2

Versions of packages samba suggests:
pn  bind9          <none>
pn  bind9utils     <none>
pn  ctdb           <none>
ii  ldb-tools      2:1.1.17-2
ii  ntp            1:4.2.6.p5+dfsg-7
ii  smbldap-tools  0.9.9-1
ii  winbind        2:4.1.17+dfsg-2

-- no debconf information

--- End Message ---
--- Begin Message ---
On Tue, Apr 28, 2015 at 01:06:19PM +0300, Risto Paavola wrote:
> Hello.

> Steve, you were absolutely right, thank you for saving my day!

Thanks for confirming.  Closing this report.

> 2015-04-28 10:29 GMT+03:00 Steve Langasek <[email protected]>:
> 
> > Control: tags -1 moreinfo unreproducible
> >
> > On Tue, Apr 28, 2015 at 08:44:30AM +0300, Risto Paavola wrote:
> > > I've installed samba package with aptitude. I'm trying to execute any
> > > samba-tool command (i.e.  samba-tool domain provision --realm=[long_dom]
> > > --domain=[short_dom] --adminpass='[pass]' --server-role=dc --use-rfc2307)
> > > and it gives me an error:
> >
> > > Traceback (most recent call last):
> > >   File "/usr/bin/samba-tool", line 33, in <module>
> > >     from samba.netcmd.main import cmd_sambatool
> > >   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in
> > <module>
> > >     from samba._ldb import Ldb as _Ldb
> > > ImportError: /usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF
> > header
> >
> > > The same goes to all sambta-tool parameteres, so samba-tool is unusable.
> >
> > This library looks fine to me.  It looks like you probably have a corrupted
> > file on disk.  Please install the debsums package, run 'debsums -s
> > samba-libs', and verify whether a checksum error is reported for this file.
> >
> > If the file is corrupt, you can correct it by reinstalling the package
> > ('apt-get install --reinstall samba-libs').
> >
> > --
> > Steve Langasek                   Give me a lever long enough and a Free OS
> > Debian Developer                   to set it on, and I can move the world.
> > Ubuntu Developer                                    http://www.debian.org/
> > [email protected]                                     [email protected]
> >

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to