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

how to supply password to smb backend? #41

Open
hutch3232 opened this issue Aug 20, 2024 · 0 comments
Open

how to supply password to smb backend? #41

hutch3232 opened this issue Aug 20, 2024 · 0 comments

Comments

@hutch3232
Copy link

I'm trying to use rclone.create_remote with the remote_type "smb".

Per the docs: https://rclone.org/smb/

--smb-pass
SMB password.

NB Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).

Properties:

Config: pass
Env Var: RCLONE_SMB_PASS
Type: string
Required: false

The command line argument to supply the password is pass. Since that is a reserved keyword in python, I can't supply pass as a kwarg to rclone.create_remote. Any ideas for how to accomplish this?

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

No branches or pull requests

1 participant