diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-10-01 19:34:06 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-10-01 19:34:06 +0000 |
commit | 00729527c88c65b8179b762a111bef16926d6a97 (patch) | |
tree | b0707eb5c9f704fdee953147cc2e5d2c6146753c /src/kadmin | |
parent | fbe47fb2d24d9d5971b1fd2d2af9b924d1805a0f (diff) | |
download | krb5-00729527c88c65b8179b762a111bef16926d6a97.tar.gz krb5-00729527c88c65b8179b762a111bef16926d6a97.tar.xz krb5-00729527c88c65b8179b762a111bef16926d6a97.zip |
Finished KLL to KIM shim.
Switched krb5 code to using it.
ticket: 6134
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20796 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/cli/kadmin.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c index 897787255..b3f2b3f21 100644 --- a/src/kadmin/cli/kadmin.c +++ b/src/kadmin/cli/kadmin.c @@ -45,8 +45,8 @@ #include <time.h> #include "kadmin.h" -#if defined(USE_LOGIN_LIBRARY) -#include <Kerberos/KerberosLoginPrivate.h> +#if defined(USE_KIM) +#include <kim/kim.h> #endif /* special struct to convert flag names for principals @@ -219,11 +219,12 @@ char *kadmin_startup(argc, argv) memset((char *) ¶ms, 0, sizeof(params)); -#if defined(USE_LOGIN_LIBRARY) +#if defined(USE_KIM) /* Turn off all password prompting from the KLL */ - retval = __KLSetPromptMechanism (klPromptMechanism_None); + retval = kim_library_set_allow_automatic_prompting (0); if (retval) { - com_err(whoami, retval, "while calling __KLSetPromptMechanism()"); + com_err(whoami, retval, + "while calling kim_library_set_allow_automatic_prompting()"); exit(1); } #endif |