Re: Heimdal 7.1 and the sqlite backend

2016-12-28 Thread Harald Barth
>> For good measure I'll be running tests in a tree built with ./configure >> --with-db-preference=sqlite, which should have the effect of using a >> SQLite3 HDB in tests/kdc/check-kadmin. > > I had to modify tests/kdc/krb5.conf.in to make real sure it used the > sqlite backend, but other than th

Re: Heimdal 7.1 and the sqlite backend

2016-12-28 Thread Harald Barth
> So, in /etc/krb5.conf you should have this: > > [hdb] > db-dir = /var/heimdal > > (or wherever you put your HDB) Sure, and then it gets more and more confusing. I now start the kdc and the kadmin with -c /etc/krb5.conf and have a symlink in /var/heimdal/kdc.conf pointing to /etc/krb5.conf

Re: Heimdal 7.1 no success with database backend (sqlite and others)

2016-12-28 Thread Harald Barth
Well, not even when I unconfigure sqlite support it does not pass make check. Error message: "kadmin: No database support for /var/heimdal/heimdal" So I suspect that with # ./configure --with-libintl --with-libintl-include=/usr/local/include --with-libintl-lib=/usr/local/lib --prefix=/usr/hei

KDC tests fail when unrelated ticket with time skew is at the default location

2016-12-28 Thread Harald Barth
If there is an unrelated ticket with time skew at the default location # klist -v Credentials cache: FILE:/tmp/krb5cc_0 Principal: h...@stacken.kth.se Cache version: 4 KDC time offset: -23 minutes 22 seconds Server: krbtgt/stacken.kth...@stacken.kth.se Client: h...@stacken.kth.se T

Re: KDC tests fail when unrelated ticket with time skew is at the default location

2016-12-28 Thread Ken Dreyer
On Wed, Dec 28, 2016 at 12:48 PM, Harald Barth wrote: > the following tests fail for that reason (shouldn't the tests be > independent of such stuff like unrelated old tickets?) It would be nice to use EXAMPLE.ORG realms or something that will never resolve to a real realm. > Now I "only" have t