diff options
author | Ken Raeburn <raeburn@mit.edu> | 2000-01-27 21:38:34 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2000-01-27 21:38:34 +0000 |
commit | 23ebe7b2153e5fa2b26ddd4f4ff14fa9319f2666 (patch) | |
tree | 0effcdd265b975c3ac16e0c929f8cc0ede2cebec /src/lib/kadm5/clnt/client_init.c | |
parent | 1b25d6fee272f8961e37ff77062fd218acc69a7b (diff) | |
download | krb5-23ebe7b2153e5fa2b26ddd4f4ff14fa9319f2666.zip krb5-23ebe7b2153e5fa2b26ddd4f4ff14fa9319f2666.tar.gz krb5-23ebe7b2153e5fa2b26ddd4f4ff14fa9319f2666.tar.bz2 |
limit kadm5 net interface to des for now until gssapi mech is fixed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11971 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm5/clnt/client_init.c')
-rw-r--r-- | src/lib/kadm5/clnt/client_init.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index 65a313d..a3d2613 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -133,6 +133,11 @@ static int preauth_search_list[] = { -1 }; +static krb5_enctype enctypes[] = { + ENCTYPE_DES_CBC_CRC, + 0, +}; + static kadm5_ret_t _kadm5_init_any(char *client_name, enum init_type init_type, char *pass, @@ -345,7 +350,7 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, code = krb5_get_in_tkt_with_password(handle->context, 0, /* no options */ 0, /* default addresses */ - NULL, + enctypes, NULL, /* XXX preauth */ pass, ccache, @@ -366,7 +371,7 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, code = krb5_get_in_tkt_with_keytab(handle->context, 0, /* no options */ 0, /* default addrs */ - NULL, + enctypes, NULL, /* XXX preauth */ kt, ccache, |