Skip to content

Instantly share code, notes, and snippets.

@tertek
Created December 19, 2025 07:09
Show Gist options
  • Select an option

  • Save tertek/c62cd776fa8db8eff11e0f6a445dacce to your computer and use it in GitHub Desktop.

Select an option

Save tertek/c62cd776fa8db8eff11e0f6a445dacce to your computer and use it in GitHub Desktop.
Fix "DB version too old "

Fix "DB version too old (sssd)

When running commands such as usermod a warning message like the following will be shown:

[sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.22], expected [0.24] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing 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.
Could not open available domains
[sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.22], expected [0.24] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing 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.
Could not open available domains

The suggested fix is to remove cache files in /var/lib/sss/db:

rm -rf /var/lib/sss/db

This requires to restore the db directory and config file:

# create them manually
mkdir /var/lib/sss/db
touch /var/lib/sss/db/config.ldb

# or reinstall sssd-common
dnf reinstall sssd-common
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment