Skip to content

Option to set the destination IP of an SMB server #305

@ellasev

Description

@ellasev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions