Unable to customise Samba in macOS Big Sur I'm trying to customise the parameters of /usr/sbin/smbd in Big Sur. Most posts advise to tweak  /etc/nsmb.conf. However it seems that modifying /etc/nsmb.conf has no effect for me.
I even tried introducing a syntax error in /etc/nsmb.conf. Stopping smbd with
launchctl unload -w /System/Library/LaunchDaemons/com.apple.smbd.plist and checking that no smbd is alive. Finally restarting smbd with launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist. But /usr/sbin/smbd doesn't pick up any syntax error and runs normally.
I tried looking for other *smb* files in /etc and /Library and found none. Could it be that Apple doesn't allow modifying the parameters of smbd in Big Sur? Or perhaps should I look at other files?
Thanks for any suggestions!
See the comments above from @nohillside and @Marc Wilson. Samba cannot be configured in OSX as you would do in Linux. Thanks @nohillside and @Marc Wilson.