Skip to content

properly plumb through SMB username and password#418

Merged
deitch merged 1 commit intomasterfrom
smb-user-pass
Mar 23, 2025
Merged

properly plumb through SMB username and password#418
deitch merged 1 commit intomasterfrom
smb-user-pass

Conversation

@deitch
Copy link
Copy Markdown
Collaborator

@deitch deitch commented Mar 23, 2025

Fixes #414

The smb username, password and domain, for an SMB target, can be provided in one of two ways:

  • using configuration information CLI flags/env vars/config file
  • inline in the URL, e.g. --target smb://DOMAIN;user:pass@host/share

The second one works fine, but the first does not properly plumb the credentials through. This fixes it.

It also supports SMB_USER and SMB_PASS and SMB_DOMAIN, where before it added DB_ to those, which conflicts with the documentation.

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch merged commit c1549a3 into master Mar 23, 2025
2 checks passed
@deitch deitch deleted the smb-user-pass branch March 23, 2025 12:13
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.

"Unable to initialize messaging context!"

1 participant