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

feat(sltt-app): detect when samba drive needs user to login to the router again #44

Open
ericpyle opened this issue Nov 21, 2024 · 1 comment

Comments

@ericpyle
Copy link
Collaborator

ericpyle commented Nov 21, 2024

When an admin first accesses the samba drive, I believe it requires user to enter a name and an empty password. After that \\192.168.8.1\sltt-app seems accessible for a while, but at some point or under some circumstances the user is required to fill the same network prompt.

  1. 1 circumstance is after a reboot

how can we automate this?

ericpyle added a commit that referenced this issue Dec 3, 2024
What issue(s) is this trying to resolve?
* feat(sltt-app): detect when samba drive needs user to login to the
router again #44

How does it all work?
* in handleProbeConnections, determine if the url has an ipaddress and
if so, issue an OS command (e.g. net use on windows) to authorize the
connection once.

Steps for testing
Scenario 1 - newer windows computer
1. connect newer windows (11) computer to network storage samba drive
(e.g. via wifi)
2. reboot computer
3. launch latest sltt-app (with these changes). Expect it to detect the
local team storage and show an icon that allows an admin to connect
and/or turn it on for the project.

Scenario 2 - older windows computer
1. repeat on older Windows 10

Scenario 3: repeat for newer macos computer
Scenario 4: repeat for older macos computer

ticket: #44
commit-convention: https://www.conventionalcommits.org/en/v1.0.0/
@ericpyle
Copy link
Collaborator Author

I have incorporated code for this on windows. We'd need to do something similar for mac though

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