A few years ago, due to security concerns, Microsoft disabled by default the ability to connect as a guest to SMB shares.
In my organization, I have a few shares which I want to be available for access from any computer that connects to the network. We do not have a domain. Everyone brings their own device and connects to the network, then can access services by IP and so on. We have this network share of public stuff, mostly installation kits, which I want every computer to be able to connect to, without editing the configuration of the client to allow insecure guest logins.
Basically, what I think I want but don't know how to do is to have Samba map any user that connects to a specific user on the server (I think it can be done with a user map file), and then additionally, which I haven't found out how to do, have it accept any password as valid (we have PCs with the same user account names and different passwords).
Can this be done? Or is it totally unsupported, no one ever thought of this? It can be a hacky solution, it just needs to work.
In the end, what I want to achieve is to take any PC, connect to the network share, whatever username+password combo gets to Samba, it gets accepted and some user that I choose is used on the client side to do operations on the server, browse etc. This basically equates to emulating what guest access previously allowed doing, without having to go though the hassle of changing that group policy setting on every PC that wants to connect and without exposing them to risk when they roam to another location/network.
Thanks