-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi,
I am implementing samba support in a python 3.5.10 software.
I'm using version 1.0.15.6 (the one available on debian stretch, see https://packages.debian.org/stretch/python3-smbc). I also tried directly with 1.0.23.
I have an issue when trying to list "." (current directory).
>>> context.opendir("smb://user:password@host:139/share/.")
smbc errno NT_STATUS_OBJECT_NAME_INVALID -> 22
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: (22, 'Invalid argument')
However, when I just remove the ".", I can use opendir(url).getdents() and I do get the two specific resources "." and ".." (as well as all other resources).
Is this normal?
Thanks
Metadata
Metadata
Assignees
Labels
No labels