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

Could not parse result of smbclient command #16

Closed
JensTimmerman opened this issue Jun 2, 2021 · 3 comments
Closed

Could not parse result of smbclient command #16

JensTimmerman opened this issue Jun 2, 2021 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@JensTimmerman
Copy link

when running against a ricoh printer I get:

[V] Attempting to map share //192.168.35.20/IPC$, running command: smbclient -t 5 -W KM-NETPRINTERS -U % '//192.168.35.20/IPC$' -c dir -s /tmp/tmpf1n8l_bn
[-] Could not parse result of smbclient command, please open a GitHub issue

running smbclient command mannually gives:

smbclient -t 5 -W KM-NETPRINTERS -U % '//192.168.35.20/IPC$' -c dir -s /tmp/tmp                                                                           Wed 02 Jun 2021 11:46:10 AM CEST
NT_STATUS_NOT_A_DIRECTORY listing \*
@cddmp
Copy link
Owner

cddmp commented Jun 3, 2021

Thanks a lot for reporting this! This NT_STATUS error is new to me, but it makes sense, since the IPC$ share is not a file share. I wonder which version of samba (or anything different?) the printer is running. Could you do me a favor and run enum4linux again against the printer with the version in the dev branch? Checking out of the dev version works like that:

git checkout dev

cddmp added a commit that referenced this issue Jun 16, 2021
@cddmp
Copy link
Owner

cddmp commented Jun 16, 2021

Will close this for now since it is fixed in the dev branch which will be merged later. I still would be interested, what kind of SMB implementation the printer is using. Let me know, if you can help me with that. :)

@cddmp cddmp closed this as completed Jun 16, 2021
@cddmp cddmp self-assigned this Jun 16, 2021
@cddmp cddmp added the bug Something isn't working label Jun 16, 2021
@JensTimmerman
Copy link
Author

I'm sorry, but I no longer have access to the device, this happened during a limited time assessment.

@cddmp cddmp added the enhancement New feature or request label Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants