Connecting TrueNAS with Directory Services using MS AD or FreeIPA

New to TrueNAS and was trying to connect TrueNAS to one of the directory services. Just wondering are there any good options?

Goal: I want a user from an Directory Service to access its home folder via SMB using the username and password in the Directory Service.

Problem: I was initially thinking to use FreeIPA to do this but I read that LDAP is no longer supported in SMB authentication, thus requiring FreeIPA to install ad-trust for it to behave like an AD (this solution is from AI and I have not verified if it works or not).

Question: Does anyone had success using integrating FreeIPA through the “Active Directory” way in TrueNAS? I have seen other people doing this and it seems a very painful journey to do so, thus would you recommend hosting an actual Active Directory that runs on Windows Server?

The reason I was researching FreeIPA instead of directly going to Windows AD is that running a windows server for this case seems a bit much for me (but yes, it can be done).

Any feedback are welcomed! Thanks in advance.