Skip to content

SMB tests on Debian? #5104

Closed
Closed

Description

@bagder

I did this

apt install python3-impacket

cd tests && ./runtests.pl 1451

Python package impacket needs to be installed!
Use pip or your package manager to install it.
RUN: failed to start the SMB server

(I could run them fine before 4be2560)

I expected the following

To be able to run test 1451

curl/libcurl version

Current git master

operating system

Debian Linux, unstable. Updated just now.

cc: @mback2k

Activity

  1. bagder commented on Mar 15, 2020

    @bagder
    MemberAuthor

    Also, I think the tests/README should be updated with the impacket info.

  2. mback2k commented on Mar 15, 2020

    @mback2k
    Member

    (Y)our Python is still at version 2, so you need to install python-impacket instead of python3-impacket.

    I will do a follow-up PR for tests/README and additional CI installs.

  3. self-assigned this
    on Mar 15, 2020
  4. bagder commented on Mar 15, 2020

    @bagder
    MemberAuthor

    There is no python-impacket anymore, only python3-impacket.

  5. mback2k commented on Mar 15, 2020

    @mback2k
    Member

    Then you will have to a wait a little until I have ported our smbserver.py to Python 3. ;-)

  6. bagder commented on Mar 15, 2020

    @bagder
    MemberAuthor

    (strictly speaking, I think it is a regression even if you're on track of fixing it...)

  7. mback2k commented on Mar 15, 2020

    @mback2k
    Member

    I don't think so, as smbserver.py was never Python 3 compatible and you could also just install the Python 2 version of impacket via pip2 install impacket.

    Edit: I updated the labels to better reflect the situation being a mix of regression and enhancement.

  8. bagder commented on Mar 15, 2020

    @bagder
    MemberAuthor

    you could also just install the Python 2 version of impacket via pip2 install impacket

    That was not conveyed until now...

  9. mback2k commented on Mar 15, 2020

    @mback2k
    Member

    That was not conveyed until now...

    Sorry for that, I should have explained that earlier.

  10. mback2k commented on Mar 15, 2020

    @mback2k
    Member

    New issue for impacket due to missing dependency in their setup.py: fortra/impacket#798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions