I got this error sss_cache when trying to add a new user to one of my clients Linux (RedHat 8.10) box.

I have never encounter this issue before at any Linux distro I have touched. After brewing a good cup of Caturra coffee variety from my friend’s coffee farm in Chiriqui, Panama I found the reason.
According to my research this error is because the SSSD version was upgraded, but your the SSSD cache database is still formatted for the older version [0.23] instead of the expected [0.24] for some reason. I really don’t know how or who updated the SSSD version.
SSSD (System Security Services Daemon) is a Linux system service that manages user authentication, authorization, and identity lookup. It acts as a smart bridge between your local Linux computer and external directory services.
Fixing sss_cache sysdb_domain_cache_connect: DB version too old
Even after getting this error, I noticed the user was still created. Very strange! Anyways, here is the fix for this error:
Run the following commands as root or with sudo:
# Stop the SSSD service
systemctl stop sssd
# Remove the outdated cache files
rm -rf /var/lib/sss/db/*
# Restart the SSSD service
systemctl start sssdRemoving cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.
Give it a try and then try to add a user again.

