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

Parse both NT_STATUS_OBJECT_NAME_NOT_FOUND and NT_STATUS_OBJECT_PATH_NOT_FOUND response from smbclient as non-existing directory #53

Merged
merged 2 commits into from
Jan 24, 2022

Conversation

np422
Copy link
Contributor

@np422 np422 commented Jan 24, 2022

When trying to cd to a non existing directory, the version of smbclient I use responds with NT_STATUS_OBJECT_PATH_NOT_FOUND , the client#cd method tries to find the string NT_STATUS_OBJECT_NAME_NOT_FOUND , with this pull requests both strings are interpreted as a non existing directory.

…NOT_FOUND and NT_STATUS_OBJECT_PATH_NOT_FOUND as non existing directory
@johnae
Copy link
Owner

johnae commented Jan 24, 2022

LGTM.

@johnae johnae merged commit 37e17d1 into johnae:master Jan 24, 2022
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