I'm trying to understand the detailed layout of a dumped KDC database.
Looking through the code in kadmin/dbutil/dump.c, I can see most of
the fields I'm interested in.  But some of the information I want
seems to be encoded within more generic fields.  In particular, I'm
looking for the Last Password Change and Last Modified information.

I know I can get these easily with kadmin 'getprinc -terse' for a
specific principal.  But (for reasons not worth going into here)
I'm planning to write a script that will go through the entire db
dump file, looking for particular values in the two fields mentioned
above, among others.  I don't want to issue a kadmin command for each
of the 200K principals in our database.

I think if I spent enough time at it, I could figure all this out
from the dump.c code.  But I'm hoping somone has layed out the dump
file already and can save me some time.

(BTW:  I'm currently running 1.2.1, though I'll be moving to 1.2.2
sometime soon).

Thanks.

Mike

----------------------------------------------------------------------------
Mike Friedman                             [EMAIL PROTECTED]
System & Network Security                 +1-510-642-1410
University of California at Berkeley      http://ack.Berkeley.EDU/~mikef
----------------------------------------------------------------------------

Reply via email to