Skip to content

tests/smbserver.py: fix compatibility with impacket 0.9.23+#7935

Closed
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:fix-smbserver
Closed

tests/smbserver.py: fix compatibility with impacket 0.9.23+#7935
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:fix-smbserver

Conversation

@mback2k
Copy link
Member

@mback2k mback2k commented Nov 1, 2021

impacket now performs sanity checks if the requested and to
be served file path actually is inside the real share path.

Ref: fortra/impacket#1066

Fixes #7924

@mback2k mback2k added the tests label Nov 1, 2021
@mback2k mback2k requested a review from bagder November 1, 2021 11:09
@mback2k mback2k self-assigned this Nov 1, 2021
impacket now performs sanity checks if the requested and to
be served file path actually is inside the real share path.

Ref: fortra/impacket#1066

Fixes curl#7924
@mback2k
Copy link
Member Author

mback2k commented Nov 1, 2021

Yay, this fixes the two FreeBSD CI builds. If all the other CIs do not show new errors with test 1451 this can be merged.

Copy link
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know python but if this fixes the problem and works elsewhere then I'm 👍

@mback2k
Copy link
Member Author

mback2k commented Nov 1, 2021

Completely green, merging!

@mback2k mback2k closed this in d52316e Nov 1, 2021
mback2k added a commit to mback2k/curl that referenced this pull request Mar 5, 2022
This makes it possible to use the Python-based test servers
again in legacy environments which do not have modern Python.

Install Python package impacket in relevant CI workflows.

Follow up to curl#7602 which broke Python 2 support
Follow up to curl#7935 which fixed impacket support
mback2k added a commit to mback2k/curl that referenced this pull request Mar 6, 2022
Install Python package impacket in relevant CI workflows.

Follow up to curl#7935
Supersedes curl#7940
Closes curl#8544
mback2k added a commit to mback2k/curl that referenced this pull request Mar 6, 2022
Install Python package impacket in relevant CI workflows.

Follow up to curl#7935
Supersedes curl#7940
Closes curl#8544
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Test 1451 currently failing on FreeBSD

2 participants