+2000-01-27 Ken Raeburn <raeburn@raeburn.org>
+
+ * client_init.c (enctypes): New array, listing only
+ ENCTYPE_DES_CBC_CRC.
+ (_kadm5_init_any): Pass it in krb5_get_in_tkt_with_* calls for
+ now, while GSSAPI/krb5 can only handle DES.
+
1999-10-26 Tom Yu <tlyu@mit.edu>
* Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
-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,
code = krb5_get_in_tkt_with_password(handle->context,
0, /* no options */
0, /* default addresses */
- NULL,
+ enctypes,
NULL, /* XXX preauth */
pass,
ccache,
code = krb5_get_in_tkt_with_keytab(handle->context,
0, /* no options */
0, /* default addrs */
- NULL,
+ enctypes,
NULL, /* XXX preauth */
kt,
ccache,