1 1.1 elric 2001-12-20 Johan Danielsson <joda (a] pdc.kth.se> 2 1.1 elric 3 1.1 elric * lib/krb5/crypto.c: use our own des string-to-key function, since 4 1.1 elric the one from openssl sometimes generates wrong output 5 1.1 elric 6 1.1 elric 2001-12-05 Jacques Vidrine <n (a] nectar.cc> 7 1.1 elric 8 1.1 elric * lib/hdb/mkey.c: fix a bug in which kstash would crash if 9 1.1 elric there were no /etc/krb5.conf 10 1.1 elric 11 1.1 elric 2001-11-09 Johan Danielsson <joda (a] pdc.kth.se> 12 1.1 elric 13 1.1 elric * lib/krb5/krb5_verify_user.3: sort references (from Thomas 14 1.1 elric Klausner) 15 1.1 elric 16 1.1 elric * lib/krb5/krb5_principal_get_realm.3: add section to reference 17 1.1 elric (from Thomas Klausner) 18 1.1 elric 19 1.1 elric * lib/krb5/krb5_krbhst_init.3: sort references (from Thomas 20 1.1 elric Klausner) 21 1.1 elric 22 1.1 elric * lib/krb5/krb5_keytab.3: white space fixes (from Thomas Klausner) 23 1.1 elric 24 1.1 elric * lib/krb5/krb5_get_krbhst.3: remove extra white space (from 25 1.1 elric Thomas Klausner) 26 1.1 elric 27 1.1 elric * lib/krb5/krb5_get_all_client_addrs.3: add section to reference 28 1.1 elric (from Thomas Klausner) 29 1.1 elric 30 1.1 elric 2001-10-29 Jacques Vidrine <n (a] nectar.com> 31 1.1 elric 32 1.1 elric * admin/get.c: fix a bug in which a reference to a data 33 1.1 elric structure on the stack was being kept after the containing 34 1.1 elric function's lifetime, resulting in a segfault during `ktutil 35 1.1 elric get'. 36 1.1 elric 37 1.1 elric 2001-10-22 Assar Westerlund <assar (a] sics.se> 38 1.1 elric 39 1.1 elric * lib/krb5/crypto.c: make all high-level encrypting and decrypting 40 1.1 elric functions check the return value of the underlying function and 41 1.1 elric handle errors more consistently. noted by Sam Hartman 42 1.1 elric <hartmans (a] mit.edu> 43 1.1 elric 44 1.1 elric 2001-10-21 Assar Westerlund <assar (a] sics.se> 45 1.1 elric 46 1.1 elric * lib/krb5/crypto.c (enctype_arcfour_hmac_md5): actually use a 47 1.1 elric non-keyed checksum when it should be non-keyed 48 1.1 elric 49 1.1 elric 2001-09-29 Assar Westerlund <assar (a] sics.se> 50 1.1 elric 51 1.1 elric * kuser/kinit.1: add the kauth alias 52 1.1 elric * kuser/kinit.c: allow specification of afslog in krb5.conf, noted 53 1.1 elric by jhutz (a] cs.cmu.edu 54 1.1 elric 55 1.1 elric 2001-09-27 Assar Westerlund <assar (a] sics.se> 56 1.1 elric 57 1.1 elric * lib/asn1/gen.c: remove the need for libasn1.h, also make 58 1.1 elric generated files include all files from IMPORTed modules 59 1.1 elric 60 1.1 elric * lib/krb5/krb5.h (KRB5_KPASSWD_*): set correct values 61 1.1 elric * kpasswd/kpasswd.c: improve error message printing 62 1.1 elric * lib/krb5/changepw.c (krb5_passwd_result_to_string): add change 63 1.1 elric to use sequence numbers connect the udp socket so that we can 64 1.1 elric figure out the local address 65 1.1 elric 66 1.1 elric 2001-09-25 Assar Westerlund <assar (a] sics.se> 67 1.1 elric 68 1.1 elric * lib/asn1: implement OBJECT IDENTIFIER and ENUMERATED 69 1.1 elric 70 1.1 elric 2001-09-20 Johan Danielsson <joda (a] pdc.kth.se> 71 1.1 elric 72 1.1 elric * lib/krb5/principal.c (krb5_425_conv_principal_ext): try using 73 1.1 elric lower case realm as domain, but only when given a verification 74 1.1 elric function 75 1.1 elric 76 1.1 elric 2001-09-20 Assar Westerlund <assar (a] sics.se> 77 1.1 elric 78 1.1 elric * lib/asn1/der_put.c (der_put_length): do not even try writing 79 1.1 elric anything when len == 0 80 1.1 elric 81 1.1 elric 2001-09-18 Johan Danielsson <joda (a] pdc.kth.se> 82 1.1 elric 83 1.1 elric * kdc/hpropd.c: add realm override option 84 1.1 elric 85 1.1 elric * lib/krb5/set_default_realm.c (krb5_set_default_realm): make 86 1.1 elric realm parameter const 87 1.1 elric 88 1.1 elric * kdc/hprop.c: more free's 89 1.1 elric 90 1.1 elric * lib/krb5/init_creds_pw.c (krb5_get_init_creds_keytab): free key 91 1.1 elric proc data 92 1.1 elric 93 1.1 elric * lib/krb5/expand_hostname.c (krb5_expand_hostname_realms): free 94 1.1 elric addrinfo 95 1.1 elric 96 1.1 elric * lib/hdb/mkey.c (hdb_set_master_keyfile): clear error string when 97 1.1 elric not returning error 98 1.1 elric 99 1.1 elric 2001-09-16 Assar Westerlund <assar (a] sics.se> 100 1.1 elric 101 1.1 elric * lib/krb5/appdefault.c (krb5_appdefault_{boolean,string,time): 102 1.1 elric make realm const 103 1.1 elric 104 1.1 elric * lib/krb5/crypto.c: use des functions to avoid generating 105 1.1 elric warnings with openssl's prototypes 106 1.1 elric 107 1.1 elric 2001-09-05 Johan Danielsson <joda (a] pdc.kth.se> 108 1.1 elric 109 1.1 elric * configure.in: check for termcap.h 110 1.1 elric 111 1.1 elric * lib/asn1/lex.l: add another undef ECHO to keep AIX lex happy 112 1.1 elric 113 1.1 elric 2001-09-03 Assar Westerlund <assar (a] sics.se> 114 1.1 elric 115 1.1 elric * lib/krb5/addr_families.c (krb5_print_address): handle snprintf 116 1.1 elric returning < 0. noticed by hin (a] stacken.kth.se 117 1.1 elric 118 1.1 elric 2001-09-03 Assar Westerlund <assar (a] sics.se> 119 1.1 elric 120 1.1 elric * Release 0.4e 121 1.1 elric 122 1.1 elric 2001-09-02 Johan Danielsson <joda (a] pdc.kth.se> 123 1.1 elric 124 1.1 elric * kuser/Makefile.am: install kauth as a symlink to kinit 125 1.1 elric 126 1.1 elric * kuser/kinit.c: get v4_tickets by default 127 1.1 elric 128 1.1 elric * lib/asn1/Makefile.am: fix for broken automake 129 1.1 elric 130 1.1 elric 2001-08-31 Johan Danielsson <joda (a] pdc.kth.se> 131 1.1 elric 132 1.1 elric * lib/hdb/hdb-ldap.c: some pretty much untested changes from Luke 133 1.1 elric Howard 134 1.1 elric 135 1.1 elric * kuser/kinit.1: remove references to kauth 136 1.1 elric 137 1.1 elric * kuser/Makefile.am: kauth is no more 138 1.1 elric 139 1.1 elric * kuser/kinit.c: use appdefaults for everything. defaults are now 140 1.1 elric as in kauth. 141 1.1 elric 142 1.1 elric * lib/krb5/appdefault.c: also check libdefaults, and realms/realm 143 1.1 elric 144 1.1 elric * lib/krb5/context.c (krb5_free_context): free more stuff 145 1.1 elric 146 1.1 elric 2001-08-30 Johan Danielsson <joda (a] pdc.kth.se> 147 1.1 elric 148 1.1 elric * lib/krb5/verify_krb5_conf.c: do some checks of the values in the 149 1.1 elric file 150 1.1 elric 151 1.1 elric * lib/krb5/krb5.conf.5: remove srv_try_txt, fix spelling 152 1.1 elric 153 1.1 elric * lib/krb5/context.c: don't init srv_try_txt, since it isn't used 154 1.1 elric anymore 155 1.1 elric 156 1.1 elric 2001-08-29 Jacques Vidrine <n (a] nectar.com> 157 1.1 elric 158 1.1 elric * configure.in: Check for already-installed com_err. 159 1.1 elric 160 1.1 elric 2001-08-28 Assar Westerlund <assar (a] sics.se> 161 1.1 elric 162 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): set versoin to 18:2:1 163 1.1 elric 164 1.1 elric 2001-08-24 Assar Westerlund <assar (a] sics.se> 165 1.1 elric 166 1.1 elric * kuser/Makefile.am: remove CHECK_LOCAL - non bin programs require 167 1.1 elric no special treatment now 168 1.1 elric 169 1.1 elric * kuser/generate-requests.c: parse arguments in a useful way 170 1.1 elric * kuser/kverify.c: add --help/--verify 171 1.1 elric 172 1.1 elric 2001-08-22 Assar Westerlund <assar (a] sics.se> 173 1.1 elric 174 1.1 elric * configure.in: bump prereq to 2.52 remove unused test_LIB_KRB4 175 1.1 elric 176 1.1 elric * configure.in: re-write the handling of crypto libraries. try to 177 1.1 elric use the one of openssl's libcrypto or krb4's libdes that has all 178 1.1 elric the required functionality (md4, md5, sha1, des, rc4). if there 179 1.1 elric is no such library, the included lib/des is built. 180 1.1 elric 181 1.1 elric * kdc/headers.h: include libutil.h if it exists 182 1.1 elric * kpasswd/kpasswd_locl.h: include libutil.h if it exists 183 1.1 elric * kdc/kerberos4.c (get_des_key): check for null keys even if 184 1.1 elric is_server 185 1.1 elric 186 1.1 elric 2001-08-21 Assar Westerlund <assar (a] sics.se> 187 1.1 elric 188 1.1 elric * lib/asn1/asn1_print.c: print some size_t correctly 189 1.1 elric * configure.in: remove extra space after -L check for libutil.h 190 1.1 elric 191 1.1 elric 2001-08-17 Johan Danielsson <joda (a] pdc.kth.se> 192 1.1 elric 193 1.1 elric * kdc/kdc_locl.h: fix prototype for get_des_key 194 1.1 elric 195 1.1 elric * kdc/kaserver.c: fix call to get_des_key 196 1.1 elric 197 1.1 elric * kdc/524.c: fix call to get_des_key 198 1.1 elric 199 1.1 elric * kdc/kerberos4.c (get_des_key): if getting a key for a server, 200 1.1 elric return any des-key not just keys that can be string-to-keyed by 201 1.1 elric the client 202 1.1 elric 203 1.1 elric 2001-08-10 Assar Westerlund <assar (a] sics.se> 204 1.1 elric 205 1.1 elric * Release 0.4d 206 1.1 elric 207 1.1 elric 2001-08-10 Assar Westerlund <assar (a] sics.se> 208 1.1 elric 209 1.1 elric * configure.in: check for openpty 210 1.1 elric * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): update to 7:4:0 211 1.1 elric 212 1.1 elric 2001-08-08 Assar Westerlund <assar (a] sics.se> 213 1.1 elric 214 1.1 elric * configure.in: just add -L (if required) from krb4 when testing 215 1.1 elric for libdes/libcrypto 216 1.1 elric 217 1.1 elric 2001-08-04 Assar Westerlund <assar (a] sics.se> 218 1.1 elric 219 1.1 elric * lib/krb5/Makefile.am (man_MANS): add some missing man pages 220 1.1 elric * fix-export: fix the sed expression for finding the man pages 221 1.1 elric 222 1.1 elric 2001-07-31 Assar Westerlund <assar (a] sics.se> 223 1.1 elric 224 1.1 elric * kpasswd/kpasswd-generator.c (main): implement --version and 225 1.1 elric --help 226 1.1 elric 227 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): update version to 228 1.1 elric 18:1:1 229 1.1 elric 230 1.1 elric 2001-07-27 Assar Westerlund <assar (a] sics.se> 231 1.1 elric 232 1.1 elric * lib/krb5/context.c (init_context_from_config_file): check 233 1.1 elric parsing of addresses 234 1.1 elric 235 1.1 elric 2001-07-26 Assar Westerlund <assar (a] sics.se> 236 1.1 elric 237 1.1 elric * lib/krb5/sock_principal.c (krb5_sock_to_principal): rename 238 1.1 elric sa_len -> salen to avoid the macro that's defined on irix. noted 239 1.1 elric by "Jacques A. Vidrine" <n (a] nectar.com> 240 1.1 elric 241 1.1 elric 2001-07-24 Johan Danielsson <joda (a] pdc.kth.se> 242 1.1 elric 243 1.1 elric * lib/krb5/addr_families.c: add support for type 244 1.1 elric KRB5_ADDRESS_ADDRPORT 245 1.1 elric 246 1.1 elric * lib/krb5/addr_families.c (krb5_address_order): complain about 247 1.1 elric unsuppored address types 248 1.1 elric 249 1.1 elric 2001-07-23 Johan Danielsson <joda (a] pdc.kth.se> 250 1.1 elric 251 1.1 elric * admin/get.c: don't open connection to server until we loop over 252 1.1 elric the principals, at that time we know the realm of the (first) 253 1.1 elric principal and we can default to that admin server 254 1.1 elric 255 1.1 elric * admin: add a rename command 256 1.1 elric 257 1.1 elric 2001-07-19 Assar Westerlund <assar (a] sics.se> 258 1.1 elric 259 1.1 elric * kdc/hprop.c (usage): clarify a tiny bit 260 1.1 elric 261 1.1 elric 2001-07-19 Assar Westerlund <assar (a] sics.se> 262 1.1 elric 263 1.1 elric * Release 0.4c 264 1.1 elric 265 1.1 elric 2001-07-19 Assar Westerlund <assar (a] sics.se> 266 1.1 elric 267 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): bump version to 268 1.1 elric 18:0:1 269 1.1 elric 270 1.1 elric * lib/krb5/get_for_creds.c (krb5_fwd_tgt_creds): make it behave 271 1.1 elric the same way as the MIT function 272 1.1 elric 273 1.1 elric * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): update to 7:3:0 274 1.1 elric * lib/krb5/sock_principal.c (krb5_sock_to_principal): use 275 1.1 elric getnameinfo 276 1.1 elric 277 1.1 elric * lib/krb5/krbhst.c (srv_find_realm): handle port numbers 278 1.1 elric consistenly in local byte order 279 1.1 elric 280 1.1 elric * lib/krb5/get_default_realm.c (krb5_get_default_realm): set an 281 1.1 elric error string 282 1.1 elric 283 1.1 elric * kuser/kinit.c (renew_validate): invert condition correctly. get 284 1.1 elric v4 tickets if we succeed renewing 285 1.1 elric * lib/krb5/principal.c (krb5_principal_get_type): add 286 1.1 elric (default_v4_name_convert): add "smtp" 287 1.1 elric 288 1.1 elric 2001-07-13 Assar Westerlund <assar (a] sics.se> 289 1.1 elric 290 1.1 elric * configure.in: remove make-print-version from LIBOBJS, it's no 291 1.1 elric longer in lib/roken but always built in lib/vers 292 1.1 elric 293 1.1 elric 2001-07-12 Johan Danielsson <joda (a] pdc.kth.se> 294 1.1 elric 295 1.1 elric * lib/hdb/mkey.c: more set_error_string 296 1.1 elric 297 1.1 elric 2001-07-12 Assar Westerlund <assar (a] sics.se> 298 1.1 elric 299 1.1 elric * lib/hdb/Makefile.am (libhdb_la_LIBADD): add required library 300 1.1 elric dependencies 301 1.1 elric 302 1.1 elric * lib/asn1/Makefile.am (libasn1_la_LIBADD): add required library 303 1.1 elric dependencies 304 1.1 elric 305 1.1 elric 2001-07-11 Johan Danielsson <joda (a] pdc.kth.se> 306 1.1 elric 307 1.1 elric * kdc/hprop.c: remove v4 master key handling; remove old v4-db and 308 1.1 elric ka-db flags; add defaults for v4_realm and afs_cell 309 1.1 elric 310 1.1 elric 2001-07-09 Assar Westerlund <assar (a] sics.se> 311 1.1 elric 312 1.1 elric * lib/krb5/sock_principal.c (krb5_sock_to_principal): copy hname 313 1.1 elric before calling krb5_sname_to_principal. from "Jacques A. Vidrine" 314 1.1 elric <n (a] nectar.com> 315 1.1 elric 316 1.1 elric 2001-07-08 Johan Danielsson <joda (a] pdc.kth.se> 317 1.1 elric 318 1.1 elric * lib/krb5/context.c: use krb5_copy_addresses instead of 319 1.1 elric copy_HostAddresses 320 1.1 elric 321 1.1 elric 2001-07-06 Assar Westerlund <assar (a] sics.se> 322 1.1 elric 323 1.1 elric * configure.in (LIB_des_a, LIB_des_so): add these so that they can 324 1.1 elric be used by lib/auth/sia 325 1.1 elric 326 1.1 elric * kuser/kinit.c: re-do some of the v4 fallbacks: look at 327 1.1 elric get-tokens flag do not print extra errors do not try to do 524 if 328 1.1 elric we got tickets from a v4 server 329 1.1 elric 330 1.1 elric 2001-07-03 Assar Westerlund <assar (a] sics.se> 331 1.1 elric 332 1.1 elric * lib/krb5/replay.c (krb5_get_server_rcache): cast argument to 333 1.1 elric printf 334 1.1 elric 335 1.1 elric * lib/krb5/get_addrs.c (find_all_addresses): call free_addresses 336 1.1 elric on ignore_addresses correctly 337 1.1 elric * lib/krb5/init_creds.c 338 1.1 elric (krb5_get_init_creds_opt_set_default_flags): change to take a 339 1.1 elric const realm 340 1.1 elric 341 1.1 elric * lib/krb5/principal.c (krb5_425_conv_principal_ext): if the 342 1.1 elric instance is the first component of the local hostname, the 343 1.1 elric converted host should be the long hostname. from 344 1.1 elric <shadow (a] dementia.org> 345 1.1 elric 346 1.1 elric 2001-07-02 Johan Danielsson <joda (a] pdc.kth.se> 347 1.1 elric 348 1.1 elric * lib/krb5/Makefile.am: address.c is no more; add a couple of 349 1.1 elric manpages 350 1.1 elric 351 1.1 elric * lib/krb5/krb5_timeofday.3: new manpage 352 1.1 elric 353 1.1 elric * lib/krb5/krb5_get_all_client_addrs.3: new manpage 354 1.1 elric 355 1.1 elric * lib/krb5/get_in_tkt.c (init_as_req): treat no addresses as 356 1.1 elric wildcard 357 1.1 elric 358 1.1 elric * lib/krb5/get_cred.c (get_cred_kdc_la): treat no addresses as 359 1.1 elric wildcard 360 1.1 elric 361 1.1 elric * lib/krb5/get_addrs.c: don't include client addresses that match 362 1.1 elric ignore_addresses 363 1.1 elric 364 1.1 elric * lib/krb5/context.c: initialise ignore_addresses 365 1.1 elric 366 1.1 elric * lib/krb5/addr_families.c: add new `arange' fake address type, 367 1.1 elric that matches more than one address; this required some internal 368 1.1 elric changes to many functions, so all of address.c got moved here 369 1.1 elric (wasn't much left there) 370 1.1 elric 371 1.1 elric * lib/krb5/krb5.h: add list of ignored addresses to context 372 1.1 elric 373 1.1 elric 2001-07-03 Assar Westerlund <assar (a] sics.se> 374 1.1 elric 375 1.1 elric * Release 0.4b 376 1.1 elric 377 1.1 elric 2001-07-03 Assar Westerlund <assar (a] sics.se> 378 1.1 elric 379 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): set version to 17:0:0 380 1.1 elric * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): set version to 7:2:0 381 1.1 elric 382 1.1 elric 2001-07-03 Assar Westerlund <assar (a] sics.se> 383 1.1 elric 384 1.1 elric * Release 0.4a 385 1.1 elric 386 1.1 elric 2001-07-02 Johan Danielsson <joda (a] pdc.kth.se> 387 1.1 elric 388 1.1 elric * kuser/kinit.c: make this compile without krb4 support 389 1.1 elric 390 1.1 elric * lib/krb5/write_message.c: remove priv parameter from 391 1.1 elric write_safe_message; don't know why it was there in the first place 392 1.1 elric 393 1.1 elric * doc/install.texi: remove kaserver switches, it's always compiled 394 1.1 elric in now 395 1.1 elric 396 1.1 elric * kdc/hprop.c: always include kadb support 397 1.1 elric 398 1.1 elric * kdc/kaserver.c: always include kaserver support 399 1.1 elric 400 1.1 elric 2001-07-02 Assar Westerlund <assar (a] sics.se> 401 1.1 elric 402 1.1 elric * kpasswd/kpasswdd.c (doit): make failing to bind a socket a 403 1.1 elric non-fatal error, and abort if no sockets were bound 404 1.1 elric 405 1.1 elric 2001-07-01 Assar Westerlund <assar (a] sics.se> 406 1.1 elric 407 1.1 elric * lib/krb5/krbhst.c: remember the real port number when falling 408 1.1 elric back from kpasswd -> kadmin, and krb524 -> kdc 409 1.1 elric 410 1.1 elric 2001-06-29 Assar Westerlund <assar (a] sics.se> 411 1.1 elric 412 1.1 elric * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): if 413 1.1 elric no_addresses is set, do not add any local addresses to KRB_CRED 414 1.1 elric 415 1.1 elric * kuser/kinit.c: remove extra clearing of password and some 416 1.1 elric redundant code 417 1.1 elric 418 1.1 elric 2001-06-29 Johan Danielsson <joda (a] pdc.kth.se> 419 1.1 elric 420 1.1 elric * kuser/kinit.c: move ticket conversion code to separate function, 421 1.1 elric and call that from a couple of places, like when renewing a 422 1.1 elric ticket; also add a flag for just converting a ticket 423 1.1 elric 424 1.1 elric * lib/krb5/init_creds_pw.c: set renew-life to some sane value 425 1.1 elric 426 1.1 elric * kdc/524.c: don't send more data than required 427 1.1 elric 428 1.1 elric 2001-06-24 Assar Westerlund <assar (a] sics.se> 429 1.1 elric 430 1.1 elric * lib/krb5/store_fd.c (krb5_storage_from_fd): check malloc returns 431 1.1 elric 432 1.1 elric * lib/krb5/keytab_any.c (any_resolve); improving parsing of ANY: 433 1.1 elric (any_start_seq_get): remove a double free 434 1.1 elric (any_next_entry): iterate over all (sub) keytabs and avoid leave data 435 1.1 elric around to be freed again 436 1.1 elric 437 1.1 elric * kdc/kdc_locl.h: add a define for des_new_random_key when using 438 1.1 elric openssl's libcrypto 439 1.1 elric 440 1.1 elric * configure.in: move v6 tests down 441 1.1 elric 442 1.1 elric * lib/krb5/krb5.h (krb5_context_data): remove srv_try_rfc2052 443 1.1 elric 444 1.1 elric * update to libtool 1.4 and autoconf 2.50 445 1.1 elric 446 1.1 elric 2001-06-22 Johan Danielsson <joda (a] pdc.kth.se> 447 1.1 elric 448 1.1 elric * lib/hdb/hdb.c: use krb5_add_et_list 449 1.1 elric 450 1.1 elric 2001-06-21 Johan Danielsson <joda (a] pdc.kth.se> 451 1.1 elric 452 1.1 elric * lib/hdb/Makefile.am: add generation number 453 1.1 elric * lib/hdb/common.c: add generation number code 454 1.1 elric * lib/hdb/hdb.asn1: add generation number 455 1.1 elric * lib/hdb/print.c: use krb5_storage to make it more dynamic 456 1.1 elric 457 1.1 elric 2001-06-21 Assar Westerlund <assar (a] sics.se> 458 1.1 elric 459 1.1 elric * lib/krb5/krb5.conf.5: update to changed names used by 460 1.1 elric krb5_get_init_creds_opt_set_default_flags 461 1.1 elric * lib/krb5/init_creds.c 462 1.1 elric (krb5_get_init_creds_opt_set_default_flags): make the appdefault 463 1.1 elric keywords have the same names 464 1.1 elric 465 1.1 elric * configure.in: only add -L and -R to the krb4 libdir if we are 466 1.1 elric actually using it 467 1.1 elric 468 1.1 elric * lib/krb5/krbhst.c (fallback_get_hosts): do not copy trailing 469 1.1 elric dot of hostname add some comments 470 1.1 elric * lib/krb5/krbhst.c: use getaddrinfo instead of dns_lookup when 471 1.1 elric testing for kerberos.REALM. this allows reusing that information 472 1.1 elric when actually contacting the server and thus avoids one DNS lookup 473 1.1 elric 474 1.1 elric 2001-06-20 Johan Danielsson <joda (a] pdc.kth.se> 475 1.1 elric 476 1.1 elric * lib/krb5/krb5.h: include k524_err.h 477 1.1 elric 478 1.1 elric * lib/krb5/convert_creds.c (krb524_convert_creds_kdc): don't test 479 1.1 elric for keytype, the server will do this for us if it has anything to 480 1.1 elric complain about 481 1.1 elric 482 1.1 elric * lib/krb5/context.c: add protocol compatible krb524 error codes 483 1.1 elric 484 1.1 elric * lib/krb5/Makefile.am: add protocol compatible krb524 error codes 485 1.1 elric 486 1.1 elric * lib/krb5/k524_err.et: add protocol compatible krb524 error codes 487 1.1 elric 488 1.1 elric * lib/krb5/krb5_principal_get_realm.3: manpage 489 1.1 elric 490 1.1 elric * lib/krb5/principal.c: add functions `krb5_principal_get_realm' 491 1.1 elric and `krb5_principal_get_comp_string' that returns parts of a 492 1.1 elric principal; this is a replacement for the internal 493 1.1 elric `krb5_princ_realm' and `krb5_princ_component' macros that everyone 494 1.1 elric seem to use 495 1.1 elric 496 1.1 elric 2001-06-19 Assar Westerlund <assar (a] sics.se> 497 1.1 elric 498 1.1 elric * kuser/kinit.c (main): dereference result from krb5_princ_realm. 499 1.1 elric from Thomas Nystrom <thn (a] saeab.se> 500 1.1 elric 501 1.1 elric 2001-06-18 Johan Danielsson <joda (a] pdc.kth.se> 502 1.1 elric 503 1.1 elric * lib/krb5/mk_req.c (krb5_mk_req_exact): free creds when done 504 1.1 elric * lib/krb5/crypto.c (krb5_string_to_key_derived): fix memory leak 505 1.1 elric * lib/krb5/krbhst.c (config_get_hosts): free hostlist 506 1.1 elric * kuser/kinit.c: free principal 507 1.1 elric 508 1.1 elric 2001-06-18 Assar Westerlund <assar (a] sics.se> 509 1.1 elric 510 1.1 elric * lib/krb5/send_to_kdc.c (krb5_sendto): remove an extra 511 1.1 elric freeaddrinfo 512 1.1 elric 513 1.1 elric * lib/krb5/convert_creds.c (krb524_convert_creds_kdc_ccache): 514 1.1 elric remove some unused variables 515 1.1 elric 516 1.1 elric * lib/krb5/krbhst.c (admin_get_next): spell kerberos correctly 517 1.1 elric * kdc/kerberos5.c: update to new krb5_auth_con* names 518 1.1 elric * kdc/hpropd.c: update to new krb5_auth_con* names 519 1.1 elric * lib/krb5/rd_req.c (krb5_rd_req): use krb5_auth_con* functions 520 1.1 elric and remove some comments 521 1.1 elric * lib/krb5/rd_safe.c (krb5_rd_safe): pick the keys in the right 522 1.1 elric order: remote - local - session 523 1.1 elric * lib/krb5/rd_rep.c (krb5_rd_rep): save the remote sub key in the 524 1.1 elric auth_context 525 1.1 elric * lib/krb5/rd_priv.c (krb5_rd_priv): pick keys in the correct 526 1.1 elric order: remote - local - session 527 1.1 elric * lib/krb5/mk_safe.c (krb5_mk_safe): pick keys in the right order, 528 1.1 elric local - remote - session 529 1.1 elric 530 1.1 elric 2001-06-18 Johan Danielsson <joda (a] pdc.kth.se> 531 1.1 elric 532 1.1 elric * lib/krb5/convert_creds.c: use starttime instead of authtime, 533 1.1 elric from Chris Chiappa 534 1.1 elric 535 1.1 elric * lib/krb5/convert_creds.c: make krb524_convert_creds_kdc match 536 1.1 elric the MIT function by the same name; add 537 1.1 elric krb524_convert_creds_kdc_ccache that does what the old version did 538 1.1 elric 539 1.1 elric * admin/list.c (do_list): make sure list of keys is NULL 540 1.1 elric terminated; similar to patch sent by Chris Chiappa 541 1.1 elric 542 1.1 elric 2001-06-18 Assar Westerlund <assar (a] sics.se> 543 1.1 elric 544 1.1 elric * lib/krb5/mcache.c (mcc_remove_cred): use 545 1.1 elric krb5_free_creds_contents 546 1.1 elric 547 1.1 elric * lib/krb5/auth_context.c: name function krb5_auth_con more 548 1.1 elric consistenly 549 1.1 elric * lib/krb5/rd_req.c (krb5_verify_authenticator_checksum): use 550 1.1 elric renamed krb5_auth_con_getauthenticator 551 1.1 elric 552 1.1 elric * lib/krb5/convert_creds.c (krb524_convert_creds_kdc): update to 553 1.1 elric use krb5_krbhst API 554 1.1 elric * lib/krb5/changepw.c (krb5_change_password): update to use 555 1.1 elric krb5_krbhst API 556 1.1 elric * lib/krb5/send_to_kdc.c: update to use krb5_krbhst API 557 1.1 elric * lib/krb5/krbhst.c (krb5_krbhst_get_addrinfo): add set def_port 558 1.1 elric in krb5_krbhst_info 559 1.1 elric (krb5_krbhst_free): free everything 560 1.1 elric 561 1.1 elric * lib/krb5/krb5.h (KRB5_VERIFY_NO_ADDRESSES): add 562 1.1 elric (krb5_krbhst_info): add def_port (default port for this service) 563 1.1 elric 564 1.1 elric * lib/krb5/krbhst-test.c: make it more verbose and useful 565 1.1 elric * lib/krb5/krbhst.c: remove some more memory leaks do not try any 566 1.1 elric dns operations if there is local configuration admin: fallback to 567 1.1 elric kerberos.REALM 524: fallback to kdcs kpasswd: fallback to admin 568 1.1 elric add some comments 569 1.1 elric 570 1.1 elric * configure.in: remove initstate and setstate, they should be in 571 1.1 elric cf/roken-frag.m4 572 1.1 elric 573 1.1 elric * lib/krb5/Makefile.am (noinst_PROGRAMS): add krbhst-test 574 1.1 elric * lib/krb5/krbhst-test.c: new program for testing krbhst 575 1.1 elric * lib/krb5/krbhst.c (common_init): remove memory leak 576 1.1 elric (main): move test program into krbhst-test 577 1.1 elric 578 1.1 elric 2001-06-17 Johan Danielsson <joda (a] pdc.kth.se> 579 1.1 elric 580 1.1 elric * lib/krb5/krb5_krbhst_init.3: manpage 581 1.1 elric 582 1.1 elric * lib/krb5/krb5_get_krbhst.3: manpage 583 1.1 elric 584 1.1 elric 2001-06-16 Johan Danielsson <joda (a] pdc.kth.se> 585 1.1 elric 586 1.1 elric * lib/krb5/krb5.h: add opaque krb5_krbhst_handle type 587 1.1 elric 588 1.1 elric * lib/krb5/krbhst.c: change void* to krb5_krbhst_handle 589 1.1 elric 590 1.1 elric * lib/krb5/krb5.h: types for new krbhst api 591 1.1 elric 592 1.1 elric * lib/krb5/krbhst.c: implement a new api that looks up one host at 593 1.1 elric a time, instead of making a list of hosts 594 1.1 elric 595 1.1 elric 2001-06-09 Johan Danielsson <joda (a] pdc.kth.se> 596 1.1 elric 597 1.1 elric * configure.in: test for initstate and setstate 598 1.1 elric 599 1.1 elric * lib/krb5/krbhst.c: remove rfc2052 support 600 1.1 elric 601 1.1 elric 2001-06-08 Johan Danielsson <joda (a] pdc.kth.se> 602 1.1 elric 603 1.1 elric * fix some manpages for broken mdoc.old grog test 604 1.1 elric 605 1.1 elric 2001-05-28 Assar Westerlund <assar (a] sics.se> 606 1.1 elric 607 1.1 elric * lib/krb5/krb5.conf.5: add [appdefaults] 608 1.1 elric * lib/krb5/init_creds_pw.c: remove configuration reading that is 609 1.1 elric now done in krb5_get_init_creds_opt_set_default_flags 610 1.1 elric * lib/krb5/init_creds.c 611 1.1 elric (krb5_get_init_creds_opt_set_default_flags): add reading of 612 1.1 elric libdefaults versions of these and add no_addresses 613 1.1 elric 614 1.1 elric * lib/krb5/get_in_tkt.c (krb5_get_in_cred): clear error string 615 1.1 elric when preauth was required and we retry 616 1.1 elric 617 1.1 elric 2001-05-25 Assar Westerlund <assar (a] sics.se> 618 1.1 elric 619 1.1 elric * lib/krb5/convert_creds.c (krb524_convert_creds_kdc): call 620 1.1 elric krb5_get_krb524hst 621 1.1 elric * lib/krb5/krbhst.c (krb5_get_krb524hst): add and restructure the 622 1.1 elric support functions 623 1.1 elric 624 1.1 elric 2001-05-22 Assar Westerlund <assar (a] sics.se> 625 1.1 elric 626 1.1 elric * kdc/kerberos5.c (tgs_rep2): alloc and free csec and cusec 627 1.1 elric properly 628 1.1 elric 629 1.1 elric 2001-05-17 Assar Westerlund <assar (a] sics.se> 630 1.1 elric 631 1.1 elric * Release 0.3f 632 1.1 elric 633 1.1 elric 2001-05-17 Assar Westerlund <assar (a] sics.se> 634 1.1 elric 635 1.1 elric * lib/krb5/Makefile.am: bump version to 16:0:0 636 1.1 elric * lib/hdb/Makefile.am: bump version to 7:1:0 637 1.1 elric * lib/asn1/Makefile.am: bump version to 5:0:0 638 1.1 elric * lib/krb5/keytab_krb4.c: add SRVTAB as an alias for krb4 639 1.1 elric * lib/krb5/codec.c: remove dead code 640 1.1 elric 641 1.1 elric 2001-05-17 Johan Danielsson <joda (a] pdc.kth.se> 642 1.1 elric 643 1.1 elric * kdc/config.c: actually check the ticket addresses 644 1.1 elric 645 1.1 elric 2001-05-15 Assar Westerlund <assar (a] sics.se> 646 1.1 elric 647 1.1 elric * lib/krb5/rd_error.c (krb5_error_from_rd_error): use correct 648 1.1 elric parenthesis 649 1.1 elric 650 1.1 elric * lib/krb5/eai_to_heim_errno.c (krb5_eai_to_heim_errno): add 651 1.1 elric `errno' (called system_error) to allow callers to make sure they 652 1.1 elric pass the current and relevant value. update callers 653 1.1 elric 654 1.1 elric 2001-05-14 Johan Danielsson <joda (a] pdc.kth.se> 655 1.1 elric 656 1.1 elric * lib/krb5/verify_user.c: krb5_verify_user_opt 657 1.1 elric 658 1.1 elric * lib/krb5/krb5.h: verify_opt 659 1.1 elric 660 1.1 elric * kdc/kerberos5.c: pass context to krb5_domain_x500_decode 661 1.1 elric 662 1.1 elric 2001-05-14 Assar Westerlund <assar (a] sics.se> 663 1.1 elric 664 1.1 elric * kpasswd/kpasswdd.c: adapt to new address functions 665 1.1 elric * kdc/kerberos5.c: adapt to changing address functions use LR_TYPE 666 1.1 elric * kdc/connect.c: adapt to changing address functions 667 1.1 elric * kdc/config.c: new krb5_config_parse_file 668 1.1 elric * kdc/524.c: new krb5_sockaddr2address 669 1.1 elric * lib/krb5/*: add some krb5_{set,clear}_error_string 670 1.1 elric 671 1.1 elric * lib/asn1/k5.asn1 (LR_TYPE): add 672 1.1 elric * lib/asn1/Makefile.am (gen_files): add asn1_LR_TYPE.x 673 1.1 elric 674 1.1 elric 2001-05-11 Assar Westerlund <assar (a] sics.se> 675 1.1 elric 676 1.1 elric * kdc/kerberos5.c (tsg_rep): fix typo in variable name 677 1.1 elric 678 1.1 elric * kpasswd/kpasswd-generator.c (nop_prompter): update prototype 679 1.1 elric * lib/krb5/init_creds_pw.c: update to new prompter, use prompter 680 1.1 elric types and send two prompts at once when changning password 681 1.1 elric * lib/krb5/prompter_posix.c (krb5_prompter_posix): add name 682 1.1 elric * lib/krb5/krb5.h (krb5_prompt): add type 683 1.1 elric (krb5_prompter_fct): add anem 684 1.1 elric 685 1.1 elric * lib/krb5/cache.c (krb5_cc_next_cred): transpose last two 686 1.1 elric paramaters to krb5_cc_next_cred (as MIT does, and not as they 687 1.1 elric document). From "Jacques A. Vidrine" <n (a] nectar.com> 688 1.1 elric 689 1.1 elric 2001-05-11 Johan Danielsson <joda (a] pdc.kth.se> 690 1.1 elric 691 1.1 elric * lib/krb5/Makefile.am: store-test 692 1.1 elric 693 1.1 elric * lib/krb5/store-test.c: simple bit storage test 694 1.1 elric 695 1.1 elric * lib/krb5/store.c: add more byteorder storage flags 696 1.1 elric 697 1.1 elric * lib/krb5/krb5.h: add more byteorder storage flags 698 1.1 elric 699 1.1 elric * kdc/kerberos5.c: don't use NULL where we mean 0 700 1.1 elric 701 1.1 elric * kdc/kerberos5.c: put referral test code in separate function, 702 1.1 elric and test for KRB5_NT_SRV_INST 703 1.1 elric 704 1.1 elric 2001-05-10 Assar Westerlund <assar (a] sics.se> 705 1.1 elric 706 1.1 elric * admin/list.c (do_list): do not close the keytab if opening it 707 1.1 elric failed 708 1.1 elric * admin/list.c (do_list): always print complete names. print 709 1.1 elric everything to stdout. 710 1.1 elric * admin/list.c: print both v5 and v4 list by default 711 1.1 elric * admin/remove.c (kt_remove): reorganize some. open the keytab 712 1.1 elric (defaulting to the modify one). 713 1.1 elric * admin/purge.c (kt_purge): reorganize some. open the keytab 714 1.1 elric (defaulting to the modify one). correct usage strings 715 1.1 elric * admin/list.c (kt_list): reorganize some. open the keytab 716 1.1 elric * admin/get.c (kt_get): reorganize some. open the keytab 717 1.1 elric (defaulting to the modify one) 718 1.1 elric * admin/copy.c (kt_copy): default to modify key name. re-organise 719 1.1 elric * admin/change.c (kt_change): reorganize some. open the keytab 720 1.1 elric (defaulting to the modify one) 721 1.1 elric * admin/add.c (kt_add): reorganize some. open the keytab 722 1.1 elric (defaulting to the modify one) 723 1.1 elric * admin/ktutil.c (main): do not open the keytab, let every 724 1.1 elric sub-function handle it 725 1.1 elric 726 1.1 elric * kdc/config.c (configure): call free_getarg_strings 727 1.1 elric 728 1.1 elric * lib/krb5/get_in_tkt.c (krb5_get_in_cred): set error strings for 729 1.1 elric a few more errors 730 1.1 elric 731 1.1 elric * lib/krb5/get_host_realm.c (krb5_get_host_realm_int): make 732 1.1 elric `use_dns' parameter boolean 733 1.1 elric 734 1.1 elric * lib/krb5/krb5.h (krb5_context_data): add default_keytab_modify 735 1.1 elric * lib/krb5/context.c (init_context_from_config_file): set 736 1.1 elric default_keytab_modify 737 1.1 elric * lib/krb5/krb5_locl.h (KEYTAB_DEFAULT): change to 738 1.1 elric ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab 739 1.1 elric (KEYTAB_DEFAULT_MODIFY): add 740 1.1 elric * lib/krb5/keytab.c (krb5_kt_default_modify_name): add 741 1.1 elric (krb5_kt_resolve): set error string for failed keytab type 742 1.1 elric 743 1.1 elric 2001-05-08 Assar Westerlund <assar (a] sics.se> 744 1.1 elric 745 1.1 elric * lib/krb5/crypto.c (encryption_type): make field names more 746 1.1 elric consistent 747 1.1 elric (create_checksum): separate usage and type 748 1.1 elric (krb5_create_checksum): add a separate type parameter 749 1.1 elric (encrypt_internal): only free once on mismatched checksum length 750 1.1 elric 751 1.1 elric * lib/krb5/send_to_kdc.c (krb5_sendto_kdc2): try to tell what 752 1.1 elric realm we didn't manage to reach any KDC for in the error string 753 1.1 elric 754 1.1 elric * lib/krb5/generate_seq_number.c (krb5_generate_seq_number): free 755 1.1 elric the entire subkey. from <tmartin (a] mirapoint.com> 756 1.1 elric 757 1.1 elric 2001-05-07 Johan Danielsson <joda (a] pdc.kth.se> 758 1.1 elric 759 1.1 elric * lib/krb5/keytab_keyfile.c (akf_start_seq_get): return 760 1.1 elric KT_NOTFOUND if the file is empty 761 1.1 elric 762 1.1 elric 2001-05-07 Assar Westerlund <assar (a] sics.se> 763 1.1 elric 764 1.1 elric * lib/krb5/fcache.c: call krb5_set_error_string when open fails 765 1.1 elric fatally 766 1.1 elric * lib/krb5/keytab_file.c: call krb5_set_error_string when open 767 1.1 elric fails fatally 768 1.1 elric 769 1.1 elric * lib/krb5/warn.c (_warnerr): print error_string in context in 770 1.1 elric preference to error string derived from error code 771 1.1 elric * kuser/kinit.c (main): try to print the error string 772 1.1 elric * lib/krb5/get_in_tkt.c (krb5_get_in_cred): set some sensible 773 1.1 elric error strings for errors 774 1.1 elric 775 1.1 elric * lib/krb5/krb5.h (krb5_context_data): add error_string and 776 1.1 elric error_buf 777 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_SOURCES): add error_string.c 778 1.1 elric * lib/krb5/error_string.c: new file 779 1.1 elric 780 1.1 elric 2001-05-02 Johan Danielsson <joda (a] pdc.kth.se> 781 1.1 elric 782 1.1 elric * lib/krb5/time.c: krb5_string_to_deltat 783 1.1 elric 784 1.1 elric * lib/krb5/sock_principal.c: one less data copy 785 1.1 elric 786 1.1 elric * lib/krb5/eai_to_heim_errno.c: conversion function for h_errno's 787 1.1 elric 788 1.1 elric * lib/krb5/get_default_principal.c: change this slightly 789 1.1 elric 790 1.1 elric * lib/krb5/crypto.c: make checksum_types into an array of pointers 791 1.1 elric 792 1.1 elric * lib/krb5/convert_creds.c: make sure we always use a des-cbc-crc 793 1.1 elric ticket 794 1.1 elric 795 1.1 elric 2001-04-29 Assar Westerlund <assar (a] sics.se> 796 1.1 elric 797 1.1 elric * kdc/kerberos5.c (tgs_rep2): return a reference to a krbtgt for 798 1.1 elric the right realm if we fail to find a non-krbtgt service in the 799 1.1 elric database and the second component does a succesful non-dns lookup 800 1.1 elric to get the real realm (which has to be different from the 801 1.1 elric originally-supplied realm). this should help windows 2000 clients 802 1.1 elric that always start their lookups in `their' realm and do not have 803 1.1 elric any idea of how to map hostnames into realms 804 1.1 elric * kdc/kerberos5.c (is_krbtgt): rename to get_krbtgt_realm 805 1.1 elric 806 1.1 elric 2001-04-27 Johan Danielsson <joda (a] pdc.kth.se> 807 1.1 elric 808 1.1 elric * lib/krb5/get_host_realm.c (krb5_get_host_realm_int): add extra 809 1.1 elric parameter to request use of dns or not 810 1.1 elric 811 1.1 elric 2001-04-25 Assar Westerlund <assar (a] sics.se> 812 1.1 elric 813 1.1 elric * admin/get.c (kt_get): allow specification of encryption types 814 1.1 elric * lib/krb5/verify_init.c (krb5_verify_init_creds): do not try to 815 1.1 elric close an unopened ccache, noted by <marc (a] mit.edu> 816 1.1 elric 817 1.1 elric * lib/krb5/krb5.h (krb5_any_ops): add declaration 818 1.1 elric * lib/krb5/context.c (init_context_from_config_file): register 819 1.1 elric krb5_any_ops 820 1.1 elric 821 1.1 elric * lib/krb5/keytab_any.c: new file, implementing union of keytabs 822 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_SOURCES): add keytab_any.c 823 1.1 elric 824 1.1 elric * lib/krb5/init_creds_pw.c (get_init_creds_common): handle options 825 1.1 elric == NULL. noted by <marc (a] mit.edu> 826 1.1 elric 827 1.1 elric 2001-04-19 Johan Danielsson <joda (a] pdc.kth.se> 828 1.1 elric 829 1.1 elric * lib/krb5/rd_cred.c: set ret_creds to NULL before doing anything 830 1.1 elric else, from Jacques Vidrine 831 1.1 elric 832 1.1 elric 2001-04-18 Johan Danielsson <joda (a] pdc.kth.se> 833 1.1 elric 834 1.1 elric * lib/hdb/libasn1.h: asn1.h -> krb5_asn1.h 835 1.1 elric 836 1.1 elric * lib/asn1/Makefile.am: add asn1_ENCTYPE.x 837 1.1 elric 838 1.1 elric * lib/krb5/krb5.h: adapt to asn1 changes 839 1.1 elric 840 1.1 elric * lib/asn1/k5.asn1: move enctypes here 841 1.1 elric 842 1.1 elric * lib/asn1/libasn1.h: rename asn1.h to krb5_asn1.h to avoid 843 1.1 elric conflicts 844 1.1 elric 845 1.1 elric * lib/asn1/Makefile.am: rename asn1.h to krb5_asn1.h to avoid 846 1.1 elric conflicts 847 1.1 elric 848 1.1 elric * lib/asn1/lex.l: use strtol to parse constants 849 1.1 elric 850 1.1 elric 2001-04-06 Johan Danielsson <joda (a] pdc.kth.se> 851 1.1 elric 852 1.1 elric * kuser/kinit.c: add simple support for running commands 853 1.1 elric 854 1.1 elric 2001-03-26 Assar Westerlund <assar (a] sics.se> 855 1.1 elric 856 1.1 elric * lib/hdb/hdb-ldap.c: change order of includes to allow it to work 857 1.1 elric with more versions of openldap 858 1.1 elric 859 1.1 elric * kdc/kerberos5.c (tgs_rep2): try to set sec and usec in error 860 1.1 elric replies 861 1.1 elric (*): update callers of krb5_km_error 862 1.1 elric (check_tgs_flags): handle renews requesting non-renewable tickets 863 1.1 elric 864 1.1 elric * lib/krb5/mk_error.c (krb5_mk_error): allow specifying both ctime 865 1.1 elric and cusec 866 1.1 elric 867 1.1 elric * lib/krb5/krb5.h (krb5_checksum, krb5_keyusage): add 868 1.1 elric compatibility names 869 1.1 elric 870 1.1 elric * lib/krb5/crypto.c (create_checksum): change so that `type == 0' 871 1.1 elric means pick from the `crypto' (context) and otherwise use that 872 1.1 elric type. this is not a large change in practice and allows callers 873 1.1 elric to specify the exact checksum algorithm to use 874 1.1 elric 875 1.1 elric 2001-03-13 Assar Westerlund <assar (a] sics.se> 876 1.1 elric 877 1.1 elric * lib/krb5/get_cred.c (get_cred_kdc): add support for falling back 878 1.1 elric to KRB5_KU_AP_REQ_AUTH when KRB5_KU_TGS_REQ_AUTH gives `bad 879 1.1 elric integrity'. this helps for talking to old (pre 0.3d) KDCs 880 1.1 elric 881 1.1 elric 2001-03-12 Assar Westerlund <assar (a] pdc.kth.se> 882 1.1 elric 883 1.1 elric * lib/krb5/crypto.c (krb5_derive_key): new function, used by 884 1.1 elric derived-key-test.c 885 1.1 elric * lib/krb5/string-to-key-test.c: add new test vectors posted by 886 1.1 elric Ken Raeburn <raeburn (a] mit.edu> in <tx1bsra8919.fsf (a] raeburn.org> to 887 1.1 elric ietf-krb-wg (a] anl.gov 888 1.1 elric * lib/krb5/n-fold-test.c: more test vectors from same source 889 1.1 elric * lib/krb5/derived-key-test.c: more tests from same source 890 1.1 elric 891 1.1 elric 2001-03-06 Assar Westerlund <assar (a] sics.se> 892 1.1 elric 893 1.1 elric * acconfig.h: include roken_rename.h when appropriate 894 1.1 elric 895 1.1 elric 2001-03-06 Assar Westerlund <assar (a] sics.se> 896 1.1 elric 897 1.1 elric * lib/krb5/krb5.h (krb5_enctype): remove trailing comma 898 1.1 elric 899 1.1 elric 2001-03-04 Assar Westerlund <assar (a] sics.se> 900 1.1 elric 901 1.1 elric * lib/krb5/krb5.h (krb5_enctype): add ENCTYPE_* aliases for 902 1.1 elric compatibility with MIT krb5 903 1.1 elric 904 1.1 elric 2001-03-02 Assar Westerlund <assar (a] sics.se> 905 1.1 elric 906 1.1 elric * kuser/kinit.c (main): only request a renewable ticket when 907 1.1 elric explicitly requested. it still gets a renewable one if the renew 908 1.1 elric life is specified 909 1.1 elric * kuser/kinit.c (renew_validate): treat -1 as flags not being set 910 1.1 elric 911 1.1 elric 2001-02-28 Johan Danielsson <joda (a] pdc.kth.se> 912 1.1 elric 913 1.1 elric * lib/krb5/context.c (krb5_init_ets): use krb5_add_et_list 914 1.1 elric 915 1.1 elric 2001-02-27 Johan Danielsson <joda (a] pdc.kth.se> 916 1.1 elric 917 1.1 elric * lib/krb5/get_cred.c: implement krb5_get_cred_from_kdc_opt 918 1.1 elric 919 1.1 elric 2001-02-25 Assar Westerlund <assar (a] sics.se> 920 1.1 elric 921 1.1 elric * configure.in: do not use -R when testing for des functions 922 1.1 elric 923 1.1 elric 2001-02-14 Assar Westerlund <assar (a] sics.se> 924 1.1 elric 925 1.1 elric * configure.in: test for lber.h when trying to link against 926 1.1 elric openldap to handle openldap v1, from Sumit Bose 927 1.1 elric <sumit.bose (a] suse.de> 928 1.1 elric 929 1.1 elric 2001-02-19 Assar Westerlund <assar (a] sics.se> 930 1.1 elric 931 1.1 elric * lib/asn1/libasn1.h: add string.h (for memset) 932 1.1 elric 933 1.1 elric 2001-02-15 Assar Westerlund <assar (a] sics.se> 934 1.1 elric 935 1.1 elric * lib/krb5/warn.c (_warnerr): add printf attributes 936 1.1 elric * lib/krb5/send_to_kdc.c (krb5_sendto): loop over all address 937 1.1 elric returned by getaddrinfo before trying the next kdc. from 938 1.1 elric thorpej (a] netbsd.org 939 1.1 elric 940 1.1 elric * lib/krb5/krb5.conf.5: fix default_realm in example 941 1.1 elric 942 1.1 elric * kdc/connect.c: fix a few kdc_log format types 943 1.1 elric 944 1.1 elric * configure.in: try to handle libdes/libcrypto ont requiring -L 945 1.1 elric 946 1.1 elric 2001-02-10 Assar Westerlund <assar (a] sics.se> 947 1.1 elric 948 1.1 elric * lib/asn1/gen_decode.c (generate_type_decode): zero the data at 949 1.1 elric the beginning of the generated function, and add a label `fail' 950 1.1 elric that the code jumps to in case of errors that frees all allocated 951 1.1 elric data 952 1.1 elric 953 1.1 elric 2001-02-07 Assar Westerlund <assar (a] sics.se> 954 1.1 elric 955 1.1 elric * configure.in: aix dce: fix misquotes, from Ake Sandgren 956 1.1 elric <ake (a] cs.umu.se> 957 1.1 elric 958 1.1 elric * configure.in (dpagaix_LDFLAGS): try to add export file 959 1.1 elric 960 1.1 elric 2001-02-05 Assar Westerlund <assar (a] sics.se> 961 1.1 elric 962 1.1 elric * lib/krb5/krb5_keytab.3: new man page, contributed by 963 1.1 elric <lha (a] stacken.kth.se> 964 1.1 elric 965 1.1 elric * kdc/kaserver.c: update to new db_fetch4 966 1.1 elric 967 1.1 elric 2001-02-05 Assar Westerlund <assar (a] assaris.sics.se> 968 1.1 elric 969 1.1 elric * Release 0.3e 970 1.1 elric 971 1.1 elric 2001-01-30 Assar Westerlund <assar (a] sics.se> 972 1.1 elric 973 1.1 elric * kdc/hprop.c (v4_get_masterkey): check kdb_verify_master_key 974 1.1 elric properly 975 1.1 elric (kdb_prop): decrypt key properly 976 1.1 elric * kdc/hprop.c: handle building with KRB4 always try to decrypt v4 977 1.1 elric data with the master key leave it up to the v5 how to encrypt with 978 1.1 elric that master key 979 1.1 elric 980 1.1 elric * kdc/kstash.c: include file name in error messages 981 1.1 elric * kdc/hprop.c: fix a typo and check some more return values 982 1.1 elric * lib/hdb/hdb-ldap.c (LDAP__lookup_princ): call ldap_search_s 983 1.1 elric correctly. From Jacques Vidrine <n (a] nectar.com> 984 1.1 elric * kdc/misc.c (db_fetch): HDB_ERR_NOENTRY makes more sense than 985 1.1 elric ENOENT 986 1.1 elric 987 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): bump version to 988 1.1 elric 15:0:0 989 1.1 elric * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): bump version to 7:0:0 990 1.1 elric * lib/asn1/Makefile.am (libasn1_la_LDFLAGS): bump version to 4:0:2 991 1.1 elric * kdc/misc.c (db_fetch): return an error code. change callers to 992 1.1 elric look at this and try to print it in log messages 993 1.1 elric 994 1.1 elric * lib/krb5/crypto.c (decrypt_internal_derived): check that there's 995 1.1 elric enough data 996 1.1 elric 997 1.1 elric 2001-01-29 Assar Westerlund <assar (a] sics.se> 998 1.1 elric 999 1.1 elric * kdc/hprop.c (realm_buf): move it so it becomes properly 1000 1.1 elric conditional on KRB4 1001 1.1 elric 1002 1.1 elric * lib/hdb/mkey.c (hdb_unseal_keys_mkey, hdb_seal_keys_mkey, 1003 1.1 elric hdb_unseal_keys, hdb_seal_keys): check that we have the correct 1004 1.1 elric master key and that we manage to decrypt the key properly, 1005 1.1 elric returning an error code. fix all callers to check return value. 1006 1.1 elric 1007 1.1 elric * tools/krb5-config.in: use @LIB_des_appl@ 1008 1.1 elric * tools/Makefile.am (krb5-config): add LIB_des_appl 1009 1.1 elric * configure.in (LIB_des): set correctly 1010 1.1 elric (LIB_des_appl): add for the use by krb5-config.in 1011 1.1 elric 1012 1.1 elric * lib/krb5/store_fd.c (fd_fetch, fd_store): use net_{read,write} 1013 1.1 elric to make sure of not dropping data when doing it over a socket. 1014 1.1 elric (this might break when used with ordinary files on win32) 1015 1.1 elric 1016 1.1 elric * lib/hdb/hdb_err.et (NO_MKEY): add 1017 1.1 elric 1018 1.1 elric * kdc/kerberos5.c (as_rep): be paranoid and check 1019 1.1 elric krb5_enctype_to_string for failure, noted by <lha (a] stacken.kth.se> 1020 1.1 elric 1021 1.1 elric * lib/krb5/krb5_init_context.3, lib/krb5/krb5_context.3, 1022 1.1 elric lib/krb5/krb5_auth_context.3: add new man pages, contributed by 1023 1.1 elric <lha (a] stacken.kth.se> 1024 1.1 elric 1025 1.1 elric * use the openssl api for md4/md5/sha and handle openssl/*.h 1026 1.1 elric 1027 1.1 elric * kdc/kaserver.c (do_getticket): check length of ticket. noted by 1028 1.1 elric <lha (a] stacken.kth.se> 1029 1.1 elric 1030 1.1 elric 2001-01-28 Assar Westerlund <assar (a] sics.se> 1031 1.1 elric 1032 1.1 elric * configure.in: send -R instead of -rpath to libtool to set 1033 1.1 elric runtime library paths 1034 1.1 elric 1035 1.1 elric * lib/krb5/Makefile.am: remove all dependencies on libkrb 1036 1.1 elric 1037 1.1 elric 2001-01-27 Assar Westerlund <assar (a] sics.se> 1038 1.1 elric 1039 1.1 elric * appl/rcp: add port of bsd rcp changed to use existing rsh, 1040 1.1 elric contributed by Richard Nyberg <rnyberg (a] it.su.se> 1041 1.1 elric 1042 1.1 elric 2001-01-27 Johan Danielsson <joda (a] pdc.kth.se> 1043 1.1 elric 1044 1.1 elric * lib/krb5/get_port.c: don't warn if the port name can't be found, 1045 1.1 elric nobody cares anyway 1046 1.1 elric 1047 1.1 elric 2001-01-26 Johan Danielsson <joda (a] pdc.kth.se> 1048 1.1 elric 1049 1.1 elric * kdc/hprop.c: make it possible to convert a v4 dump file without 1050 1.1 elric having any v4 libraries; the kdb backend still require them 1051 1.1 elric 1052 1.1 elric * kdc/v4_dump.c: include shadow definition of kdb Principal, so we 1053 1.1 elric don't have to depend on any v4 libraries 1054 1.1 elric 1055 1.1 elric * kdc/hprop.h: include shadow definition of kdb Principal, so we 1056 1.1 elric don't have to depend on any v4 libraries 1057 1.1 elric 1058 1.1 elric * lib/hdb/print.c: reduce number of memory allocations 1059 1.1 elric 1060 1.1 elric * lib/hdb/mkey.c: add support for reading krb4 /.k files 1061 1.1 elric 1062 1.1 elric 2001-01-19 Assar Westerlund <assar (a] sics.se> 1063 1.1 elric 1064 1.1 elric * lib/krb5/krb5.conf.5: document admin_server and kpasswd_server 1065 1.1 elric for realms document capath better 1066 1.1 elric 1067 1.1 elric * lib/krb5/krbhst.c (krb5_get_krb_changepw_hst): preferably look 1068 1.1 elric at kpasswd_server before admin_server 1069 1.1 elric 1070 1.1 elric * lib/krb5/get_cred.c (get_cred_from_kdc_flags): look in 1071 1.1 elric [libdefaults]capath for better hint of realm to send request to. 1072 1.1 elric this allows the client to specify `realm routing information' in 1073 1.1 elric case it cannot be done at the server (which is preferred) 1074 1.1 elric 1075 1.1 elric * lib/krb5/rd_priv.c (krb5_rd_priv): handle no sequence number as 1076 1.1 elric zero when we were expecting a sequence number. MIT krb5 cannot 1077 1.1 elric generate a sequence number of zero, instead generating no sequence 1078 1.1 elric number 1079 1.1 elric * lib/krb5/rd_safe.c (krb5_rd_safe): dito 1080 1.1 elric 1081 1.1 elric 2001-01-11 Assar Westerlund <assar (a] sics.se> 1082 1.1 elric 1083 1.1 elric * kpasswd/kpasswdd.c: add --port option 1084 1.1 elric 1085 1.1 elric 2001-01-10 Assar Westerlund <assar (a] sics.se> 1086 1.1 elric 1087 1.1 elric * lib/krb5/appdefault.c (krb5_appdefault_string): fix condition 1088 1.1 elric just before returning 1089 1.1 elric 1090 1.1 elric 2001-01-09 Assar Westerlund <assar (a] sics.se> 1091 1.1 elric 1092 1.1 elric * appl/kf/kfd.c (proto): use krb5_rd_cred2 instead of krb5_rd_cred 1093 1.1 elric 1094 1.1 elric 2001-01-05 Johan Danielsson <joda (a] pdc.kth.se> 1095 1.1 elric 1096 1.1 elric * kuser/kinit.c: call a time `time', and not `seconds' 1097 1.1 elric 1098 1.1 elric * lib/krb5/init_creds.c: not much point in setting the anonymous 1099 1.1 elric flag here 1100 1.1 elric 1101 1.1 elric * lib/krb5/krb5_appdefault.3: document appdefault_time 1102 1.1 elric 1103 1.1 elric 2001-01-04 Johan Danielsson <joda (a] pdc.kth.se> 1104 1.1 elric 1105 1.1 elric * lib/krb5/verify_user.c: use 1106 1.1 elric krb5_get_init_creds_opt_set_default_flags 1107 1.1 elric 1108 1.1 elric * kuser/kinit.c: use krb5_get_init_creds_opt_set_default_flags 1109 1.1 elric 1110 1.1 elric * lib/krb5/init_creds.c: new function 1111 1.1 elric krb5_get_init_creds_opt_set_default_flags to set options from 1112 1.1 elric krb5.conf 1113 1.1 elric 1114 1.1 elric * lib/krb5/rd_cred.c: make this match the MIT function 1115 1.1 elric 1116 1.1 elric * lib/krb5/appdefault.c (krb5_appdefault_string): handle NULL 1117 1.1 elric def_val 1118 1.1 elric (krb5_appdefault_time): new function 1119 1.1 elric 1120 1.1 elric 2001-01-03 Assar Westerlund <assar (a] sics.se> 1121 1.1 elric 1122 1.1 elric * kdc/hpropd.c (main): handle EOF when reading from stdin 1123