Ok sorry about that, forget moving the image. As you said, writing directly from the Pi camera to the share on HA is the objective. I think I have made some progress - but still hung up. After looking at this page, I ran:
/usr/bin/smbclient -L HASSIO9
This prompts me for the “WORKGROUP\pi’s” password, so I entered the password I set in the Samba server (the HA add-on config) and it for whatever reason, it says “Anonymous login successful” and lists the directories on my HA instance (whose name is HASSIO9)
pi@DB3A:~ $ /usr/bin/smbclient -L HASSIO9
Unable to initialize messaging context
Enter WORKGROUP\pi's password:
Anonymous login successful
Sharename Type Comment
--------- ---- -------
config Disk
addons Disk
ssl Disk
share Disk
backup Disk
IPC$ IPC IPC Service (Samba Home Assistant)
Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Failed to connect with SMB1 -- no workgroup available
Success, right? Not quite, yet. The guidance from the above link says “Get the password for the ‘guest’ account or for your personal account on that machine.” In my case, I assume “personal account on that machine” means the Samba server password (which is also the pwd I use to log into HA, and the Pi…I know, bad practice…) This is my Samba add-on config within HA:
workgroup: WORKGROUP
username: myusername
password: mypwd
interface: ''
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- 'fe80::/10'
veto_files:
- ._*
- .DS_Store
- Thumbs.db
- icon?
- .Trashes
compatibility_mode: false
Since I can actually see the folder I thought it was working. So per the link above, I tried this:
pi@DB3A:~ $ /usr/bin/smbclient \\\\HASSIO9\\share
Unable to initialize messaging context
Enter WORKGROUP\pi's password:
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED
So, progress has been made - but not sure what these errors are, or what password it is expecting. Getting closer, thanks for sticking with me!