Skip to content

smbclient.py cannot connect to shares containing spaces #1922

@securitytime

Description

@securitytime

What the title says. To reproduce:

./smbserver.py -username test -password test "MY SHARE" /home

./smbclient.py test:[email protected]
Neither of the following commands work:
use "MY SHARE"
use MY\ SHARE
Both commands fail with STATUS_OBJECT_PATH_NOT_FOUND

smbclient works fine on the other hand:
smbclient //127.0.0.1/"MY SHARE" -U test%test

(impacket 0.12.0)

Metadata

Metadata

Labels

in reviewThis issue or pull request is being analyzed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions