kinit: add KDB keytab support
authorSam Hartman <hartmans@mit.edu>
Wed, 15 Sep 2010 17:13:41 +0000 (17:13 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 15 Sep 2010 17:13:41 +0000 (17:13 +0000)
commitd100b4410ab933e21b4f3390f1b2f27d4e872442
treebdec7d4a785c027a6991f2639e13748d3bf57dc5
parent41f6fee5e77e49732ae7c71808204aeb77aa1013
kinit: add KDB keytab support

This implements
http://k5wiki.kerberos.org/Projects/What_does_God_need_with_a_password.
If the KDB keytab is selected by command line options, then kinit will
register the KDB keytab and open the database.  This permits an
administrator to obtain tickets as a user without knowing that user's
password.

As a result kinit links against libkadm5srv and libkdb5. Discussion is
ongoing about whether this is desirable or about whether two versions
of kinit are required.

ticket: 6779

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24316 dc483132-0cff-0310-8789-dd5450dbe970
src/clients/kinit/Makefile.in
src/clients/kinit/extern.h [new file with mode: 0644]
src/clients/kinit/kinit.M
src/clients/kinit/kinit.c
src/clients/kinit/kinit_kdb.c [new file with mode: 0644]
src/tests/t_general.py