smb fails to start on centos7 radius server

I also encountered this issue too of Samba SMB daemon unable to start with the error of create_local_token failed: NT_STATUS_NO_MEMORY.

After a fail amount of frustration I discovered this post suggesting the new iteration of samba Domain member setups require winbindd: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899269#40

A bit more digging found this article https://timothygruber.com/linux/samba-file-server-with-microsoft-ad/ and finally I had success with this one - https://www.tecmint.com/integrate-centos-7-to-samba4-active-directory/.

Now I can successfully start smb/samba service as a domain member with security=ads and login with AD credentials and open the home directories through windows explorer.

Good luck...