PAM authentification issues

After some years using Manjaro at home, I decided to install it also in the computer that I use for work. We have a shared-home system that is mounted using NFS/NIS. In my machine I have a local home directory, but I still mount the shared one in /home.network/myuser in order to be able to access some source code.

I have changed my user ID to match the one in the shared system, so I don’t have file ownership issues. I have run “chown” on my home directory in order to update the user ID.

The Manjaro installation went fine but when we set up mounting the shared system and loading the shared users via NIS, I cannot any longer login into my machine on a physical TTY / display manager. The only way of login in is via SSH.

Now looking at systemctrl --failed:
UNIT LOAD ACTIVE SUB DESCRIPTION
● mdmonitor.service loaded failed failed MD array monitor
● user@0.service loaded failed failed User Manager for UID 0
● user@2183.service loaded failed failed User Manager for UID 2183
● user@965.service loaded failed failed User Manager for UID 965

And checking the one corresponding to my new ID:
● user@2183.service - User Manager for UID 2183
Loaded: loaded (/usr/lib/systemd/system/user@.service; static)
Active: failed (Result: exit-code) since Mon 2021-05-10 14:26:33 CEST; 20min ago
Docs: man:user@.service(5)
Main PID: 2521 (code=exited, status=224/PAM)

maj 10 14:26:33 as-4413 systemd[1]: Starting User Manager for UID 2183…
maj 10 14:26:33 as-4413 systemd[2521]: pam_warn(systemd-user:account): function=[pam_sm_acct_mgmt] flags=0x8000 service=[sys>
maj 10 14:26:33 as-4413 systemd[2521]: PAM failed: Authentication failure
maj 10 14:26:33 as-4413 systemd[2521]: user@2183.service: Failed to set up PAM session: Operation not permitted
maj 10 14:26:33 as-4413 systemd[2521]: user@2183.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation no>
maj 10 14:26:33 as-4413 systemd[1]: user@2183.service: Main process exited, code=exited, status=224/PAM
maj 10 14:26:33 as-4413 systemd[1]: user@2183.service: Failed with result ‘exit-code’.
maj 10 14:26:33 as-4413 systemd[1]: Failed to start User Manager for UID 2183.

It seems that PAM is not properly authenticating my user. Any tips on how to solve this?