-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Option to set the destination IP of an SMB server #305
Comments
There is no analogue here, this library will use the server specified in the UNC path so in this case you would do |
Ive seen in multiple places so far I'm accessible to different shares when accessing |
Do you have an example of the SMB server you are using and how it is configured. I've never seen a server change it's behaviour based on the path requested to it. Technically SMB has added a dialect extension in the first negotiate request called SMB2_NETNAME_NEGOTIATE_CONTEXT_ID since 2019-ish but no SMB implementation that I know off use that in any way and is mostly just a marker for network inspection tools. If If I am wrong and you have an example where the value in |
Hey :)
Im trying to switch from using the linux smbclient binary to the smbprotocol repo in one of my projects.
Since I'm using a locally running tunnel, I set the
--ip-address
flag to localhost. setting the server to localhost doesn't work since this field also affects what shares we will be able to access.Example:
smbclient -U <user name> -c "dir" //shareServer/shareName --password <password> -W <domain name> -I 127.0.0.1 -p 1234
I've noticed there isn't a similar option in this repo.
The text was updated successfully, but these errors were encountered: