Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeError: smbclient._io.SMBDirectoryIO() got multiple values for keyword argument 'share_access' #311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewsiemer
Copy link

Switched 'share_access' to default kwarg in scandir() to avoid multiple values error.

There is probably a reason for this error but wanting to start a thread because this solution unblocks me currently from using share_access with high-level functions.

@jborean93
Copy link
Owner

Is there a reason why you are setting a custom share_access on the scandir method? The default is rwd which is all the share access so anything else is either the same or more limited in what it can open. Are you finding that there are problems with it being too open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants