Securing the SMB file server with a (static) password ? (without AD)

Yes it is possible if you are willing to do some out of “nethserver” configuration.

It’s so lang ago i can’t recall how how i’d managed it but is was discussed it this thread

NOTE It is a old reference : it can be inaccurate! Just to provide an possible direction for your demand.