I am not sure what to say, but maybe use something that already has done the work for you? I set up Open Media Vault 20 years ago and it has SMB shares built in. Ran it for 15 years with little to no intervention on my part.
Also, highly recommend keeping documents of how you set things up, including a link, if not a copy of the guide and the how and why you did what you did when making your own server. We do it on enterprise systems, I do it on home systems (if building from scratch).
I am not sure what to say, but maybe use something that already has done the work for you? I set up Open Media Vault 20 years ago and it has SMB shares built in. Ran it for 15 years with little to no intervention on my part.
Also, highly recommend keeping documents of how you set things up, including a link, if not a copy of the guide and the how and why you did what you did when making your own server. We do it on enterprise systems, I do it on home systems (if building from scratch).