Date: Tue, 20 Nov 2012 17:46:57 +0100
From: okos(a)redhat.com
To: sssd-devel(a)lists.fedorahosted.org
CC: olivares73(a)hotmail.com
Subject: Re: [SSSD] Wrong DB version (got 0.13 expected 0.10)
On 11/20/2012 04:08 PM, Ariel Barria wrote:
> thanks.
>
> well, this is a installation from scratch.
> 1. Install fedora in virtual machine.
> 2. update fedora
> 3. git clone
git://fedorahosted.org/git/sssd.git
> 4. create aliases
> alias configure='../configure ........
> 5. I follow the steps the Build.txt with mkdir -p parallelbuilddir && cd
> parallelbuilddir && configure && make
> 6. [root@dev1 parallelbuilddir]# ./sssd -d9 -i
> 7. result in sssd.txt
>
> had tried deleting the contents of /var/lib/sss/db and showed the same
> message.
>
>
> > Date: Tue, 20 Nov 2012 08:45:38 +0100
> > From: okos(a)redhat.com
> > To: sssd-devel(a)lists.fedorahosted.org
> > Subject: Re: [SSSD] Wrong DB version (got 0.13 expected 0.10)
> >
> > On 11/19/2012 10:26 PM, Ariel Barria wrote:
> > >
> > > Hi.
> > > for orientation please.
> > > I do this ./sssd -d9 -i
> > > and output is this
> > > *Wrong DB version (got 0.13 expected 0.10)*
> > > What should I upgrade?
> > > thanks
> > >
> > >
> > > _______________________________________________
> > > sssd-devel mailing list
> > > sssd-devel(a)lists.fedorahosted.org
> > >
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
> > >
> > Have you recently downgraded SSSD?
> > You have database from version 1.9.1 or higher and apparently using sssd
> > 1.9.0.beta1. You can either upgrade sssd to 1.9.1 or higher, or delete
> > cached files in DB_PATH (default: /var/lib/sss/db/), but if you remove
> > those, you'll loose all of your cached credentials.
> >
> > Ondra
> >
> > p.s.: this message would probably be more suitable for sssd-users list
> > --
> > Ondrej Kos
> > Associate Software Engineer
> > Identity Management
> > Red Hat Czech
> >
> > phone: +420-532-294-558
> > cell: +420-736-417-909
> > ext: 82-62558
> > loc: 1013 Brno 1 office
> > irc: okos @ #brno
> > _______________________________________________
> > sssd-devel mailing list
> > sssd-devel(a)lists.fedorahosted.org
> >
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
>
>
> _______________________________________________
> sssd-devel mailing list
> sssd-devel(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
>
Hi Ariel,
I tried to reproduce this, but it works like a charm. My guess still is
that you're somehow mismatching sssd versions, because:
*sssd-1.8.5-2* (F17 repo) uses DB version *0.10*
*sssd-1.9.3* (git master) uses DB version *0.13*
so it seems, that you've created DB with compiled upstream sssd and are
trying to read it with older version.
could you post what does the following say?
sssd --version
./sssd --version #from parallelbuilddir
ldbsearch -H /var/lib/sss/db/cache_example.com.ldb -b cn=sysdb
"version=*"
Thanks
Ondra
--
Ondrej Kos
Associate Software Engineer
Identity Management
Red Hat Czech
phone: +420-532-294-558
cell: +420-736-417-909
ext: 82-62558
loc: 1013 Brno 1 office
irc: okos @ #brno