how many instances of "a" are there in:
q: linux smb share - how to give access to windows local system account? i have a smb share on a linux host. to grant remote access to the share for a windows user, one must create a new smb user which has the same username, and same password as the windows account.
i.e. to give access to windows user winhost\calvin i would run smbpasswd -a calvin, and use the same password that winhost\calvin uses. then i would update smb.conf to something like
[myshare]
path = /home/lincoln/myshare
valid users = lincoln, calvin
read only = no

once this is in place, calvin can now see the share from windows via unc path \\<ip addr>\myshare
this works fine for named user accounts, but i can't figure out how to grant access to a windows "local system" account, i.e. a machine account.
i have tried creating smb users with names like winhost and winhost$ with a blank password (local system accounts don't have passwords), but this doesn't seem to work.
when i try to access the share using the system account (via dir \\<ip addr>\myshare) i get the error "the specified server cannot perform the requested operation".
what are the details of the smb account and config that can make this happen?
i do not want to make the share public - this seems to be the only workaround i can find so far.

a: when not using a domain, the localsystem account can access network resources only with anonymous credential. in other words, it will not present named credential to the remote samba server.

user
The total number of "a"s in that passage is one hundred and five.
assistant