-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/07/2010 12:52 AM, David O'Brien wrote:
Simo Sorce wrote:
> Now the upgrade process can cope with converting ols ssd.ldb files into
> multiple databases even if the new config file does not include a
> "local" provider anymore.
>
> Tested with a v1 db file and seem to work fine with and w/o a LOCAL
> provider defined in the configuration.
>
> Simo.
Hi Simo,
Can you provide a bit more info about what's happening here? I guess the
"old sssd.ldb files" are the ones used or produced by version 1 of the
sssd.conf file? Why are multiple databases now produced?
I have both IPA and LOCAL domains configured and enabled, and the
following ldb files:
# ll /var/lib/sss/db/
total 656
-rw-------. 1 root root 217088 2010-01-12 03:15 cache_IPA.ldb
-rw-r--r--. 1 root root 135168 2010-01-11 04:12 config.ldb
-rw-------. 1 root root 319488 2009-11-27 02:31 sssd.ldb
thanks a lot
The reason for multiple DB files are so that each SSSD domain can have
its own cache. The sssd.ldb is the local user cache (for an
id_provider=local domain), other domains have cache_DOMAINNAME.ldb. One
advantage of this is that it is very easy to purge the cache for a
single domain, simply by deleting the corresponding cache_*.ldb file
(while the SSSD is stopped, of course)
We've actually been supporting multiple database files since SSSD 0.6.0,
if I remember correctly. So it's unlikely that there exists a deployment
that actually cares about this specific fix.
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAktF1uEACgkQeiVVYja6o6NM6ACfenbgKgDh9RWNMB8VcQxCL9Wc
5ysAmwRKSkj+nbWwMgUT1odR542DMYtV
=koEH
-----END PGP SIGNATURE-----