[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heimdal KDC hangs looking up principal (0.1m through 0.2g at least)

In message <5lu2jwyki2.fsf@assaris.sics.se>, Assar Westerlund writes:
| That seems to imply that either there's a bug in db or that the file
| become corrupted (I guess I think the library still shouldn't loop).

The Berkeley DB utilities don't have any issues with the database file.  I'm 
guessing that the mpool (buffer cache used by Berkeley DB, with shared 
memory support that heimdal doesn't use) becomes corrupted.

| That wouldn't work, this is just a key that's added (`transparently')
| by libhdb.  So you would either need to write a small program that
| retrieved that key or I seem to recall there being a program included

Hm.  Phrasing it as a krb5 principal didn't help the clarity :)

e-xing# /usr/local/BerkeleyDB/bin/db_dump -p /var/heimdal/heimdal.db| grep 
-A1 db-format

| with libdb that dumped the database to ascii?  But that might have
| vanished and/or not be included with your Linux distribution.

Uh, this is Solaris 2.6....

brandon s. allbery	   os/2,linux,solaris,perl	allbery@kf8nh.apk.net
system administrator	   kthkrb,heimdal,gnome,rt	  allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			kf8nh
    We are Linux. Resistance is an indication that you missed the point.