1*ebfedea0SLionel Sambuc2000-12-31 Assar Westerlund <assar@sics.se> 2*ebfedea0SLionel Sambuc 3*ebfedea0SLionel Sambuc * lib/krb5/test_get_addrs.c (main): handle krb5_init_context 4*ebfedea0SLionel Sambuc failure consistently 5*ebfedea0SLionel Sambuc * lib/krb5/string-to-key-test.c (main): handle krb5_init_context 6*ebfedea0SLionel Sambuc failure consistently 7*ebfedea0SLionel Sambuc * lib/krb5/prog_setup.c (krb5_program_setup): handle 8*ebfedea0SLionel Sambuc krb5_init_context failure consistently 9*ebfedea0SLionel Sambuc * lib/hdb/convert_db.c (main): handle krb5_init_context failure 10*ebfedea0SLionel Sambuc consistently 11*ebfedea0SLionel Sambuc * kuser/kverify.c (main): handle krb5_init_context failure 12*ebfedea0SLionel Sambuc consistently 13*ebfedea0SLionel Sambuc * kuser/klist.c (main): handle krb5_init_context failure 14*ebfedea0SLionel Sambuc consistently 15*ebfedea0SLionel Sambuc * kuser/kinit.c (main): handle krb5_init_context failure 16*ebfedea0SLionel Sambuc consistently 17*ebfedea0SLionel Sambuc * kuser/kgetcred.c (main): handle krb5_init_context failure 18*ebfedea0SLionel Sambuc consistently 19*ebfedea0SLionel Sambuc * kuser/kdestroy.c (main): handle krb5_init_context failure 20*ebfedea0SLionel Sambuc consistently 21*ebfedea0SLionel Sambuc * kuser/kdecode_ticket.c (main): handle krb5_init_context failure 22*ebfedea0SLionel Sambuc consistently 23*ebfedea0SLionel Sambuc * kuser/generate-requests.c (generate_requests): handle 24*ebfedea0SLionel Sambuc krb5_init_context failure consistently 25*ebfedea0SLionel Sambuc * kpasswd/kpasswd.c (main): handle krb5_init_context failure 26*ebfedea0SLionel Sambuc consistently 27*ebfedea0SLionel Sambuc * kpasswd/kpasswd-generator.c (generate_requests): handle 28*ebfedea0SLionel Sambuc krb5_init_context failure consistently 29*ebfedea0SLionel Sambuc * kdc/main.c (main): handle krb5_init_context failure consistently 30*ebfedea0SLionel Sambuc * appl/test/uu_client.c (proto): handle krb5_init_context failure 31*ebfedea0SLionel Sambuc consistently 32*ebfedea0SLionel Sambuc * appl/kf/kf.c (main): handle krb5_init_context failure 33*ebfedea0SLionel Sambuc consistently 34*ebfedea0SLionel Sambuc * admin/ktutil.c (main): handle krb5_init_context failure 35*ebfedea0SLionel Sambuc consistently 36*ebfedea0SLionel Sambuc 37*ebfedea0SLionel Sambuc * admin/get.c (kt_get): more error checking 38*ebfedea0SLionel Sambuc 39*ebfedea0SLionel Sambuc2000-12-29 Assar Westerlund <assar@sics.se> 40*ebfedea0SLionel Sambuc 41*ebfedea0SLionel Sambuc * lib/asn1/asn1_print.c (loop): check for length longer than data. 42*ebfedea0SLionel Sambuc inspired by lha@stacken.kth.se 43*ebfedea0SLionel Sambuc 44*ebfedea0SLionel Sambuc2000-12-16 Johan Danielsson <joda@pdc.kth.se> 45*ebfedea0SLionel Sambuc 46*ebfedea0SLionel Sambuc * admin/ktutil.8: reflect recent changes 47*ebfedea0SLionel Sambuc 48*ebfedea0SLionel Sambuc * admin/copy.c: don't copy an entry that already exists in the 49*ebfedea0SLionel Sambuc keytab, and warn if the keyblock differs 50*ebfedea0SLionel Sambuc 51*ebfedea0SLionel Sambuc2000-12-15 Johan Danielsson <joda@pdc.kth.se> 52*ebfedea0SLionel Sambuc 53*ebfedea0SLionel Sambuc * admin/Makefile.am: merge srvconvert and srvcreate with copy 54*ebfedea0SLionel Sambuc 55*ebfedea0SLionel Sambuc * admin/copy.c: merge srvconvert and srvcreate with copy 56*ebfedea0SLionel Sambuc 57*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: always build keytab_krb4.c 58*ebfedea0SLionel Sambuc 59*ebfedea0SLionel Sambuc * lib/krb5/context.c: always register the krb4 keytab functions 60*ebfedea0SLionel Sambuc 61*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: declare krb4_ftk_ops 62*ebfedea0SLionel Sambuc 63*ebfedea0SLionel Sambuc * lib/krb5/keytab_krb4.c: We don't really need to include krb.h 64*ebfedea0SLionel Sambuc here, since we only use the principal size macros, so define these 65*ebfedea0SLionel Sambuc here. Theoretically someone could have a krb4 system where these 66*ebfedea0SLionel Sambuc values are != 40, but this is unlikely, and 67*ebfedea0SLionel Sambuc krb5_524_conv_principal also assume they are 40. 68*ebfedea0SLionel Sambuc 69*ebfedea0SLionel Sambuc2000-12-13 Johan Danielsson <joda@pdc.kth.se> 70*ebfedea0SLionel Sambuc 71*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: s/krb5_donot_reply/krb5_donot_replay/ 72*ebfedea0SLionel Sambuc 73*ebfedea0SLionel Sambuc * lib/krb5/replay.c: fix query-replace-o from MD5 API change, and 74*ebfedea0SLionel Sambuc the struct is called krb5_donot_replay 75*ebfedea0SLionel Sambuc 76*ebfedea0SLionel Sambuc2000-12-12 Assar Westerlund <assar@sics.se> 77*ebfedea0SLionel Sambuc 78*ebfedea0SLionel Sambuc * admin/srvconvert.c (srvconvert): do not use data after free:ing 79*ebfedea0SLionel Sambuc it 80*ebfedea0SLionel Sambuc 81*ebfedea0SLionel Sambuc2000-12-11 Assar Westerlund <assar@sics.se> 82*ebfedea0SLionel Sambuc 83*ebfedea0SLionel Sambuc * Release 0.3d 84*ebfedea0SLionel Sambuc 85*ebfedea0SLionel Sambuc2000-12-11 Assar Westerlund <assar@sics.se> 86*ebfedea0SLionel Sambuc 87*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): set version to 14:0:0 88*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): update to 6:3:0 89*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am (libkrb5_la_LIBADD): add library 90*ebfedea0SLionel Sambuc dependencies 91*ebfedea0SLionel Sambuc 92*ebfedea0SLionel Sambuc2000-12-10 Johan Danielsson <joda@pdc.kth.se> 93*ebfedea0SLionel Sambuc 94*ebfedea0SLionel Sambuc * lib/krb5/auth_context.c: implement krb5_auth_con_{get,set}rcache 95*ebfedea0SLionel Sambuc 96*ebfedea0SLionel Sambuc2000-12-08 Assar Westerlund <assar@sics.se> 97*ebfedea0SLionel Sambuc 98*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (krb5_enctype): add ETYPE_DES3_CBC_NONE_IVEC as 99*ebfedea0SLionel Sambuc a new pseudo-type 100*ebfedea0SLionel Sambuc 101*ebfedea0SLionel Sambuc * lib/krb5/crypto.c (DES_AFS3_CMU_string_to_key): always treat 102*ebfedea0SLionel Sambuc cell names as lower case 103*ebfedea0SLionel Sambuc (krb5_encrypt_ivec, krb5_decrypt_ivec): new functions that allow an 104*ebfedea0SLionel Sambuc explicit ivec to be specified. fix all sub-functions. 105*ebfedea0SLionel Sambuc (DES3_CBC_encrypt_ivec): new function that takes an explicit ivec 106*ebfedea0SLionel Sambuc 107*ebfedea0SLionel Sambuc2000-12-06 Johan Danielsson <joda@pdc.kth.se> 108*ebfedea0SLionel Sambuc 109*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: actually build replay cache code 110*ebfedea0SLionel Sambuc 111*ebfedea0SLionel Sambuc * lib/krb5/replay.c: implement krb5_get_server_rcache 112*ebfedea0SLionel Sambuc 113*ebfedea0SLionel Sambuc * kpasswd/kpasswdd.c: de-pointerise auth_context parameter to 114*ebfedea0SLionel Sambuc krb5_mk_rep 115*ebfedea0SLionel Sambuc 116*ebfedea0SLionel Sambuc * lib/krb5/recvauth.c: de-pointerise auth_context parameter to 117*ebfedea0SLionel Sambuc krb5_mk_rep 118*ebfedea0SLionel Sambuc 119*ebfedea0SLionel Sambuc * lib/krb5/mk_rep.c: auth_context should not be a pointer 120*ebfedea0SLionel Sambuc 121*ebfedea0SLionel Sambuc * lib/krb5/auth_context.c: implement krb5_auth_con_genaddrs, and 122*ebfedea0SLionel Sambuc make setaddrs_from_fd use that 123*ebfedea0SLionel Sambuc 124*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: add some more KRB5_AUTH_CONTEXT_* flags 125*ebfedea0SLionel Sambuc 126*ebfedea0SLionel Sambuc2000-12-05 Johan Danielsson <joda@pdc.kth.se> 127*ebfedea0SLionel Sambuc 128*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: add kerberos.8 manpage 129*ebfedea0SLionel Sambuc 130*ebfedea0SLionel Sambuc * lib/krb5/cache.c: check for NULL remove_cred function 131*ebfedea0SLionel Sambuc 132*ebfedea0SLionel Sambuc * lib/krb5/fcache.c: pretend that empty files are non-existant 133*ebfedea0SLionel Sambuc 134*ebfedea0SLionel Sambuc * lib/krb5/get_addrs.c (find_all_addresses): use getifaddrs, from 135*ebfedea0SLionel Sambuc Jason Thorpe <thorpej@netbsd.org> 136*ebfedea0SLionel Sambuc 137*ebfedea0SLionel Sambuc2000-12-01 Assar Westerlund <assar@sics.se> 138*ebfedea0SLionel Sambuc 139*ebfedea0SLionel Sambuc * configure.in: remove configure-time generation of krb5-config 140*ebfedea0SLionel Sambuc * tools/Makefile.am: add generation of krb5-config at make-time 141*ebfedea0SLionel Sambuc instead of configure-time 142*ebfedea0SLionel Sambuc 143*ebfedea0SLionel Sambuc * tools/krb5-config.in: add --prefix and --exec-prefix 144*ebfedea0SLionel Sambuc 145*ebfedea0SLionel Sambuc2000-11-30 Assar Westerlund <assar@sics.se> 146*ebfedea0SLionel Sambuc 147*ebfedea0SLionel Sambuc * tools/Makefile.am: add krb5-config.1 148*ebfedea0SLionel Sambuc * tools/krb5-config.in: add kadm-client and kadm5-server as 149*ebfedea0SLionel Sambuc libraries 150*ebfedea0SLionel Sambuc 151*ebfedea0SLionel Sambuc2000-11-29 Assar Westerlund <assar@sics.se> 152*ebfedea0SLionel Sambuc 153*ebfedea0SLionel Sambuc * tools/krb5-config.in: add --prefix, --exec-prefix and gssapi 154*ebfedea0SLionel Sambuc 155*ebfedea0SLionel Sambuc2000-11-29 Johan Danielsson <joda@pdc.kth.se> 156*ebfedea0SLionel Sambuc 157*ebfedea0SLionel Sambuc * configure.in: add roken/Makefile here, since it can't live in 158*ebfedea0SLionel Sambuc rk_ROKEN 159*ebfedea0SLionel Sambuc 160*ebfedea0SLionel Sambuc2000-11-16 Assar Westerlund <assar@sics.se> 161*ebfedea0SLionel Sambuc 162*ebfedea0SLionel Sambuc * configure.in: use the libtool -rpath, do not rely on ld 163*ebfedea0SLionel Sambuc understanding -rpath 164*ebfedea0SLionel Sambuc 165*ebfedea0SLionel Sambuc * configure.in: fix the -Wl stuff for krb4 linking add some 166*ebfedea0SLionel Sambuc gratuitous extra options when linking with an existing libdes 167*ebfedea0SLionel Sambuc 168*ebfedea0SLionel Sambuc2000-11-15 Assar Westerlund <assar@sics.se> 169*ebfedea0SLionel Sambuc 170*ebfedea0SLionel Sambuc * lib/hdb/hdb.c (hdb_next_enctype2key): const-ize a little bit 171*ebfedea0SLionel Sambuc * lib/Makefile.am (SUBDIRS): try to only build des when needed 172*ebfedea0SLionel Sambuc * kuser/klist.c: print key versions numbers of v4 tickets in 173*ebfedea0SLionel Sambuc verbose mode 174*ebfedea0SLionel Sambuc 175*ebfedea0SLionel Sambuc * kdc/kerberos5.c (tgs_rep2): adapt to new krb5_verify_ap_req2 176*ebfedea0SLionel Sambuc * appl/test/gss_common.c (read_token): remove unused variable 177*ebfedea0SLionel Sambuc 178*ebfedea0SLionel Sambuc * configure.in (krb4): add -Wl 179*ebfedea0SLionel Sambuc (MD4Init et al): look for these in more libraries 180*ebfedea0SLionel Sambuc (getmsg): only run test if we have the function 181*ebfedea0SLionel Sambuc (AC_OUTPUT): create tools/krb5-config 182*ebfedea0SLionel Sambuc 183*ebfedea0SLionel Sambuc * tools/krb5-config.in: new script for storing flags to use 184*ebfedea0SLionel Sambuc * Makefile.am (SUBDIRS): add tools 185*ebfedea0SLionel Sambuc 186*ebfedea0SLionel Sambuc * lib/krb5/get_cred.c (make_pa_tgs_req): update to new 187*ebfedea0SLionel Sambuc krb5_mk_req_internal 188*ebfedea0SLionel Sambuc * lib/krb5/mk_req_ext.c (krb5_mk_req_internal): allow different 189*ebfedea0SLionel Sambuc usages for the encryption. change callers 190*ebfedea0SLionel Sambuc * lib/krb5/rd_req.c (decrypt_authenticator): add an encryption 191*ebfedea0SLionel Sambuc `usage'. also try the old 192*ebfedea0SLionel Sambuc (and wrong) usage of KRB5_KU_AP_REQ_AUTH for backwards compatibility 193*ebfedea0SLionel Sambuc (krb5_verify_ap_req2): new function for specifying the usage different 194*ebfedea0SLionel Sambuc from the default (KRB5_KU_AP_REQ_AUTH) 195*ebfedea0SLionel Sambuc * lib/krb5/build_auth.c (krb5_build_authenticator): add a `usage' 196*ebfedea0SLionel Sambuc parameter to permit the generation of authenticators with 197*ebfedea0SLionel Sambuc different crypto usage 198*ebfedea0SLionel Sambuc 199*ebfedea0SLionel Sambuc * lib/krb5/mk_req.c (krb5_mk_req_exact): new function that takes a 200*ebfedea0SLionel Sambuc krb5_principal 201*ebfedea0SLionel Sambuc (krb5_mk_req): use krb5_mk_req_exact 202*ebfedea0SLionel Sambuc 203*ebfedea0SLionel Sambuc * lib/krb5/mcache.c (mcc_close): free data 204*ebfedea0SLionel Sambuc (mcc_destroy): don't free data 205*ebfedea0SLionel Sambuc 206*ebfedea0SLionel Sambuc2000-11-13 Assar Westerlund <assar@sics.se> 207*ebfedea0SLionel Sambuc 208*ebfedea0SLionel Sambuc * lib/hdb/ndbm.c: handle both ndbm.h and gdbm/ndbm.h 209*ebfedea0SLionel Sambuc * lib/hdb/hdb.c: handle both ndbm.h and gdbm/ndbm.h 210*ebfedea0SLionel Sambuc 211*ebfedea0SLionel Sambuc2000-11-12 Johan Danielsson <joda@pdc.kth.se> 212*ebfedea0SLionel Sambuc 213*ebfedea0SLionel Sambuc * kdc/hpropd.8: remove extra .Xc 214*ebfedea0SLionel Sambuc 215*ebfedea0SLionel Sambuc2000-10-27 Johan Danielsson <joda@pdc.kth.se> 216*ebfedea0SLionel Sambuc 217*ebfedea0SLionel Sambuc * kuser/kinit.c: fix v4 fallback lifetime calculation 218*ebfedea0SLionel Sambuc 219*ebfedea0SLionel Sambuc2000-10-10 Johan Danielsson <joda@pdc.kth.se> 220*ebfedea0SLionel Sambuc 221*ebfedea0SLionel Sambuc * kdc/524.c: fix log messge 222*ebfedea0SLionel Sambuc 223*ebfedea0SLionel Sambuc2000-10-08 Assar Westerlund <assar@sics.se> 224*ebfedea0SLionel Sambuc 225*ebfedea0SLionel Sambuc * lib/krb5/changepw.c (krb5_change_password): check for fd's being 226*ebfedea0SLionel Sambuc too large to select on 227*ebfedea0SLionel Sambuc * kpasswd/kpasswdd.c (add_new_tcp): check for the socket fd being 228*ebfedea0SLionel Sambuc too large to select on 229*ebfedea0SLionel Sambuc * kdc/connect.c (add_new_tcp): check for the socket fd being too 230*ebfedea0SLionel Sambuc large to selct on 231*ebfedea0SLionel Sambuc * kdc/connect.c (loop): check that the socket fd is not too large 232*ebfedea0SLionel Sambuc to select on 233*ebfedea0SLionel Sambuc * lib/krb5/send_to_kdc.c (recv_loop): check `fd' for being too 234*ebfedea0SLionel Sambuc large to be able to select on 235*ebfedea0SLionel Sambuc 236*ebfedea0SLionel Sambuc * kdc/kaserver.c (do_authenticate): check for time skew 237*ebfedea0SLionel Sambuc 238*ebfedea0SLionel Sambuc2000-10-01 Assar Westerlund <assar@sics.se> 239*ebfedea0SLionel Sambuc 240*ebfedea0SLionel Sambuc * kdc/524.c (set_address): allocate memory for storing addresses 241*ebfedea0SLionel Sambuc in if the original request had an empty set of addresses 242*ebfedea0SLionel Sambuc * kdc/524.c (set_address): fix bad return of pointer to automatic 243*ebfedea0SLionel Sambuc data 244*ebfedea0SLionel Sambuc 245*ebfedea0SLionel Sambuc * config.sub: update to version 2000-09-11 (aka 1.181) from 246*ebfedea0SLionel Sambuc subversions.gnu.org 247*ebfedea0SLionel Sambuc 248*ebfedea0SLionel Sambuc * config.guess: update to version 2000-09-05 (aka 1.156) from 249*ebfedea0SLionel Sambuc subversions.gnu.org plus some minor tweaks 250*ebfedea0SLionel Sambuc 251*ebfedea0SLionel Sambuc2000-09-20 Assar Westerlund <assar@juguete.sics.se> 252*ebfedea0SLionel Sambuc 253*ebfedea0SLionel Sambuc * Release 0.3c 254*ebfedea0SLionel Sambuc 255*ebfedea0SLionel Sambuc2000-09-19 Assar Westerlund <assar@sics.se> 256*ebfedea0SLionel Sambuc 257*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): bump version to 258*ebfedea0SLionel Sambuc 13:1:0 259*ebfedea0SLionel Sambuc 260*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): bump version to 6:2:0 261*ebfedea0SLionel Sambuc 262*ebfedea0SLionel Sambuc2000-09-17 Assar Westerlund <assar@sics.se> 263*ebfedea0SLionel Sambuc 264*ebfedea0SLionel Sambuc * lib/krb5/rd_req.c (krb5_decrypt_ticket): plug some memory leak 265*ebfedea0SLionel Sambuc (krb5_rd_req): try not to return an allocated auth_context on error 266*ebfedea0SLionel Sambuc 267*ebfedea0SLionel Sambuc * lib/krb5/log.c (krb5_vlog_msg): fix const-ness 268*ebfedea0SLionel Sambuc 269*ebfedea0SLionel Sambuc2000-09-10 Assar Westerlund <assar@sics.se> 270*ebfedea0SLionel Sambuc 271*ebfedea0SLionel Sambuc * kdc/524.c: re-organize 272*ebfedea0SLionel Sambuc * kdc/kerberos5.c (tgs_rep2): try to avoid leaking auth_context 273*ebfedea0SLionel Sambuc * kdc/kerberos4.c (valid_princ): check return value of functions 274*ebfedea0SLionel Sambuc (encode_v4_ticket): add some const 275*ebfedea0SLionel Sambuc * kdc/misc.c (db_fetch): check malloc 276*ebfedea0SLionel Sambuc (free_ent): new function 277*ebfedea0SLionel Sambuc 278*ebfedea0SLionel Sambuc * lib/krb5/log.c (krb5_vlog_msg): log just the format string it we 279*ebfedea0SLionel Sambuc fail to allocate the actual string to log, should at least provide 280*ebfedea0SLionel Sambuc some hint as to where things went wrong 281*ebfedea0SLionel Sambuc 282*ebfedea0SLionel Sambuc2000-09-10 Johan Danielsson <joda@pdc.kth.se> 283*ebfedea0SLionel Sambuc 284*ebfedea0SLionel Sambuc * kdc/log.c: use DEFAULT_LOG_DEST 285*ebfedea0SLionel Sambuc 286*ebfedea0SLionel Sambuc * kdc/config.c: use _PATH_KDC_CONF 287*ebfedea0SLionel Sambuc 288*ebfedea0SLionel Sambuc * kdc/kdc_locl.h: add macro constants for kdc.conf, and kdc.log 289*ebfedea0SLionel Sambuc 290*ebfedea0SLionel Sambuc2000-09-09 Assar Westerlund <assar@sics.se> 291*ebfedea0SLionel Sambuc 292*ebfedea0SLionel Sambuc * lib/krb5/crypto.c (_key_schedule): re-use an existing schedule 293*ebfedea0SLionel Sambuc 294*ebfedea0SLionel Sambuc2000-09-06 Johan Danielsson <joda@pdc.kth.se> 295*ebfedea0SLionel Sambuc 296*ebfedea0SLionel Sambuc * configure.in: fix dpagaix test 297*ebfedea0SLionel Sambuc 298*ebfedea0SLionel Sambuc2000-09-05 Assar Westerlund <assar@sics.se> 299*ebfedea0SLionel Sambuc 300*ebfedea0SLionel Sambuc * configure.in: with_dce -> enable_dce. noticed by Ake Sandgren 301*ebfedea0SLionel Sambuc <ake@cs.umu.se> 302*ebfedea0SLionel Sambuc 303*ebfedea0SLionel Sambuc2000-09-01 Johan Danielsson <joda@pdc.kth.se> 304*ebfedea0SLionel Sambuc 305*ebfedea0SLionel Sambuc * kdc/kstash.8: update manual page 306*ebfedea0SLionel Sambuc 307*ebfedea0SLionel Sambuc * kdc/kstash.c: fix typo, and remove unused option 308*ebfedea0SLionel Sambuc 309*ebfedea0SLionel Sambuc * lib/krb5/kerberos.7: short kerberos intro page 310*ebfedea0SLionel Sambuc 311*ebfedea0SLionel Sambuc2000-08-27 Assar Westerlund <assar@sics.se> 312*ebfedea0SLionel Sambuc 313*ebfedea0SLionel Sambuc * include/bits.c: add __attribute__ for gcc's pleasure 314*ebfedea0SLionel Sambuc * lib/hdb/keytab.c: re-write to delay the opening of the database 315*ebfedea0SLionel Sambuc till it's known which principal is being sought, thereby allowing 316*ebfedea0SLionel Sambuc the usage of multiple databases, however they need to be specified 317*ebfedea0SLionel Sambuc in /etc/krb5.conf since all the programs using this keytab do not 318*ebfedea0SLionel Sambuc read kdc.conf 319*ebfedea0SLionel Sambuc 320*ebfedea0SLionel Sambuc * appl/test/test_locl.h (keytab): add 321*ebfedea0SLionel Sambuc * appl/test/common.c: add --keytab 322*ebfedea0SLionel Sambuc * lib/krb5/crypto.c: remove trailing commas 323*ebfedea0SLionel Sambuc (KRB5_KU_USAGE_SEQ): renamed from KRB5_KU_USAGE_MIC 324*ebfedea0SLionel Sambuc 325*ebfedea0SLionel Sambuc2000-08-26 Assar Westerlund <assar@sics.se> 326*ebfedea0SLionel Sambuc 327*ebfedea0SLionel Sambuc * lib/krb5/send_to_kdc.c (send_via_proxy): handle `http://' at the 328*ebfedea0SLionel Sambuc beginning of the proxy specification. use getaddrinfo correctly 329*ebfedea0SLionel Sambuc (krb5_sendto): always return a return code 330*ebfedea0SLionel Sambuc 331*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (KRB5_KU_USAGE_MIC): rename to KRB5_KU_USAGE_SEQ 332*ebfedea0SLionel Sambuc * lib/krb5/auth_context.c (krb5_auth_con_free): handle 333*ebfedea0SLionel Sambuc auth_context == NULL 334*ebfedea0SLionel Sambuc 335*ebfedea0SLionel Sambuc2000-08-23 Assar Westerlund <assar@sics.se> 336*ebfedea0SLionel Sambuc 337*ebfedea0SLionel Sambuc * kdc/kerberos5.c (find_type): make sure of always setting 338*ebfedea0SLionel Sambuc `ret_etype' correctly. clean-up structure some 339*ebfedea0SLionel Sambuc 340*ebfedea0SLionel Sambuc2000-08-23 Johan Danielsson <joda@pdc.kth.se> 341*ebfedea0SLionel Sambuc 342*ebfedea0SLionel Sambuc * lib/krb5/mcache.c: implement resolve 343*ebfedea0SLionel Sambuc 344*ebfedea0SLionel Sambuc2000-08-18 Assar Westerlund <assar@sics.se> 345*ebfedea0SLionel Sambuc 346*ebfedea0SLionel Sambuc * kuser/kdecode_ticket.c: check return value from krb5_crypto_init 347*ebfedea0SLionel Sambuc * kdc/kerberos5.c, kdc/524.c: check return value from krb5_crypto_init 348*ebfedea0SLionel Sambuc * lib/krb5/*.c: check return value from krb5_crypto_init 349*ebfedea0SLionel Sambuc 350*ebfedea0SLionel Sambuc2000-08-16 Assar Westerlund <assar@sics.se> 351*ebfedea0SLionel Sambuc 352*ebfedea0SLionel Sambuc * Release 0.3b 353*ebfedea0SLionel Sambuc 354*ebfedea0SLionel Sambuc2000-08-16 Assar Westerlund <assar@sics.se> 355*ebfedea0SLionel Sambuc 356*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: bump version to 13:0:0 357*ebfedea0SLionel Sambuc 358*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am: set version to 6:1:0 359*ebfedea0SLionel Sambuc 360*ebfedea0SLionel Sambuc * configure.in: do getmsg testing the same way as in krb4 361*ebfedea0SLionel Sambuc 362*ebfedea0SLionel Sambuc * lib/krb5/config_file.c (krb5_config_parse_file_debug): make sure 363*ebfedea0SLionel Sambuc of closing the file on error 364*ebfedea0SLionel Sambuc 365*ebfedea0SLionel Sambuc * lib/krb5/crypto.c (encrypt_internal_derived): free the checksum 366*ebfedea0SLionel Sambuc after use 367*ebfedea0SLionel Sambuc 368*ebfedea0SLionel Sambuc * lib/krb5/warn.c (_warnerr): initialize args to make third, 369*ebfedea0SLionel Sambuc purify et al happy 370*ebfedea0SLionel Sambuc 371*ebfedea0SLionel Sambuc2000-08-13 Assar Westerlund <assar@sics.se> 372*ebfedea0SLionel Sambuc 373*ebfedea0SLionel Sambuc * kdc/kerberos5.c: re-write search for keys code. loop over all 374*ebfedea0SLionel Sambuc supported enctypes in order, looping over all keys of each type, 375*ebfedea0SLionel Sambuc and picking the one with the v5 default salt preferably 376*ebfedea0SLionel Sambuc 377*ebfedea0SLionel Sambuc2000-08-10 Assar Westerlund <assar@sics.se> 378*ebfedea0SLionel Sambuc 379*ebfedea0SLionel Sambuc * appl/test/gss_common.c (enet_read): add and use 380*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (heimdal_version, heimdal_long_version): make 381*ebfedea0SLionel Sambuc const 382*ebfedea0SLionel Sambuc 383*ebfedea0SLionel Sambuc * lib/krb5/mk_req_ext.c (krb5_mk_req_internal): add comment on 384*ebfedea0SLionel Sambuc checksum type selection 385*ebfedea0SLionel Sambuc 386*ebfedea0SLionel Sambuc * lib/krb5/context.c (krb5_init_context): do not leak memory on 387*ebfedea0SLionel Sambuc failure 388*ebfedea0SLionel Sambuc (default_etypes): prefer arcfour-hmac-md5 to des-cbc-md5 389*ebfedea0SLionel Sambuc 390*ebfedea0SLionel Sambuc * lib/krb5/principal.c: add fnmatch.h 391*ebfedea0SLionel Sambuc 392*ebfedea0SLionel Sambuc2000-08-09 Assar Westerlund <assar@sics.se> 393*ebfedea0SLionel Sambuc 394*ebfedea0SLionel Sambuc * configure.in: call AC_PROG_CC and AC_PROG_CPP to make sure later 395*ebfedea0SLionel Sambuc checks that should require them don't fail 396*ebfedea0SLionel Sambuc * acconfig.h: add HAVE_UINT17_T 397*ebfedea0SLionel Sambuc 398*ebfedea0SLionel Sambuc2000-08-09 Johan Danielsson <joda@pdc.kth.se> 399*ebfedea0SLionel Sambuc 400*ebfedea0SLionel Sambuc * kdc/mit_dump.c: handle all sorts of weird MIT salt types 401*ebfedea0SLionel Sambuc 402*ebfedea0SLionel Sambuc2000-08-08 Johan Danielsson <joda@pdc.kth.se> 403*ebfedea0SLionel Sambuc 404*ebfedea0SLionel Sambuc * doc/setup.texi: port 212 -> 2121 405*ebfedea0SLionel Sambuc 406*ebfedea0SLionel Sambuc * lib/krb5/principal.c: krb5_principal_match 407*ebfedea0SLionel Sambuc 408*ebfedea0SLionel Sambuc2000-08-04 Johan Danielsson <joda@pdc.kth.se> 409*ebfedea0SLionel Sambuc 410*ebfedea0SLionel Sambuc * lib/asn1/der_get.c: add comment on *why* DCE sometimes used BER 411*ebfedea0SLionel Sambuc encoding 412*ebfedea0SLionel Sambuc 413*ebfedea0SLionel Sambuc * kpasswd/Makefile.am: link with pidfile library 414*ebfedea0SLionel Sambuc 415*ebfedea0SLionel Sambuc * kpasswd/kpasswdd.c: write a pid file 416*ebfedea0SLionel Sambuc 417*ebfedea0SLionel Sambuc * kpasswd/kpasswd_locl.h: util.h 418*ebfedea0SLionel Sambuc 419*ebfedea0SLionel Sambuc * kdc/Makefile.am: link with pidfile library 420*ebfedea0SLionel Sambuc 421*ebfedea0SLionel Sambuc * kdc/main.c: write a pid file 422*ebfedea0SLionel Sambuc 423*ebfedea0SLionel Sambuc * kdc/headers.h: util.h 424*ebfedea0SLionel Sambuc 425*ebfedea0SLionel Sambuc2000-08-04 Assar Westerlund <assar@sics.se> 426*ebfedea0SLionel Sambuc 427*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_425_conv_principal_ext): always put 428*ebfedea0SLionel Sambuc hostnames in lower case 429*ebfedea0SLionel Sambuc (default_v4_name_convert): add imap 430*ebfedea0SLionel Sambuc 431*ebfedea0SLionel Sambuc2000-08-03 Assar Westerlund <assar@sics.se> 432*ebfedea0SLionel Sambuc 433*ebfedea0SLionel Sambuc * lib/krb5/crc.c (_krb5_crc_update): const-ize (finally) 434*ebfedea0SLionel Sambuc 435*ebfedea0SLionel Sambuc2000-07-31 Johan Danielsson <joda@pdc.kth.se> 436*ebfedea0SLionel Sambuc 437*ebfedea0SLionel Sambuc * configure.in: check for uint*_t 438*ebfedea0SLionel Sambuc * include/bits.c: define uint*_t 439*ebfedea0SLionel Sambuc 440*ebfedea0SLionel Sambuc2000-07-29 Assar Westerlund <assar@sics.se> 441*ebfedea0SLionel Sambuc 442*ebfedea0SLionel Sambuc * kdc/kerberos5.c (check_tgs_flags): set endtime correctly when 443*ebfedea0SLionel Sambuc renewing, From Derrick J Brashear <shadow@dementia.org> 444*ebfedea0SLionel Sambuc 445*ebfedea0SLionel Sambuc2000-07-28 Assar Westerlund <assar@juguete.sics.se> 446*ebfedea0SLionel Sambuc 447*ebfedea0SLionel Sambuc * Release 0.3a 448*ebfedea0SLionel Sambuc 449*ebfedea0SLionel Sambuc2000-07-27 Assar Westerlund <assar@sics.se> 450*ebfedea0SLionel Sambuc 451*ebfedea0SLionel Sambuc * kdc/hprop.c (dump_database): write an empty message to signal 452*ebfedea0SLionel Sambuc end of dump 453*ebfedea0SLionel Sambuc 454*ebfedea0SLionel Sambuc2000-07-26 Assar Westerlund <assar@sics.se> 455*ebfedea0SLionel Sambuc 456*ebfedea0SLionel Sambuc * lib/krb5/changepw.c (krb5_change_password): try to be more 457*ebfedea0SLionel Sambuc careful when not to resend 458*ebfedea0SLionel Sambuc 459*ebfedea0SLionel Sambuc * lib/hdb/db3.c: always create a cursor with db3. From Derrick J 460*ebfedea0SLionel Sambuc Brashear <shadow@dementia.org> 461*ebfedea0SLionel Sambuc 462*ebfedea0SLionel Sambuc2000-07-25 Johan Danielsson <joda@pdc.kth.se> 463*ebfedea0SLionel Sambuc 464*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am: bump version to 6:0:0 465*ebfedea0SLionel Sambuc 466*ebfedea0SLionel Sambuc * lib/asn1/Makefile.am: bump version to 3:0:1 467*ebfedea0SLionel Sambuc 468*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: bump version to 12:0:1 469*ebfedea0SLionel Sambuc 470*ebfedea0SLionel Sambuc * lib/krb5/krb5_config.3: manpage 471*ebfedea0SLionel Sambuc 472*ebfedea0SLionel Sambuc * lib/krb5/krb5_appdefault.3: manpage 473*ebfedea0SLionel Sambuc 474*ebfedea0SLionel Sambuc * lib/krb5/appdefault.c: implementation of the krb5_appdefault set 475*ebfedea0SLionel Sambuc of functions 476*ebfedea0SLionel Sambuc 477*ebfedea0SLionel Sambuc2000-07-23 Assar Westerlund <assar@sics.se> 478*ebfedea0SLionel Sambuc 479*ebfedea0SLionel Sambuc * lib/krb5/init_creds_pw.c (change_password): reset forwardable 480*ebfedea0SLionel Sambuc and proxiable. copy preauthentication list correctly from 481*ebfedea0SLionel Sambuc supplied options 482*ebfedea0SLionel Sambuc 483*ebfedea0SLionel Sambuc * kdc/hpropd.c (main): check that the ticket was for `hprop/' for 484*ebfedea0SLionel Sambuc paranoid reasons 485*ebfedea0SLionel Sambuc 486*ebfedea0SLionel Sambuc * lib/krb5/sock_principal.c (krb5_sock_to_principal): look in 487*ebfedea0SLionel Sambuc aliases for the real name 488*ebfedea0SLionel Sambuc 489*ebfedea0SLionel Sambuc2000-07-22 Johan Danielsson <joda@pdc.kth.se> 490*ebfedea0SLionel Sambuc 491*ebfedea0SLionel Sambuc * doc/setup.texi: say something about starting kadmind from the 492*ebfedea0SLionel Sambuc command line 493*ebfedea0SLionel Sambuc 494*ebfedea0SLionel Sambuc2000-07-22 Assar Westerlund <assar@sics.se> 495*ebfedea0SLionel Sambuc 496*ebfedea0SLionel Sambuc * kpasswd/kpasswdd.c: use kadm5_s_chpass_principal_cond instead of 497*ebfedea0SLionel Sambuc mis-doing it here 498*ebfedea0SLionel Sambuc 499*ebfedea0SLionel Sambuc * lib/krb5/changepw.c (krb5_change_password): make timeout 1 + 500*ebfedea0SLionel Sambuc 2^{0,1,...}. also keep track if we got an old packet back and 501*ebfedea0SLionel Sambuc then just wait without sending a new packet 502*ebfedea0SLionel Sambuc * lib/krb5/changepw.c: use a datagram socket and remove the 503*ebfedea0SLionel Sambuc sequence numbers 504*ebfedea0SLionel Sambuc * lib/krb5/changepw.c (krb5_change_password): clarify an 505*ebfedea0SLionel Sambuc expression, avoiding a warning 506*ebfedea0SLionel Sambuc 507*ebfedea0SLionel Sambuc2000-07-22 Johan Danielsson <joda@pdc.kth.se> 508*ebfedea0SLionel Sambuc 509*ebfedea0SLionel Sambuc * kuser/klist.c: make -a and -n aliases for -v 510*ebfedea0SLionel Sambuc 511*ebfedea0SLionel Sambuc * lib/krb5/write_message.c: ws 512*ebfedea0SLionel Sambuc 513*ebfedea0SLionel Sambuc * kdc/hprop-common.c: nuke extra definitions of 514*ebfedea0SLionel Sambuc krb5_read_priv_message et.al 515*ebfedea0SLionel Sambuc 516*ebfedea0SLionel Sambuc * lib/krb5/read_message.c (krb5_read_message): return error if EOF 517*ebfedea0SLionel Sambuc 518*ebfedea0SLionel Sambuc2000-07-20 Assar Westerlund <assar@sics.se> 519*ebfedea0SLionel Sambuc 520*ebfedea0SLionel Sambuc * kpasswd/kpasswd.c: print usage consistently 521*ebfedea0SLionel Sambuc * kdc/hprop.h (HPROP_KEYTAB): use HDB for the keytab 522*ebfedea0SLionel Sambuc * kdc/hpropd.c: add --keytab 523*ebfedea0SLionel Sambuc * kdc/hpropd.c: don't care what principal we recvauth as 524*ebfedea0SLionel Sambuc 525*ebfedea0SLionel Sambuc * lib/krb5/get_cred.c: be more careful of not returning creds at 526*ebfedea0SLionel Sambuc all when an error is returned 527*ebfedea0SLionel Sambuc * lib/krb5/fcache.c (fcc_gen_new): do mkstemp correctly 528*ebfedea0SLionel Sambuc 529*ebfedea0SLionel Sambuc2000-07-19 Johan Danielsson <joda@pdc.kth.se> 530*ebfedea0SLionel Sambuc 531*ebfedea0SLionel Sambuc * fix-export: use autoreconf 532*ebfedea0SLionel Sambuc 533*ebfedea0SLionel Sambuc * configure.in: remove stuff that belong in roken, and remove some 534*ebfedea0SLionel Sambuc obsolete constructs 535*ebfedea0SLionel Sambuc 536*ebfedea0SLionel Sambuc2000-07-18 Johan Danielsson <joda@pdc.kth.se> 537*ebfedea0SLionel Sambuc 538*ebfedea0SLionel Sambuc * configure.in: fix some typos 539*ebfedea0SLionel Sambuc 540*ebfedea0SLionel Sambuc * appl/Makefile.am: dceutil*s* 541*ebfedea0SLionel Sambuc 542*ebfedea0SLionel Sambuc * missing: update to missing from automake 1.4a 543*ebfedea0SLionel Sambuc 544*ebfedea0SLionel Sambuc2000-07-17 Johan Danielsson <joda@pdc.kth.se> 545*ebfedea0SLionel Sambuc 546*ebfedea0SLionel Sambuc * configure.in: try to get xlc flags from ibmcxx.cfg use 547*ebfedea0SLionel Sambuc conditional for X use readline cf macro 548*ebfedea0SLionel Sambuc 549*ebfedea0SLionel Sambuc * configure.in: subst AIX compiler flags 550*ebfedea0SLionel Sambuc 551*ebfedea0SLionel Sambuc2000-07-15 Johan Danielsson <joda@pdc.kth.se> 552*ebfedea0SLionel Sambuc 553*ebfedea0SLionel Sambuc * configure.in: pass sixth parameter to test-package; use some 554*ebfedea0SLionel Sambuc newer autoconf constructs 555*ebfedea0SLionel Sambuc 556*ebfedea0SLionel Sambuc * ltmain.sh: update to libtool 1.3c 557*ebfedea0SLionel Sambuc 558*ebfedea0SLionel Sambuc * ltconfig: update to libtool 1.3c 559*ebfedea0SLionel Sambuc 560*ebfedea0SLionel Sambuc * configure.in: update this to newer auto*/libtool 561*ebfedea0SLionel Sambuc 562*ebfedea0SLionel Sambuc * appl/Makefile.am: use conditional for dce 563*ebfedea0SLionel Sambuc 564*ebfedea0SLionel Sambuc * lib/Makefile.am: use conditional for dce 565*ebfedea0SLionel Sambuc 566*ebfedea0SLionel Sambuc2000-07-11 Johan Danielsson <joda@pdc.kth.se> 567*ebfedea0SLionel Sambuc 568*ebfedea0SLionel Sambuc * lib/krb5/write_message.c: krb5_write_{priv,save}_message 569*ebfedea0SLionel Sambuc * lib/krb5/read_message.c: krb5_read_{priv,save}_message 570*ebfedea0SLionel Sambuc * lib/krb5/convert_creds.c: try port kerberos/88 if no response on 571*ebfedea0SLionel Sambuc krb524/4444 572*ebfedea0SLionel Sambuc 573*ebfedea0SLionel Sambuc * lib/krb5/convert_creds.c: use krb5_sendto 574*ebfedea0SLionel Sambuc 575*ebfedea0SLionel Sambuc * lib/krb5/send_to_kdc.c: add more generic krb5_sendto that send 576*ebfedea0SLionel Sambuc to a port at arbitrary list of hosts 577*ebfedea0SLionel Sambuc 578*ebfedea0SLionel Sambuc2000-07-10 Johan Danielsson <joda@pdc.kth.se> 579*ebfedea0SLionel Sambuc 580*ebfedea0SLionel Sambuc * doc/misc.texi: language; say something about kadmin del_enctype 581*ebfedea0SLionel Sambuc 582*ebfedea0SLionel Sambuc2000-07-10 Assar Westerlund <assar@sics.se> 583*ebfedea0SLionel Sambuc 584*ebfedea0SLionel Sambuc * appl/kf/Makefile.am: actually install 585*ebfedea0SLionel Sambuc 586*ebfedea0SLionel Sambuc2000-07-08 Assar Westerlund <assar@sics.se> 587*ebfedea0SLionel Sambuc 588*ebfedea0SLionel Sambuc * configure.in (AM_INIT_AUTOMAKE): bump to 0.3a-pre 589*ebfedea0SLionel Sambuc (AC_ROKEN): roken is now at 10 590*ebfedea0SLionel Sambuc 591*ebfedea0SLionel Sambuc * lib/krb5/string-to-key-test.c: add a arcfour-hmac-md5 test case 592*ebfedea0SLionel Sambuc * kdc/Makefile.am (INCLUDES): add ../lib/krb5 593*ebfedea0SLionel Sambuc * configure.in: update for standalone roken 594*ebfedea0SLionel Sambuc * lib/Makefile.am (SUBDIRS): make roken conditional 595*ebfedea0SLionel Sambuc * kdc/hprop.c: update to new hdb_seal_keys_mkey 596*ebfedea0SLionel Sambuc * lib/hdb/mkey.c (_hdb_unseal_keys_int, _hdb_seal_keys_int): 597*ebfedea0SLionel Sambuc rename and export them 598*ebfedea0SLionel Sambuc 599*ebfedea0SLionel Sambuc * kdc/headers.h: add krb5_locl.h (since we just use some stuff 600*ebfedea0SLionel Sambuc from there) 601*ebfedea0SLionel Sambuc 602*ebfedea0SLionel Sambuc2000-07-08 Johan Danielsson <joda@pdc.kth.se> 603*ebfedea0SLionel Sambuc 604*ebfedea0SLionel Sambuc * kuser/klist.1: update for -f and add some more text for -v 605*ebfedea0SLionel Sambuc 606*ebfedea0SLionel Sambuc * kuser/klist.c: use rtbl to format cred listing, add -f and -s 607*ebfedea0SLionel Sambuc 608*ebfedea0SLionel Sambuc * lib/krb5/crypto.c: fix type in des3-cbc-none 609*ebfedea0SLionel Sambuc 610*ebfedea0SLionel Sambuc * lib/hdb/mkey.c: add key usage 611*ebfedea0SLionel Sambuc 612*ebfedea0SLionel Sambuc * kdc/kstash.c: remove writing of old keyfile, and treat 613*ebfedea0SLionel Sambuc --convert-file as just reading and writing the keyfile without 614*ebfedea0SLionel Sambuc asking for a new key 615*ebfedea0SLionel Sambuc 616*ebfedea0SLionel Sambuc * lib/hdb/mkey.c (read_master_encryptionkey): handle old keytype 617*ebfedea0SLionel Sambuc based files, and convert the key to cfb64 618*ebfedea0SLionel Sambuc 619*ebfedea0SLionel Sambuc * lib/hdb/mkey.c (hdb_read_master_key): set mkey to NULL before 620*ebfedea0SLionel Sambuc doing anything else 621*ebfedea0SLionel Sambuc 622*ebfedea0SLionel Sambuc * lib/krb5/send_to_kdc.c: use krb5_eai_to_heim_errno 623*ebfedea0SLionel Sambuc 624*ebfedea0SLionel Sambuc * lib/krb5/get_for_creds.c: use krb5_eai_to_heim_errno 625*ebfedea0SLionel Sambuc 626*ebfedea0SLionel Sambuc * lib/krb5/changepw.c: use krb5_eai_to_heim_errno 627*ebfedea0SLionel Sambuc 628*ebfedea0SLionel Sambuc * lib/krb5/addr_families.c: use krb5_eai_to_heim_errno 629*ebfedea0SLionel Sambuc 630*ebfedea0SLionel Sambuc * lib/krb5/eai_to_heim_errno.c: convert getaddrinfo error codes to 631*ebfedea0SLionel Sambuc something that can be passed to get_err_text 632*ebfedea0SLionel Sambuc 633*ebfedea0SLionel Sambuc2000-07-07 Assar Westerlund <assar@sics.se> 634*ebfedea0SLionel Sambuc 635*ebfedea0SLionel Sambuc * lib/hdb/hdb.c (hdb_next_enctype2key): make sure of skipping 636*ebfedea0SLionel Sambuc `*key' 637*ebfedea0SLionel Sambuc 638*ebfedea0SLionel Sambuc * kdc/kerberos4.c (get_des_key): rewrite some, be more careful 639*ebfedea0SLionel Sambuc 640*ebfedea0SLionel Sambuc2000-07-06 Assar Westerlund <assar@sics.se> 641*ebfedea0SLionel Sambuc 642*ebfedea0SLionel Sambuc * kdc/kerberos5.c (as_rep): be careful as to now overflowing when 643*ebfedea0SLionel Sambuc calculating the end of lifetime of a ticket. 644*ebfedea0SLionel Sambuc 645*ebfedea0SLionel Sambuc * lib/krb5/context.c (default_etypes): add ETYPE_ARCFOUR_HMAC_MD5 646*ebfedea0SLionel Sambuc 647*ebfedea0SLionel Sambuc * lib/hdb/db3.c: only use a cursor when needed, from Derrick J 648*ebfedea0SLionel Sambuc Brashear <shadow@dementia.org> 649*ebfedea0SLionel Sambuc 650*ebfedea0SLionel Sambuc * lib/krb5/crypto.c: introduce the `special' encryption methods 651*ebfedea0SLionel Sambuc that are not like all other encryption methods and implement 652*ebfedea0SLionel Sambuc arcfour-hmac-md5 653*ebfedea0SLionel Sambuc 654*ebfedea0SLionel Sambuc2000-07-05 Johan Danielsson <joda@pdc.kth.se> 655*ebfedea0SLionel Sambuc 656*ebfedea0SLionel Sambuc * kdc/mit_dump.c: set initial master key version number to 0 657*ebfedea0SLionel Sambuc instead of 1; if we lated bump the mkvno we don't risk using the 658*ebfedea0SLionel Sambuc wrong key to decrypt 659*ebfedea0SLionel Sambuc 660*ebfedea0SLionel Sambuc * kdc/hprop.c: only get master key if we're actually going to use 661*ebfedea0SLionel Sambuc it; enable reading of MIT krb5 dump files 662*ebfedea0SLionel Sambuc 663*ebfedea0SLionel Sambuc * kdc/mit_dump.c: read MIT krb5 dump files 664*ebfedea0SLionel Sambuc 665*ebfedea0SLionel Sambuc * lib/hdb/mkey.c (read_master_mit): fix this 666*ebfedea0SLionel Sambuc 667*ebfedea0SLionel Sambuc * kdc/kstash.c: make this work with the new mkey code 668*ebfedea0SLionel Sambuc 669*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am: add mkey.c, and bump version number 670*ebfedea0SLionel Sambuc 671*ebfedea0SLionel Sambuc * lib/hdb/hdb.h: rewrite master key handling 672*ebfedea0SLionel Sambuc 673*ebfedea0SLionel Sambuc * lib/hdb/mkey.c: rewrite master key handling 674*ebfedea0SLionel Sambuc 675*ebfedea0SLionel Sambuc * lib/krb5/crypto.c: add some more pseudo crypto types 676*ebfedea0SLionel Sambuc 677*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: change some funny etypes to use negative 678*ebfedea0SLionel Sambuc numbers, and add some more 679*ebfedea0SLionel Sambuc 680*ebfedea0SLionel Sambuc2000-07-04 Assar Westerlund <assar@sics.se> 681*ebfedea0SLionel Sambuc 682*ebfedea0SLionel Sambuc * lib/krb5/krbhst.c (get_krbhst): only try SRV lookup if there are 683*ebfedea0SLionel Sambuc none in the configuration file 684*ebfedea0SLionel Sambuc 685*ebfedea0SLionel Sambuc2000-07-02 Assar Westerlund <assar@sics.se> 686*ebfedea0SLionel Sambuc 687*ebfedea0SLionel Sambuc * lib/krb5/keytab_keyfile.c (akf_add_entry): remove unused 688*ebfedea0SLionel Sambuc variable 689*ebfedea0SLionel Sambuc 690*ebfedea0SLionel Sambuc * kpasswd/kpasswd-generator.c: new test program 691*ebfedea0SLionel Sambuc * kpasswd/Makefile.am: add kpasswd-generator 692*ebfedea0SLionel Sambuc 693*ebfedea0SLionel Sambuc * include/Makefile.am (CLEANFILES): add rc4.h 694*ebfedea0SLionel Sambuc 695*ebfedea0SLionel Sambuc * kuser/generate-requests.c: new test program 696*ebfedea0SLionel Sambuc * kuser/Makefile.am (noinst_PROGRAMS): add generate-requests 697*ebfedea0SLionel Sambuc 698*ebfedea0SLionel Sambuc2000-07-01 Assar Westerlund <assar@sics.se> 699*ebfedea0SLionel Sambuc 700*ebfedea0SLionel Sambuc * configure.in: add --enable-dce and related stuff 701*ebfedea0SLionel Sambuc * appl/Makefile.am (SUBDIRS): add $(APPL_dce) 702*ebfedea0SLionel Sambuc 703*ebfedea0SLionel Sambuc2000-06-29 Assar Westerlund <assar@sics.se> 704*ebfedea0SLionel Sambuc 705*ebfedea0SLionel Sambuc * kdc/kerberos4.c (get_des_key): fix thinkos/typos 706*ebfedea0SLionel Sambuc 707*ebfedea0SLionel Sambuc2000-06-29 Johan Danielsson <joda@pdc.kth.se> 708*ebfedea0SLionel Sambuc 709*ebfedea0SLionel Sambuc * admin/purge.c: use parse_time to parse age 710*ebfedea0SLionel Sambuc 711*ebfedea0SLionel Sambuc * lib/krb5/log.c (krb5_vlog_msg): use krb5_format_time 712*ebfedea0SLionel Sambuc 713*ebfedea0SLionel Sambuc * admin/list.c: add printing of timestamp and key data; some 714*ebfedea0SLionel Sambuc cleanup 715*ebfedea0SLionel Sambuc 716*ebfedea0SLionel Sambuc * lib/krb5/time.c (krb5_format_time): new function to format time 717*ebfedea0SLionel Sambuc 718*ebfedea0SLionel Sambuc * lib/krb5/context.c (init_context_from_config_file): init 719*ebfedea0SLionel Sambuc date_fmt, also do some cleanup 720*ebfedea0SLionel Sambuc 721*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: add date_fmt to context 722*ebfedea0SLionel Sambuc 723*ebfedea0SLionel Sambuc2000-06-28 Johan Danielsson <joda@pdc.kth.se> 724*ebfedea0SLionel Sambuc 725*ebfedea0SLionel Sambuc * kdc/{kerberos4,kaserver,524}.c (get_des_key): change to return 726*ebfedea0SLionel Sambuc v4 or afs keys if possible 727*ebfedea0SLionel Sambuc 728*ebfedea0SLionel Sambuc2000-06-25 Johan Danielsson <joda@pdc.kth.se> 729*ebfedea0SLionel Sambuc 730*ebfedea0SLionel Sambuc * kdc/hprop.c (ka_convert): allow using null salt, and treat 0 731*ebfedea0SLionel Sambuc pw_expire as never (from Derrick Brashear) 732*ebfedea0SLionel Sambuc 733*ebfedea0SLionel Sambuc2000-06-24 Johan Danielsson <joda@pdc.kth.se> 734*ebfedea0SLionel Sambuc 735*ebfedea0SLionel Sambuc * kdc/connect.c (add_standard_ports): only listen to port 750 if 736*ebfedea0SLionel Sambuc serving v4 requests 737*ebfedea0SLionel Sambuc 738*ebfedea0SLionel Sambuc2000-06-22 Assar Westerlund <assar@sics.se> 739*ebfedea0SLionel Sambuc 740*ebfedea0SLionel Sambuc * lib/asn1/lex.l: fix includes, and lex stuff 741*ebfedea0SLionel Sambuc * lib/asn1/lex.h (error_message): update prototype 742*ebfedea0SLionel Sambuc (yylex): add 743*ebfedea0SLionel Sambuc * lib/asn1/gen_length.c (length_type): fail on malloc error 744*ebfedea0SLionel Sambuc * lib/asn1/gen_decode.c (decode_type): fail on malloc error 745*ebfedea0SLionel Sambuc 746*ebfedea0SLionel Sambuc2000-06-21 Assar Westerlund <assar@sics.se> 747*ebfedea0SLionel Sambuc 748*ebfedea0SLionel Sambuc * lib/krb5/get_for_creds.c: be more compatible with MIT code. 749*ebfedea0SLionel Sambuc From Daniel Kouril <kouril@ics.muni.cz> 750*ebfedea0SLionel Sambuc * lib/krb5/rd_cred.c: be more compatible with MIT code. From 751*ebfedea0SLionel Sambuc Daniel Kouril <kouril@ics.muni.cz> 752*ebfedea0SLionel Sambuc * kdc/kerberos5.c (get_pa_etype_info): do not set salttype if it's 753*ebfedea0SLionel Sambuc vanilla pw-salt, that keeps win2k happy. also do the malloc check 754*ebfedea0SLionel Sambuc correctly. From Daniel Kouril <kouril@ics.muni.cz> 755*ebfedea0SLionel Sambuc 756*ebfedea0SLionel Sambuc2000-06-21 Johan Danielsson <joda@pdc.kth.se> 757*ebfedea0SLionel Sambuc 758*ebfedea0SLionel Sambuc * kdc/hprop.c: add hdb keytabs 759*ebfedea0SLionel Sambuc 760*ebfedea0SLionel Sambuc2000-06-20 Johan Danielsson <joda@pdc.kth.se> 761*ebfedea0SLionel Sambuc 762*ebfedea0SLionel Sambuc * lib/krb5/principal.c: back out rev. 1.64 763*ebfedea0SLionel Sambuc 764*ebfedea0SLionel Sambuc2000-06-19 Johan Danielsson <joda@pdc.kth.se> 765*ebfedea0SLionel Sambuc 766*ebfedea0SLionel Sambuc * kdc/kerberos5.c: pa_* -> KRB5_PADATA_* 767*ebfedea0SLionel Sambuc 768*ebfedea0SLionel Sambuc * kdc/hpropd.c: add realm override flag 769*ebfedea0SLionel Sambuc 770*ebfedea0SLionel Sambuc * kdc/v4_dump.c: code for reading krb4 dump files 771*ebfedea0SLionel Sambuc 772*ebfedea0SLionel Sambuc * kdc/hprop.c: generalize source database handing, add support for 773*ebfedea0SLionel Sambuc non-standard local realms (from by Daniel Kouril 774*ebfedea0SLionel Sambuc <kouril@ics.muni.cz> and Miroslav Ruda <ruda@ics.muni.cz>), and 775*ebfedea0SLionel Sambuc support for using different ports (requested by the Czechs, but 776*ebfedea0SLionel Sambuc implemented differently) 777*ebfedea0SLionel Sambuc 778*ebfedea0SLionel Sambuc * lib/krb5/get_cred.c: pa_* -> KRB5_PADATA_* 779*ebfedea0SLionel Sambuc 780*ebfedea0SLionel Sambuc * lib/krb5/get_in_tkt.c: pa_* -> KRB5_PADATA_* 781*ebfedea0SLionel Sambuc 782*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: use some definitions from asn1.h 783*ebfedea0SLionel Sambuc 784*ebfedea0SLionel Sambuc * lib/hdb/hdb.asn1: use new import syntax 785*ebfedea0SLionel Sambuc 786*ebfedea0SLionel Sambuc * lib/asn1/k5.asn1: use distinguished value integers 787*ebfedea0SLionel Sambuc 788*ebfedea0SLionel Sambuc * lib/asn1/gen_length.c: support for distinguished value integers 789*ebfedea0SLionel Sambuc 790*ebfedea0SLionel Sambuc * lib/asn1/gen_encode.c: support for distinguished value integers 791*ebfedea0SLionel Sambuc 792*ebfedea0SLionel Sambuc * lib/asn1/gen_decode.c: support for distinguished value integers 793*ebfedea0SLionel Sambuc 794*ebfedea0SLionel Sambuc * lib/asn1/gen.c: support for distinguished value integers 795*ebfedea0SLionel Sambuc 796*ebfedea0SLionel Sambuc * lib/asn1/lex.l: add support for more standards like import 797*ebfedea0SLionel Sambuc statements 798*ebfedea0SLionel Sambuc 799*ebfedea0SLionel Sambuc * lib/asn1/parse.y: add support for more standards like import 800*ebfedea0SLionel Sambuc statements, and distinguished value integers 801*ebfedea0SLionel Sambuc 802*ebfedea0SLionel Sambuc2000-06-11 Assar Westerlund <assar@sics.se> 803*ebfedea0SLionel Sambuc 804*ebfedea0SLionel Sambuc * lib/krb5/get_for_creds.c (add_addrs): ignore addresses of 805*ebfedea0SLionel Sambuc unknown type 806*ebfedea0SLionel Sambuc * lib/krb5/get_for_creds.c (add_addrs): zero memory before 807*ebfedea0SLionel Sambuc starting to copy memory 808*ebfedea0SLionel Sambuc 809*ebfedea0SLionel Sambuc2000-06-10 Assar Westerlund <assar@sics.se> 810*ebfedea0SLionel Sambuc 811*ebfedea0SLionel Sambuc * lib/krb5/test_get_addrs.c: test program for get_addrs 812*ebfedea0SLionel Sambuc * lib/krb5/get_addrs.c (find_all_addresses): remember to add in 813*ebfedea0SLionel Sambuc the size of ifr->ifr_name when using SA_LEN. noticed by Ken 814*ebfedea0SLionel Sambuc Raeburn <raeburn@MIT.EDU> 815*ebfedea0SLionel Sambuc 816*ebfedea0SLionel Sambuc2000-06-07 Assar Westerlund <assar@sics.se> 817*ebfedea0SLionel Sambuc 818*ebfedea0SLionel Sambuc * configure.in: add db3 detection stuff do not use streamsptys on 819*ebfedea0SLionel Sambuc HP-UX 11 820*ebfedea0SLionel Sambuc * lib/hdb/hdb.h (HDB): add dbc for db3 821*ebfedea0SLionel Sambuc * kdc/connect.c (add_standard_ports): also listen on krb524 aka 822*ebfedea0SLionel Sambuc 4444 823*ebfedea0SLionel Sambuc * etc/services.append (krb524): add 824*ebfedea0SLionel Sambuc * lib/hdb/db3.c: add berkeley db3 interface. contributed by 825*ebfedea0SLionel Sambuc Derrick J Brashear <shadow@dementia.org> 826*ebfedea0SLionel Sambuc * lib/hdb/hdb.h (struct HDB): add 827*ebfedea0SLionel Sambuc 828*ebfedea0SLionel Sambuc2000-06-07 Johan Danielsson <joda@pdc.kth.se> 829*ebfedea0SLionel Sambuc 830*ebfedea0SLionel Sambuc * kdc/524.c: if 524 is not enabled, just generate error reply and 831*ebfedea0SLionel Sambuc exit 832*ebfedea0SLionel Sambuc 833*ebfedea0SLionel Sambuc * kdc/kerberos4.c: if v4 is not enabled, just generate error reply 834*ebfedea0SLionel Sambuc and exit 835*ebfedea0SLionel Sambuc 836*ebfedea0SLionel Sambuc * kdc/connect.c: only listen to port 4444 if 524 is enabled 837*ebfedea0SLionel Sambuc 838*ebfedea0SLionel Sambuc * kdc/config.c: add options to enable/disable v4 and 524 requests 839*ebfedea0SLionel Sambuc 840*ebfedea0SLionel Sambuc2000-06-06 Johan Danielsson <joda@pdc.kth.se> 841*ebfedea0SLionel Sambuc 842*ebfedea0SLionel Sambuc * kdc/524.c: handle non-existant server principals (from Daniel 843*ebfedea0SLionel Sambuc Kouril) 844*ebfedea0SLionel Sambuc 845*ebfedea0SLionel Sambuc2000-06-03 Assar Westerlund <assar@sics.se> 846*ebfedea0SLionel Sambuc 847*ebfedea0SLionel Sambuc * admin/ktutil.c: print name when failing to open keytab 848*ebfedea0SLionel Sambuc 849*ebfedea0SLionel Sambuc * kuser/kinit.c: try also to fallback to v4 when no KDC is found 850*ebfedea0SLionel Sambuc 851*ebfedea0SLionel Sambuc2000-05-28 Assar Westerlund <assar@sics.se> 852*ebfedea0SLionel Sambuc 853*ebfedea0SLionel Sambuc * kuser/klist.c: continue even we have no v5 ccache. make showing 854*ebfedea0SLionel Sambuc your krb4 tickets the default (if build with krb4 support) 855*ebfedea0SLionel Sambuc * kuser/kinit.c: add a fallback that tries to get a v4 ticket if 856*ebfedea0SLionel Sambuc built with krb4 support and we got back a version error from the 857*ebfedea0SLionel Sambuc KDC 858*ebfedea0SLionel Sambuc 859*ebfedea0SLionel Sambuc2000-05-23 Johan Danielsson <joda@pdc.kth.se> 860*ebfedea0SLionel Sambuc 861*ebfedea0SLionel Sambuc * lib/krb5/keytab_keyfile.c: make this actually work 862*ebfedea0SLionel Sambuc 863*ebfedea0SLionel Sambuc2000-05-19 Assar Westerlund <assar@sics.se> 864*ebfedea0SLionel Sambuc 865*ebfedea0SLionel Sambuc * lib/krb5/store_emem.c (emem_store): make it write-compatible 866*ebfedea0SLionel Sambuc * lib/krb5/store_fd.c (fd_store): make it write-compatible 867*ebfedea0SLionel Sambuc * lib/krb5/store_mem.c (mem_store): make it write-compatible 868*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (krb5_storage): make store write-compatible 869*ebfedea0SLionel Sambuc 870*ebfedea0SLionel Sambuc2000-05-18 Assar Westerlund <assar@sics.se> 871*ebfedea0SLionel Sambuc 872*ebfedea0SLionel Sambuc * configure.in: add stdio.h in dbopen test 873*ebfedea0SLionel Sambuc 874*ebfedea0SLionel Sambuc2000-05-16 Assar Westerlund <assar@assaris.sics.se> 875*ebfedea0SLionel Sambuc 876*ebfedea0SLionel Sambuc * Release 0.2t 877*ebfedea0SLionel Sambuc 878*ebfedea0SLionel Sambuc2000-05-16 Assar Westerlund <assar@sics.se> 879*ebfedea0SLionel Sambuc 880*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): set version to 11:1:0 881*ebfedea0SLionel Sambuc * lib/krb5/fcache.c: fix second lseek 882*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_524_conv_principal): fix typo 883*ebfedea0SLionel Sambuc 884*ebfedea0SLionel Sambuc2000-05-15 Assar Westerlund <assar@sics.se> 885*ebfedea0SLionel Sambuc 886*ebfedea0SLionel Sambuc * Release 0.2s 887*ebfedea0SLionel Sambuc 888*ebfedea0SLionel Sambuc2000-05-15 Assar Westerlund <assar@sics.se> 889*ebfedea0SLionel Sambuc 890*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): set version to 11:0:0 891*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): set version to 4:2:1 892*ebfedea0SLionel Sambuc * lib/asn1/Makefile.am (libasn1_la_LDFLAGS): bump to 2:0:0 893*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_524_conv_principal): comment-ize, and 894*ebfedea0SLionel Sambuc simplify string copying 895*ebfedea0SLionel Sambuc 896*ebfedea0SLionel Sambuc2000-05-12 Assar Westerlund <assar@sics.se> 897*ebfedea0SLionel Sambuc 898*ebfedea0SLionel Sambuc * lib/krb5/fcache.c (scrub_file): new function 899*ebfedea0SLionel Sambuc (erase_file): re-write, use scrub_file 900*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (KRB5_DEFAULT_CCFILE_ROOT): add 901*ebfedea0SLionel Sambuc 902*ebfedea0SLionel Sambuc * configure.in (dbopen): add header files 903*ebfedea0SLionel Sambuc 904*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (krb5_key_usage): add some more 905*ebfedea0SLionel Sambuc * lib/krb5/fcache.c (erase_file): try to detect symlink games. 906*ebfedea0SLionel Sambuc also call revoke. 907*ebfedea0SLionel Sambuc * lib/krb5/changepw.c (krb5_change_password): remember to close 908*ebfedea0SLionel Sambuc the socket on error 909*ebfedea0SLionel Sambuc 910*ebfedea0SLionel Sambuc * kdc/main.c (main): also call sigterm on SIGTERM 911*ebfedea0SLionel Sambuc 912*ebfedea0SLionel Sambuc2000-05-06 Assar Westerlund <assar@sics.se> 913*ebfedea0SLionel Sambuc 914*ebfedea0SLionel Sambuc * lib/krb5/config_file.c (krb5_config_vget_string_default, 915*ebfedea0SLionel Sambuc krb5_config_get_string_default): add 916*ebfedea0SLionel Sambuc 917*ebfedea0SLionel Sambuc2000-04-25 Assar Westerlund <assar@sics.se> 918*ebfedea0SLionel Sambuc 919*ebfedea0SLionel Sambuc * lib/krb5/fcache.c (fcc_initialize): just forget about 920*ebfedea0SLionel Sambuc over-writing the old cred cache. it's too much of a hazzle trying 921*ebfedea0SLionel Sambuc to do this safely. 922*ebfedea0SLionel Sambuc 923*ebfedea0SLionel Sambuc2000-04-11 Assar Westerlund <assar@sics.se> 924*ebfedea0SLionel Sambuc 925*ebfedea0SLionel Sambuc * lib/krb5/crypto.c (krb5_get_wrapped_length): rewrite into 926*ebfedea0SLionel Sambuc different parts for the derived and non-derived cases 927*ebfedea0SLionel Sambuc * lib/krb5/crypto.c (krb5_get_wrapped_length): the padding should 928*ebfedea0SLionel Sambuc be done after having added confounder and checksum 929*ebfedea0SLionel Sambuc 930*ebfedea0SLionel Sambuc2000-04-09 Assar Westerlund <assar@sics.se> 931*ebfedea0SLionel Sambuc 932*ebfedea0SLionel Sambuc * lib/krb5/get_addrs.c (find_all_addresses): apperently solaris 933*ebfedea0SLionel Sambuc can return EINVAL when the buffer is too small. cope. 934*ebfedea0SLionel Sambuc * lib/asn1/Makefile.am (gen_files): add asn1_UNSIGNED.x 935*ebfedea0SLionel Sambuc * lib/asn1/gen_locl.h (filename): add prototype 936*ebfedea0SLionel Sambuc (init_generate): const-ize 937*ebfedea0SLionel Sambuc * lib/asn1/gen.c (filename): new function clean-up a little bit. 938*ebfedea0SLionel Sambuc * lib/asn1/parse.y: be more tolerant in ranges 939*ebfedea0SLionel Sambuc * lib/asn1/lex.l: count lines correctly. 940*ebfedea0SLionel Sambuc (error_message): print filename in messages 941*ebfedea0SLionel Sambuc 942*ebfedea0SLionel Sambuc2000-04-08 Assar Westerlund <assar@sics.se> 943*ebfedea0SLionel Sambuc 944*ebfedea0SLionel Sambuc * lib/krb5/rd_safe.c (krb5_rd_safe): increment sequence number 945*ebfedea0SLionel Sambuc after comparing 946*ebfedea0SLionel Sambuc * lib/krb5/rd_priv.c (krb5_rd_priv): increment sequence number 947*ebfedea0SLionel Sambuc after comparing 948*ebfedea0SLionel Sambuc * lib/krb5/mk_safe.c (krb5_mk_safe): make `tmp_seq' unsigned 949*ebfedea0SLionel Sambuc * lib/krb5/mk_priv.c (krb5_mk_priv): make `tmp_seq' unsigned 950*ebfedea0SLionel Sambuc * lib/krb5/generate_seq_number.c (krb5_generate_seq_number): make 951*ebfedea0SLionel Sambuc `seqno' be unsigned 952*ebfedea0SLionel Sambuc * lib/krb5/mk_safe.c (krb5_mk_safe): increment local sequence 953*ebfedea0SLionel Sambuc number after the fact and only increment it if we were successful 954*ebfedea0SLionel Sambuc * lib/krb5/mk_priv.c (krb5_mk_priv): increment local sequence 955*ebfedea0SLionel Sambuc number after the fact and only increment it if we were successful 956*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (krb5_auth_context_data): make sequence number 957*ebfedea0SLionel Sambuc unsigned 958*ebfedea0SLionel Sambuc 959*ebfedea0SLionel Sambuc * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): 960*ebfedea0SLionel Sambuc `in_tkt_service' can be NULL 961*ebfedea0SLionel Sambuc 962*ebfedea0SLionel Sambuc2000-04-06 Assar Westerlund <assar@sics.se> 963*ebfedea0SLionel Sambuc 964*ebfedea0SLionel Sambuc * lib/asn1/parse.y: regonize INTEGER (0..UNIT_MAX). 965*ebfedea0SLionel Sambuc (DOTDOT): add 966*ebfedea0SLionel Sambuc * lib/asn1/lex.l (DOTDOT): add 967*ebfedea0SLionel Sambuc * lib/asn1/k5.asn1 (UNSIGNED): add. use UNSIGNED for all sequence 968*ebfedea0SLionel Sambuc numbers. 969*ebfedea0SLionel Sambuc * lib/asn1/gen_length.c (length_type): add TUInteger 970*ebfedea0SLionel Sambuc * lib/asn1/gen_free.c (free_type): add TUInteger 971*ebfedea0SLionel Sambuc * lib/asn1/gen_encode.c (encode_type, generate_type_encode): add 972*ebfedea0SLionel Sambuc TUInteger 973*ebfedea0SLionel Sambuc * lib/asn1/gen_decode.c (decode_type, generate_type_decode): add 974*ebfedea0SLionel Sambuc TUInteger 975*ebfedea0SLionel Sambuc * lib/asn1/gen_copy.c (copy_type): add TUInteger 976*ebfedea0SLionel Sambuc * lib/asn1/gen.c (define_asn1): add TUInteger 977*ebfedea0SLionel Sambuc * lib/asn1/der_put.c (encode_unsigned): add 978*ebfedea0SLionel Sambuc * lib/asn1/der_length.c (length_unsigned): add 979*ebfedea0SLionel Sambuc * lib/asn1/der_get.c (decode_unsigned): add 980*ebfedea0SLionel Sambuc * lib/asn1/der.h (decode_unsigned, encode_unsigned, 981*ebfedea0SLionel Sambuc length_unsigned): add prototypes 982*ebfedea0SLionel Sambuc 983*ebfedea0SLionel Sambuc * lib/asn1/k5.asn1: update pre-authentication types 984*ebfedea0SLionel Sambuc * lib/krb5/krb5_err.et: add some error codes from pkinit 985*ebfedea0SLionel Sambuc 986*ebfedea0SLionel Sambuc2000-04-05 Assar Westerlund <assar@sics.se> 987*ebfedea0SLionel Sambuc 988*ebfedea0SLionel Sambuc * lib/hdb/hdb.c: add support for hdb methods (aka back-ends). 989*ebfedea0SLionel Sambuc include ldap. 990*ebfedea0SLionel Sambuc * lib/hdb/hdb-ldap.c: tweak the ifdef to OPENLDAP 991*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am: add hdb-ldap.c and openldap 992*ebfedea0SLionel Sambuc * kdc/Makefile.am, kpasswd/Makefile.am, kadmin/Makefile.am: add 993*ebfedea0SLionel Sambuc * configure.in: bump version to 0.2s-pre add options and testing 994*ebfedea0SLionel Sambuc for (open)ldap 995*ebfedea0SLionel Sambuc 996*ebfedea0SLionel Sambuc2000-04-04 Assar Westerlund <assar@sics.se> 997*ebfedea0SLionel Sambuc 998*ebfedea0SLionel Sambuc * configure.in (krb4): fix the krb_mk_req test 999*ebfedea0SLionel Sambuc 1000*ebfedea0SLionel Sambuc2000-04-03 Assar Westerlund <assar@sics.se> 1001*ebfedea0SLionel Sambuc 1002*ebfedea0SLionel Sambuc * configure.in (krb4): add test for const arguments to krb_mk_req 1003*ebfedea0SLionel Sambuc * lib/45/mk_req.c (krb_mk_req): conditionalize const-ness of 1004*ebfedea0SLionel Sambuc arguments 1005*ebfedea0SLionel Sambuc 1006*ebfedea0SLionel Sambuc2000-04-03 Assar Westerlund <assar@sics.se> 1007*ebfedea0SLionel Sambuc 1008*ebfedea0SLionel Sambuc * Release 0.2r 1009*ebfedea0SLionel Sambuc 1010*ebfedea0SLionel Sambuc2000-04-03 Assar Westerlund <assar@sics.se> 1011*ebfedea0SLionel Sambuc 1012*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: set version to 10:0:0 1013*ebfedea0SLionel Sambuc * lib/45/mk_req.c (krb_mk_req): const-ize the arguments 1014*ebfedea0SLionel Sambuc 1015*ebfedea0SLionel Sambuc2000-03-30 Assar Westerlund <assar@sics.se> 1016*ebfedea0SLionel Sambuc 1017*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_425_conv_principal_ext): add some 1018*ebfedea0SLionel Sambuc comments. add fall-back on adding the realm name in lower case. 1019*ebfedea0SLionel Sambuc 1020*ebfedea0SLionel Sambuc2000-03-29 Assar Westerlund <assar@sics.se> 1021*ebfedea0SLionel Sambuc 1022*ebfedea0SLionel Sambuc * kdc/connect.c: remember to repoint all descr->sa to _ss after 1023*ebfedea0SLionel Sambuc realloc as this might have moved the memory around. problem 1024*ebfedea0SLionel Sambuc discovered and diagnosed by Brandon S. Allbery 1025*ebfedea0SLionel Sambuc 1026*ebfedea0SLionel Sambuc2000-03-27 Assar Westerlund <assar@sics.se> 1027*ebfedea0SLionel Sambuc 1028*ebfedea0SLionel Sambuc * configure.in: recognize solaris 2.8 1029*ebfedea0SLionel Sambuc * config.guess, config.sub: update to current version from 1030*ebfedea0SLionel Sambuc :pserver:anoncvs@subversions.gnu.org:/home/cvs 1031*ebfedea0SLionel Sambuc 1032*ebfedea0SLionel Sambuc * lib/krb5/init_creds_pw.c (print_expire): do not assume anything 1033*ebfedea0SLionel Sambuc about the size of time_t, i.e. make it 64-bit happy 1034*ebfedea0SLionel Sambuc 1035*ebfedea0SLionel Sambuc2000-03-13 Assar Westerlund <assar@sics.se> 1036*ebfedea0SLionel Sambuc 1037*ebfedea0SLionel Sambuc * kuser/klist.c: add support for display v4 tickets 1038*ebfedea0SLionel Sambuc 1039*ebfedea0SLionel Sambuc2000-03-11 Assar Westerlund <assar@sics.se> 1040*ebfedea0SLionel Sambuc 1041*ebfedea0SLionel Sambuc * kdc/kaserver.c (do_authenticate, do_getticket): call check_flags 1042*ebfedea0SLionel Sambuc * kdc/kerberos4.c (do_version4): call check_flags. 1043*ebfedea0SLionel Sambuc * kdc/kerberos5.c (check_flags): make global 1044*ebfedea0SLionel Sambuc 1045*ebfedea0SLionel Sambuc2000-03-10 Assar Westerlund <assar@sics.se> 1046*ebfedea0SLionel Sambuc 1047*ebfedea0SLionel Sambuc * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): evil 1048*ebfedea0SLionel Sambuc hack to avoid recursion 1049*ebfedea0SLionel Sambuc 1050*ebfedea0SLionel Sambuc2000-03-04 Assar Westerlund <assar@sics.se> 1051*ebfedea0SLionel Sambuc 1052*ebfedea0SLionel Sambuc * kuser/kinit.c: add `krb4_get_tickets' per realm. add --anonymous 1053*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (krb5_get_init_creds_opt): add `anonymous' and 1054*ebfedea0SLionel Sambuc KRB5_GET_INIT_CREDS_OPT_ANONYMOUS 1055*ebfedea0SLionel Sambuc * lib/krb5/init_creds_pw.c (get_init_creds_common): set 1056*ebfedea0SLionel Sambuc request_anonymous flag appropriatly 1057*ebfedea0SLionel Sambuc * lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_anonymous): 1058*ebfedea0SLionel Sambuc add 1059*ebfedea0SLionel Sambuc 1060*ebfedea0SLionel Sambuc * lib/krb5/get_in_tkt.c (_krb5_extract_ticket): new parameter to 1061*ebfedea0SLionel Sambuc determine whetever to ignore client name of not. always copy 1062*ebfedea0SLionel Sambuc client name from kdc. fix callers. 1063*ebfedea0SLionel Sambuc 1064*ebfedea0SLionel Sambuc * kdc: add support for anonymous tickets 1065*ebfedea0SLionel Sambuc 1066*ebfedea0SLionel Sambuc * kdc/string2key.8: add man-page for string2key 1067*ebfedea0SLionel Sambuc 1068*ebfedea0SLionel Sambuc2000-03-03 Assar Westerlund <assar@sics.se> 1069*ebfedea0SLionel Sambuc 1070*ebfedea0SLionel Sambuc * kdc/hpropd.c (dump_krb4): get expiration date from `valid_end' 1071*ebfedea0SLionel Sambuc and not `pw_end' 1072*ebfedea0SLionel Sambuc 1073*ebfedea0SLionel Sambuc * kdc/kadb.h (ka_entry): fix name pw_end -> valid_end. add some 1074*ebfedea0SLionel Sambuc more fields 1075*ebfedea0SLionel Sambuc 1076*ebfedea0SLionel Sambuc * kdc/hprop.c (v4_prop): set the `valid_end' from the v4 1077*ebfedea0SLionel Sambuc expiration date instead of the `pw_expire' 1078*ebfedea0SLionel Sambuc (ka_convert): set `valid_end' from ka expiration data and `pw_expire' 1079*ebfedea0SLionel Sambuc from pw_change + pw_expire 1080*ebfedea0SLionel Sambuc (main): add a default database for ka dumping 1081*ebfedea0SLionel Sambuc 1082*ebfedea0SLionel Sambuc2000-02-28 Assar Westerlund <assar@sics.se> 1083*ebfedea0SLionel Sambuc 1084*ebfedea0SLionel Sambuc * lib/krb5/context.c (init_context_from_config_file): change 1085*ebfedea0SLionel Sambuc rfc2052 default to no. 2782 says that underscore should be used. 1086*ebfedea0SLionel Sambuc 1087*ebfedea0SLionel Sambuc2000-02-24 Assar Westerlund <assar@sics.se> 1088*ebfedea0SLionel Sambuc 1089*ebfedea0SLionel Sambuc * lib/krb5/fcache.c (fcc_initialize, fcc_store_cred): verify that 1090*ebfedea0SLionel Sambuc stores and close succeed 1091*ebfedea0SLionel Sambuc * lib/krb5/store.c (krb5_store_creds): check to see that the 1092*ebfedea0SLionel Sambuc stores are succesful. 1093*ebfedea0SLionel Sambuc 1094*ebfedea0SLionel Sambuc2000-02-23 Assar Westerlund <assar@sics.se> 1095*ebfedea0SLionel Sambuc 1096*ebfedea0SLionel Sambuc * Release 0.2q 1097*ebfedea0SLionel Sambuc 1098*ebfedea0SLionel Sambuc2000-02-22 Assar Westerlund <assar@sics.se> 1099*ebfedea0SLionel Sambuc 1100*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: set version to 9:2:0 1101*ebfedea0SLionel Sambuc 1102*ebfedea0SLionel Sambuc * lib/krb5/expand_hostname.c (krb5_expand_hostname_realms): copy 1103*ebfedea0SLionel Sambuc the correct hostname 1104*ebfedea0SLionel Sambuc 1105*ebfedea0SLionel Sambuc * kdc/connect.c (add_new_tcp): use the correct entries in the 1106*ebfedea0SLionel Sambuc descriptor table 1107*ebfedea0SLionel Sambuc * kdc/connect.c: initialize `descr' uniformly and correctly 1108*ebfedea0SLionel Sambuc 1109*ebfedea0SLionel Sambuc2000-02-20 Assar Westerlund <assar@sics.se> 1110*ebfedea0SLionel Sambuc 1111*ebfedea0SLionel Sambuc * Release 0.2p 1112*ebfedea0SLionel Sambuc 1113*ebfedea0SLionel Sambuc2000-02-19 Assar Westerlund <assar@sics.se> 1114*ebfedea0SLionel Sambuc 1115*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: set version to 9:1:0 1116*ebfedea0SLionel Sambuc 1117*ebfedea0SLionel Sambuc * lib/krb5/expand_hostname.c (krb5_expand_hostname): make sure 1118*ebfedea0SLionel Sambuc that realms is filled in even when getaddrinfo fails or does not 1119*ebfedea0SLionel Sambuc return any canonical name 1120*ebfedea0SLionel Sambuc 1121*ebfedea0SLionel Sambuc * kdc/connect.c (descr): add sockaddr and string representation 1122*ebfedea0SLionel Sambuc (*): re-write to use the above mentioned 1123*ebfedea0SLionel Sambuc 1124*ebfedea0SLionel Sambuc2000-02-16 Assar Westerlund <assar@sics.se> 1125*ebfedea0SLionel Sambuc 1126*ebfedea0SLionel Sambuc * lib/krb5/addr_families.c (krb5_parse_address): use 1127*ebfedea0SLionel Sambuc krb5_sockaddr2address to copy the result from getaddrinfo. 1128*ebfedea0SLionel Sambuc 1129*ebfedea0SLionel Sambuc2000-02-14 Assar Westerlund <assar@sics.se> 1130*ebfedea0SLionel Sambuc 1131*ebfedea0SLionel Sambuc * Release 0.2o 1132*ebfedea0SLionel Sambuc 1133*ebfedea0SLionel Sambuc2000-02-13 Assar Westerlund <assar@sics.se> 1134*ebfedea0SLionel Sambuc 1135*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: set version to 9:0:0 1136*ebfedea0SLionel Sambuc 1137*ebfedea0SLionel Sambuc * kdc/kaserver.c (do_authenticate): return the kvno of the server 1138*ebfedea0SLionel Sambuc and not the client. Thanks to Brandon S. Allbery KF8NH 1139*ebfedea0SLionel Sambuc <allbery@kf8nh.apk.net> and Chaskiel M Grundman 1140*ebfedea0SLionel Sambuc <cg2v@andrew.cmu.edu> for debugging. 1141*ebfedea0SLionel Sambuc 1142*ebfedea0SLionel Sambuc * kdc/kerberos4.c (do_version4): if an tgs-req is received with an 1143*ebfedea0SLionel Sambuc old kvno, return an error reply and write a message in the log. 1144*ebfedea0SLionel Sambuc 1145*ebfedea0SLionel Sambuc2000-02-12 Assar Westerlund <assar@sics.se> 1146*ebfedea0SLionel Sambuc 1147*ebfedea0SLionel Sambuc * appl/test/gssapi_server.c (proto): with `--fork', create a child 1148*ebfedea0SLionel Sambuc and send over/receive creds with export/import_sec_context 1149*ebfedea0SLionel Sambuc * appl/test/gssapi_client.c (proto): with `--fork', create a child 1150*ebfedea0SLionel Sambuc and send over/receive creds with export/import_sec_context 1151*ebfedea0SLionel Sambuc * appl/test/common.c: add `--fork' / `-f' (only used by gssapi) 1152*ebfedea0SLionel Sambuc 1153*ebfedea0SLionel Sambuc2000-02-11 Assar Westerlund <assar@sics.se> 1154*ebfedea0SLionel Sambuc 1155*ebfedea0SLionel Sambuc * kdc/kdc_locl.h: remove keyfile add explicit_addresses 1156*ebfedea0SLionel Sambuc * kdc/connect.c (init_sockets): pay attention to 1157*ebfedea0SLionel Sambuc explicit_addresses some more comments. better error messages. 1158*ebfedea0SLionel Sambuc * kdc/config.c: add some comments. 1159*ebfedea0SLionel Sambuc remove --key-file. 1160*ebfedea0SLionel Sambuc add --addresses. 1161*ebfedea0SLionel Sambuc 1162*ebfedea0SLionel Sambuc * lib/krb5/context.c (krb5_set_extra_addresses): const-ize and use 1163*ebfedea0SLionel Sambuc proper abstraction 1164*ebfedea0SLionel Sambuc 1165*ebfedea0SLionel Sambuc2000-02-07 Johan Danielsson <joda@pdc.kth.se> 1166*ebfedea0SLionel Sambuc 1167*ebfedea0SLionel Sambuc * lib/krb5/changepw.c: use roken_getaddrinfo_hostspec 1168*ebfedea0SLionel Sambuc 1169*ebfedea0SLionel Sambuc2000-02-07 Assar Westerlund <assar@sics.se> 1170*ebfedea0SLionel Sambuc 1171*ebfedea0SLionel Sambuc * Release 0.2n 1172*ebfedea0SLionel Sambuc 1173*ebfedea0SLionel Sambuc2000-02-07 Assar Westerlund <assar@sics.se> 1174*ebfedea0SLionel Sambuc 1175*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: set version to 8:0:0 1176*ebfedea0SLionel Sambuc * lib/krb5/keytab.c (krb5_kt_default_name): use strlcpy 1177*ebfedea0SLionel Sambuc (krb5_kt_add_entry): set timestamp 1178*ebfedea0SLionel Sambuc 1179*ebfedea0SLionel Sambuc2000-02-06 Assar Westerlund <assar@sics.se> 1180*ebfedea0SLionel Sambuc 1181*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: add macros for accessing krb5_realm 1182*ebfedea0SLionel Sambuc * lib/krb5/time.c (krb5_timeofday): use `krb5_timestamp' instead 1183*ebfedea0SLionel Sambuc of `int32_t' 1184*ebfedea0SLionel Sambuc 1185*ebfedea0SLionel Sambuc * lib/krb5/replay.c (checksum_authenticator): update to new API 1186*ebfedea0SLionel Sambuc for md5 1187*ebfedea0SLionel Sambuc 1188*ebfedea0SLionel Sambuc * lib/krb5/krb5.h: remove des.h, it's not needed and applications 1189*ebfedea0SLionel Sambuc should not have to make sure to find it. 1190*ebfedea0SLionel Sambuc 1191*ebfedea0SLionel Sambuc2000-02-03 Assar Westerlund <assar@sics.se> 1192*ebfedea0SLionel Sambuc 1193*ebfedea0SLionel Sambuc * lib/krb5/rd_req.c (get_key_from_keytab): rename parameter to 1194*ebfedea0SLionel Sambuc `out_key' to avoid conflicting with label. reported by Sean Doran 1195*ebfedea0SLionel Sambuc <smd@ebone.net> 1196*ebfedea0SLionel Sambuc 1197*ebfedea0SLionel Sambuc2000-02-02 Assar Westerlund <assar@sics.se> 1198*ebfedea0SLionel Sambuc 1199*ebfedea0SLionel Sambuc * lib/krb5/expand_hostname.c: remember to lower-case host names. 1200*ebfedea0SLionel Sambuc bug reported by <amu@mit.edu> 1201*ebfedea0SLionel Sambuc 1202*ebfedea0SLionel Sambuc * kdc/kerberos4.c (do_version4): look at check_ticket_addresses 1203*ebfedea0SLionel Sambuc and emulate that by setting krb_ignore_ip_address (not a great 1204*ebfedea0SLionel Sambuc interface but it doesn't seem like the time to go around fixing 1205*ebfedea0SLionel Sambuc libkrb stuff now) 1206*ebfedea0SLionel Sambuc 1207*ebfedea0SLionel Sambuc2000-02-01 Johan Danielsson <joda@pdc.kth.se> 1208*ebfedea0SLionel Sambuc 1209*ebfedea0SLionel Sambuc * kuser/kinit.c: change --noaddresses into --no-addresses 1210*ebfedea0SLionel Sambuc 1211*ebfedea0SLionel Sambuc2000-01-28 Assar Westerlund <assar@sics.se> 1212*ebfedea0SLionel Sambuc 1213*ebfedea0SLionel Sambuc * kpasswd/kpasswd.c (main): make sure the ticket is not 1214*ebfedea0SLionel Sambuc forwardable and not proxiable 1215*ebfedea0SLionel Sambuc 1216*ebfedea0SLionel Sambuc2000-01-26 Assar Westerlund <assar@sics.se> 1217*ebfedea0SLionel Sambuc 1218*ebfedea0SLionel Sambuc * lib/krb5/crypto.c: update to pseudo-standard APIs for 1219*ebfedea0SLionel Sambuc md4,md5,sha. some changes to libdes calls to make them more 1220*ebfedea0SLionel Sambuc portable. 1221*ebfedea0SLionel Sambuc 1222*ebfedea0SLionel Sambuc2000-01-21 Assar Westerlund <assar@sics.se> 1223*ebfedea0SLionel Sambuc 1224*ebfedea0SLionel Sambuc * lib/krb5/verify_init.c (krb5_verify_init_creds): make sure to 1225*ebfedea0SLionel Sambuc clean up the correct creds. 1226*ebfedea0SLionel Sambuc 1227*ebfedea0SLionel Sambuc2000-01-16 Assar Westerlund <assar@sics.se> 1228*ebfedea0SLionel Sambuc 1229*ebfedea0SLionel Sambuc * lib/krb5/principal.c (append_component): change parameter to 1230*ebfedea0SLionel Sambuc `const char *'. check malloc 1231*ebfedea0SLionel Sambuc * lib/krb5/principal.c (append_component, va_ext_princ, va_princ): 1232*ebfedea0SLionel Sambuc const-ize 1233*ebfedea0SLionel Sambuc * lib/krb5/mk_req.c (krb5_mk_req): make `service' and `hostname' 1234*ebfedea0SLionel Sambuc const 1235*ebfedea0SLionel Sambuc * lib/krb5/principal.c (replace_chars): also add space here 1236*ebfedea0SLionel Sambuc * lib/krb5/principal.c: (quotable_chars): add space 1237*ebfedea0SLionel Sambuc 1238*ebfedea0SLionel Sambuc2000-01-12 Assar Westerlund <assar@sics.se> 1239*ebfedea0SLionel Sambuc 1240*ebfedea0SLionel Sambuc * kdc/kerberos4.c (do_version4): check if preauth was required and 1241*ebfedea0SLionel Sambuc bail-out if so since there's no way that could be done in v4. 1242*ebfedea0SLionel Sambuc Return NULL_KEY as an error to the client (which is non-obvious, 1243*ebfedea0SLionel Sambuc but what can you do?) 1244*ebfedea0SLionel Sambuc 1245*ebfedea0SLionel Sambuc2000-01-09 Assar Westerlund <assar@sics.se> 1246*ebfedea0SLionel Sambuc 1247*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_sname_to_principal): use 1248*ebfedea0SLionel Sambuc krb5_expand_hostname_realms 1249*ebfedea0SLionel Sambuc * lib/krb5/mk_req.c (krb5_km_req): use krb5_expand_hostname_realms 1250*ebfedea0SLionel Sambuc * lib/krb5/expand_hostname.c (krb5_expand_hostname_realms): new 1251*ebfedea0SLionel Sambuc variant of krb5_expand_hostname that tries until it expands into 1252*ebfedea0SLionel Sambuc something that's digestable by krb5_get_host_realm, returning also 1253*ebfedea0SLionel Sambuc the result from that function. 1254*ebfedea0SLionel Sambuc 1255*ebfedea0SLionel Sambuc2000-01-08 Assar Westerlund <assar@sics.se> 1256*ebfedea0SLionel Sambuc 1257*ebfedea0SLionel Sambuc * Release 0.2m 1258*ebfedea0SLionel Sambuc 1259*ebfedea0SLionel Sambuc2000-01-08 Assar Westerlund <assar@sics.se> 1260*ebfedea0SLionel Sambuc 1261*ebfedea0SLionel Sambuc * configure.in: replace AC_C_BIGENDIAN with KRB_C_BIGENDIAN 1262*ebfedea0SLionel Sambuc 1263*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: bump version to 7:1:0 1264*ebfedea0SLionel Sambuc 1265*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_sname_to_principal): use 1266*ebfedea0SLionel Sambuc krb5_expand_hostname 1267*ebfedea0SLionel Sambuc * lib/krb5/expand_hostname.c (krb5_expand_hostname): handle 1268*ebfedea0SLionel Sambuc ai_canonname being set in any of the addresses returnedby 1269*ebfedea0SLionel Sambuc getaddrinfo. glibc apparently returns the reverse lookup of every 1270*ebfedea0SLionel Sambuc address in ai_canonname. 1271*ebfedea0SLionel Sambuc 1272*ebfedea0SLionel Sambuc2000-01-06 Assar Westerlund <assar@sics.se> 1273*ebfedea0SLionel Sambuc 1274*ebfedea0SLionel Sambuc * Release 0.2l 1275*ebfedea0SLionel Sambuc 1276*ebfedea0SLionel Sambuc2000-01-06 Assar Westerlund <assar@sics.se> 1277*ebfedea0SLionel Sambuc 1278*ebfedea0SLionel Sambuc * lib/krb5/Makefile.am: set version to 7:0:0 1279*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_sname_to_principal): remove `hp' 1280*ebfedea0SLionel Sambuc 1281*ebfedea0SLionel Sambuc * lib/hdb/Makefile.am: set version to 4:1:1 1282*ebfedea0SLionel Sambuc 1283*ebfedea0SLionel Sambuc * kdc/hpropd.c (dump_krb4): use `krb5_get_default_realms' 1284*ebfedea0SLionel Sambuc * lib/krb5/get_in_tkt.c (add_padata): change types to make 1285*ebfedea0SLionel Sambuc everything work out 1286*ebfedea0SLionel Sambuc (krb5_get_in_cred): remove const to make types match 1287*ebfedea0SLionel Sambuc * lib/krb5/crypto.c (ARCFOUR_string_to_key): correct signature 1288*ebfedea0SLionel Sambuc * lib/krb5/principal.c (krb5_sname_to_principal): handle not 1289*ebfedea0SLionel Sambuc getting back a canonname 1290*ebfedea0SLionel Sambuc 1291*ebfedea0SLionel Sambuc2000-01-06 Assar Westerlund <assar@sics.se> 1292*ebfedea0SLionel Sambuc 1293*ebfedea0SLionel Sambuc * Release 0.2k 1294*ebfedea0SLionel Sambuc 1295*ebfedea0SLionel Sambuc2000-01-06 Assar Westerlund <assar@sics.se> 1296*ebfedea0SLionel Sambuc 1297*ebfedea0SLionel Sambuc * lib/krb5/send_to_kdc.c (krb5_sendto_kdc): advance colon so that 1298*ebfedea0SLionel Sambuc we actually parse the port number. based on a patch from Leif 1299*ebfedea0SLionel Sambuc Johansson <leifj@it.su.se> 1300*ebfedea0SLionel Sambuc 1301*ebfedea0SLionel Sambuc2000-01-02 Assar Westerlund <assar@sics.se> 1302*ebfedea0SLionel Sambuc 1303*ebfedea0SLionel Sambuc * admin/purge.c: remove all non-current and old entries from a 1304*ebfedea0SLionel Sambuc keytab 1305*ebfedea0SLionel Sambuc 1306*ebfedea0SLionel Sambuc * admin: break up ktutil.c into files 1307*ebfedea0SLionel Sambuc 1308*ebfedea0SLionel Sambuc * admin/ktutil.c (list): support --verbose (also listning time 1309*ebfedea0SLionel Sambuc stamps) 1310*ebfedea0SLionel Sambuc (kt_add, kt_get): set timestamp in newly created entries 1311*ebfedea0SLionel Sambuc (kt_change): add `change' command 1312*ebfedea0SLionel Sambuc 1313*ebfedea0SLionel Sambuc * admin/srvconvert.c (srvconv): set timestamp in newly created 1314*ebfedea0SLionel Sambuc entries 1315*ebfedea0SLionel Sambuc * lib/krb5/keytab_keyfile.c (akf_next_entry): set timetsamp, 1316*ebfedea0SLionel Sambuc always go the a predicatble position on error 1317*ebfedea0SLionel Sambuc * lib/krb5/keytab.c (krb5_kt_copy_entry_contents): copy timestamp 1318*ebfedea0SLionel Sambuc * lib/krb5/keytab_file.c (fkt_add_entry): store timestamp 1319*ebfedea0SLionel Sambuc (fkt_next_entry_int): return timestamp 1320*ebfedea0SLionel Sambuc * lib/krb5/krb5.h (krb5_keytab_entry): add timestamp 1321