How to join to AD and home mapping in keycloak?

I am completely amateur in working with Keycloak. I would greatly appreciate it if you could guide me through this process step by step.

I have a Linux client on which I have installed Keycloak. In Windows Server and Active Directory, I created a folder named homeusers and from now on, every user I create in Windows will have their default home as homeusers/username. For example, if I have a user named alpha, his/her home directory would be homeusers/alpha.

Then I joined to Windows Active Directory in Keycloak’s user federation section and synced the users. Now I have a list of all users in the users section of Keycloak.

Now I need to make sure that the home directories of these users are created in the /home folder of my Linux server and are mounted in such a way that any changes made on the server are also reflected here. For example, if a new user named beta is created on Windows, a user named beta should be created on Linux and their home directory should be mounted here as well (/home/beta).

Currently, I have done this using sssd, kerberos, and pam_mout, but now I need to do the same thing using Keycloak.

I would greatly appreciate any guidance and help