1*ca1c9b0cSelric2008-04-23 Love Hörnquist Åstrand <lha@it.su.se> 2*ca1c9b0cSelric 3*ca1c9b0cSelric * ipropd_master.c: Only log "sending AYT" once, pointed out by Dr 4*ca1c9b0cSelric A V Le Blanc. 5*ca1c9b0cSelric 6*ca1c9b0cSelric 7*ca1c9b0cSelric2008-01-21 Love Hörnquist Åstrand <lha@it.su.se> 8*ca1c9b0cSelric 9*ca1c9b0cSelric * default_keys.c: Use hdb_free_keys(). 10*ca1c9b0cSelric 11*ca1c9b0cSelric2008-01-11 Love Hörnquist Åstrand <lha@it.su.se> 12*ca1c9b0cSelric 13*ca1c9b0cSelric * Makefile.am: add check-cracklib.pl, flush.c, 14*ca1c9b0cSelric sample_passwd_check.c 15*ca1c9b0cSelric 16*ca1c9b0cSelric2007-12-07 Love Hörnquist Åstrand <lha@it.su.se> 17*ca1c9b0cSelric 18*ca1c9b0cSelric * use hdb_db_dir() and hdb_default_db() 19*ca1c9b0cSelric 20*ca1c9b0cSelric2007-10-18 Love <lha@stacken.kth.se> 21*ca1c9b0cSelric 22*ca1c9b0cSelric * init_c.c: We are getting default_client, not client. this way 23*ca1c9b0cSelric the user can override the result. 24*ca1c9b0cSelric 25*ca1c9b0cSelric2007-09-29 Love Hörnquist Åstrand <lha@it.su.se> 26*ca1c9b0cSelric 27*ca1c9b0cSelric * iprop.8: fix spelling, From Antoine Jacoutt. 28*ca1c9b0cSelric 29*ca1c9b0cSelric2007-08-16 Love Hörnquist Åstrand <lha@it.su.se> 30*ca1c9b0cSelric 31*ca1c9b0cSelric * version-script.map: export _kadm5_unmarshal_params, 32*ca1c9b0cSelric _kadm5_acl_check_permission 33*ca1c9b0cSelric 34*ca1c9b0cSelric * version-script.map: export kadm5_log_ symbols. 35*ca1c9b0cSelric 36*ca1c9b0cSelric * log.c: Unexport the specific log replay operations. 37*ca1c9b0cSelric 38*ca1c9b0cSelric2007-08-10 Love Hörnquist Åstrand <lha@it.su.se> 39*ca1c9b0cSelric 40*ca1c9b0cSelric * Makefile.am: build sample_passwd_check.la as part of noinst. 41*ca1c9b0cSelric 42*ca1c9b0cSelric * sample_passwd_check.c: Add missing prototype for check_length(). 43*ca1c9b0cSelric 44*ca1c9b0cSelric2007-08-07 Love Hörnquist Åstrand <lha@it.su.se> 45*ca1c9b0cSelric 46*ca1c9b0cSelric * log.c: Sprinkle krb5_set_error_string(). 47*ca1c9b0cSelric 48*ca1c9b0cSelric * ipropd_slave.c: Provide better error why kadm5_log_replay 49*ca1c9b0cSelric failed. 50*ca1c9b0cSelric 51*ca1c9b0cSelric2007-08-06 Love Hörnquist Åstrand <lha@it.su.se> 52*ca1c9b0cSelric 53*ca1c9b0cSelric * ipropd_master.c: - don't push whole database to the new client 54*ca1c9b0cSelric every time. - make slaves get the whole new database if they have 55*ca1c9b0cSelric a newer log the the master (and thus have them go back in time). 56*ca1c9b0cSelric 57*ca1c9b0cSelric2007-08-03 Love Hörnquist Åstrand <lha@it.su.se> 58*ca1c9b0cSelric 59*ca1c9b0cSelric * ipropd_slave.c: make more sane. 60*ca1c9b0cSelric 61*ca1c9b0cSelric * ipropd_slave.c: more paranoid check that the log entires are 62*ca1c9b0cSelric self consistant 63*ca1c9b0cSelric 64*ca1c9b0cSelric * log.c (kadm5_log_foreach): check that the postamble contains the 65*ca1c9b0cSelric right data. 66*ca1c9b0cSelric 67*ca1c9b0cSelric * ipropd_master.c: Sprinkle more info about what versions the 68*ca1c9b0cSelric master thinks about the client versions. 69*ca1c9b0cSelric 70*ca1c9b0cSelric * ipropd_master.c: Start the server at the current version, not 0. 71*ca1c9b0cSelric 72*ca1c9b0cSelric2007-08-02 Love Hörnquist Åstrand <lha@it.su.se> 73*ca1c9b0cSelric 74*ca1c9b0cSelric * ipropd_master.c: Add more logging, to figure out what is 75*ca1c9b0cSelric happening in the master. 76*ca1c9b0cSelric 77*ca1c9b0cSelric2007-08-01 Love Hörnquist Åstrand <lha@it.su.se> 78*ca1c9b0cSelric 79*ca1c9b0cSelric * Makefile.am: add version-script for libkadm5srv.la 80*ca1c9b0cSelric 81*ca1c9b0cSelric * version-script.map: version script fro kadm5 server libary. 82*ca1c9b0cSelric 83*ca1c9b0cSelric * log.c: only free the orignal entries extentions if there was 84*ca1c9b0cSelric any. Bug reported by Peter Meinecke. 85*ca1c9b0cSelric 86*ca1c9b0cSelric * add configuration for signal file and acl file, let user select 87*ca1c9b0cSelric hostname, catch signals and print why we are quiting, make nop 88*ca1c9b0cSelric cause one new version, not two 89*ca1c9b0cSelric 90*ca1c9b0cSelric2007-07-30 Love Hörnquist Åstrand <lha@it.su.se> 91*ca1c9b0cSelric 92*ca1c9b0cSelric * ipropd_master.c (send_diffs): make current slave's version 93*ca1c9b0cSelric uptodate when diff have been sent. 94*ca1c9b0cSelric 95*ca1c9b0cSelric2007-07-27 Love Hörnquist Åstrand <lha@it.su.se> 96*ca1c9b0cSelric 97*ca1c9b0cSelric * ipropd_slave.c: More comments and some more error checking. 98*ca1c9b0cSelric 99*ca1c9b0cSelric2007-07-26 Love Hörnquist Åstrand <lha@it.su.se> 100*ca1c9b0cSelric 101*ca1c9b0cSelric * init_c.c (get_cache_principal): make sure id is reset if we 102*ca1c9b0cSelric fail. From Benjamin Bennet. 103*ca1c9b0cSelric 104*ca1c9b0cSelric2007-07-10 Love Hörnquist Åstrand <lha@it.su.se> 105*ca1c9b0cSelric 106*ca1c9b0cSelric * context_s.c (find_db_spec): match realm-less as the default 107*ca1c9b0cSelric realm. 108*ca1c9b0cSelric 109*ca1c9b0cSelric * Makefile.am: New library version. 110*ca1c9b0cSelric 111*ca1c9b0cSelric2007-07-05 Love Hörnquist Åstrand <lha@it.su.se> 112*ca1c9b0cSelric 113*ca1c9b0cSelric * context_s.c: Use hdb_get_dbinfo to pick up configuration. 114*ca1c9b0cSelric ctx->config.realm can be NULL, check for that, from Bjorn S. 115*ca1c9b0cSelric 116*ca1c9b0cSelric2007-07-04 Love Hörnquist Åstrand <lha@it.su.se> 117*ca1c9b0cSelric 118*ca1c9b0cSelric * init_c.c: Try harder to use the right principal. 119*ca1c9b0cSelric 120*ca1c9b0cSelric2007-06-20 Love Hörnquist Åstrand <lha@it.su.se> 121*ca1c9b0cSelric 122*ca1c9b0cSelric * ipropd_slave.c: Catch return value from krb5_program_setup. From 123*ca1c9b0cSelric Steven Luo. 124*ca1c9b0cSelric 125*ca1c9b0cSelric2007-05-08 Love Hörnquist Åstrand <lha@it.su.se> 126*ca1c9b0cSelric 127*ca1c9b0cSelric * delete_s.c: Write log entry after store is successful, rename 128*ca1c9b0cSelric out goto statments. 129*ca1c9b0cSelric 130*ca1c9b0cSelric * randkey_s.c: Write log entry after store is successful. 131*ca1c9b0cSelric 132*ca1c9b0cSelric * modify_s.c: Write log entry after store is successful. 133*ca1c9b0cSelric 134*ca1c9b0cSelric * rename_s.c: indent. 135*ca1c9b0cSelric 136*ca1c9b0cSelric * chpass_s.c: Write log entry after store is successful. 137*ca1c9b0cSelric 138*ca1c9b0cSelric * create_s.c: Write log entry after store is successful. 139*ca1c9b0cSelric 140*ca1c9b0cSelric2007-05-07 Love Hörnquist Åstrand <lha@it.su.se> 141*ca1c9b0cSelric 142*ca1c9b0cSelric * iprop-commands.in: Add default values to make this working 143*ca1c9b0cSelric again. 144*ca1c9b0cSelric 145*ca1c9b0cSelric * iprop-log.c (iprop_replay): create the database with more 146*ca1c9b0cSelric liberal mode. 147*ca1c9b0cSelric 148*ca1c9b0cSelric * log.c: make it slightly more working. 149*ca1c9b0cSelric 150*ca1c9b0cSelric * iprop-log.8: Document last-version. 151*ca1c9b0cSelric 152*ca1c9b0cSelric * iprop-log.c: (last_version): print last version of the log. 153*ca1c9b0cSelric 154*ca1c9b0cSelric * iprop-commands.in: new command last-version: print last version 155*ca1c9b0cSelric of the log. 156*ca1c9b0cSelric 157*ca1c9b0cSelric * log.c (kadm5_log_previous): document assumptions and make less 158*ca1c9b0cSelric broken. Bug report from Ronny Blomme. 159*ca1c9b0cSelric 160*ca1c9b0cSelric2007-02-17 Love Hörnquist Åstrand <lha@it.su.se> 161*ca1c9b0cSelric 162*ca1c9b0cSelric * admin.h: add support to get aliases 163*ca1c9b0cSelric 164*ca1c9b0cSelric * get_s.c: add support to get aliases 165*ca1c9b0cSelric 166*ca1c9b0cSelric2007-02-11 David Love <fx@gnu.org> 167*ca1c9b0cSelric 168*ca1c9b0cSelric * iprop-log.8: Small fixes, from David Love. 169*ca1c9b0cSelric 170*ca1c9b0cSelric2006-12-15 Love Hörnquist Åstrand <lha@it.su.se> 171*ca1c9b0cSelric 172*ca1c9b0cSelric * init_c.c: if the user have a kadmin/admin initial ticket, don't 173*ca1c9b0cSelric ask for password, just use the credential instead. 174*ca1c9b0cSelric 175*ca1c9b0cSelric2006-12-06 Love Hörnquist Åstrand <lha@it.su.se> 176*ca1c9b0cSelric 177*ca1c9b0cSelric * ipropd_master.c: Use strcspn to remove \n from string returned 178*ca1c9b0cSelric by fgets. From Björn Sandell 179*ca1c9b0cSelric 180*ca1c9b0cSelric2006-11-30 Love Hörnquist Åstrand <lha@it.su.se> 181*ca1c9b0cSelric 182*ca1c9b0cSelric * init_c.c (kadm_connect): clear error string before trying to 183*ca1c9b0cSelric print a errno, this way we don't pick up a random failure code 184*ca1c9b0cSelric 185*ca1c9b0cSelric2006-11-20 Love Hörnquist Åstrand <lha@it.su.se> 186*ca1c9b0cSelric 187*ca1c9b0cSelric * ipropd_slave.c: Make krb5_get_init_creds_opt_free take a context 188*ca1c9b0cSelric argument. 189*ca1c9b0cSelric 190*ca1c9b0cSelric * init_c.c: Make krb5_get_init_creds_opt_free take a context 191*ca1c9b0cSelric argument. 192*ca1c9b0cSelric 193*ca1c9b0cSelric2006-10-22 Love Hörnquist Åstrand <lha@it.su.se> 194*ca1c9b0cSelric 195*ca1c9b0cSelric * ent_setup.c: Try to not leak memory. 196*ca1c9b0cSelric 197*ca1c9b0cSelric2006-10-07 Love Hörnquist Åstrand <lha@it.su.se> 198*ca1c9b0cSelric 199*ca1c9b0cSelric * Makefile.am: split build files into dist_ and noinst_ SOURCES 200*ca1c9b0cSelric 201*ca1c9b0cSelric2006-08-24 Love Hörnquist Åstrand <lha@it.su.se> 202*ca1c9b0cSelric 203*ca1c9b0cSelric * get_s.c: Add KRB5_KDB_ALLOW_DIGEST 204*ca1c9b0cSelric 205*ca1c9b0cSelric * ent_setup.c: Add KRB5_KDB_ALLOW_DIGEST 206*ca1c9b0cSelric 207*ca1c9b0cSelric * admin.h: Add KRB5_KDB_ALLOW_DIGEST 208*ca1c9b0cSelric 209*ca1c9b0cSelric2006-06-16 Love Hörnquist Åstrand <lha@it.su.se> 210*ca1c9b0cSelric 211*ca1c9b0cSelric * check-cracklib.pl: Add password reuse checking. From Harald 212*ca1c9b0cSelric Barth. 213*ca1c9b0cSelric 214*ca1c9b0cSelric2006-06-14 Love Hörnquist Åstrand <lha@it.su.se> 215*ca1c9b0cSelric 216*ca1c9b0cSelric * ent_setup.c (attr_to_flags): Add KRB5_KDB_ALLOW_KERBEROS4 217*ca1c9b0cSelric 218*ca1c9b0cSelric * get_s.c (kadm5_s_get_principal): Add KRB5_KDB_ALLOW_KERBEROS4 219*ca1c9b0cSelric 220*ca1c9b0cSelric * admin.h: Add KRB5_KDB_ALLOW_KERBEROS4 221*ca1c9b0cSelric 222*ca1c9b0cSelric2006-06-06 Love Hörnquist Åstrand <lha@it.su.se> 223*ca1c9b0cSelric 224*ca1c9b0cSelric * ent_setup.c (attr_to_flags): Add KRB5_KDB_TRUSTED_FOR_DELEGATION 225*ca1c9b0cSelric 226*ca1c9b0cSelric2006-05-30 Love Hörnquist Åstrand <lha@it.su.se> 227*ca1c9b0cSelric 228*ca1c9b0cSelric * password_quality.c (kadm5_check_password_quality): set error 229*ca1c9b0cSelric message in context. 230*ca1c9b0cSelric 231*ca1c9b0cSelric2006-05-13 Love Hörnquist Åstrand <lha@it.su.se> 232*ca1c9b0cSelric 233*ca1c9b0cSelric * iprop-log.c: Avoid shadowing. 234*ca1c9b0cSelric 235*ca1c9b0cSelric * rename_s.c: Avoid shadowing. 236*ca1c9b0cSelric 237*ca1c9b0cSelric2006-05-08 Love Hörnquist Åstrand <lha@it.su.se> 238*ca1c9b0cSelric 239*ca1c9b0cSelric * privs_c.c (kadm5_c_get_privs): privs is a uint32_t, let copy it 240*ca1c9b0cSelric that way. 241*ca1c9b0cSelric 242*ca1c9b0cSelric2006-05-05 Love Hörnquist Åstrand <lha@it.su.se> 243*ca1c9b0cSelric 244*ca1c9b0cSelric * Rename u_intXX_t to uintXX_t 245*ca1c9b0cSelric 246*ca1c9b0cSelric2006-04-27 Love Hörnquist Åstrand <lha@it.su.se> 247*ca1c9b0cSelric 248*ca1c9b0cSelric * chpass_s.c,delete_s.c,get_s.c,log.c,modify_s.c,randkey_s.c,rename_s.c: 249*ca1c9b0cSelric Pass in HDB_F_GET_ANY to all ->hdb fetch to hint what entries we are looking for 250*ca1c9b0cSelric 251*ca1c9b0cSelric * send_recv.c: set and clear error string 252*ca1c9b0cSelric 253*ca1c9b0cSelric * rename_s.c: Break out the that we request from principal from 254*ca1c9b0cSelric the entry and pass it in as a separate argument. 255*ca1c9b0cSelric 256*ca1c9b0cSelric * randkey_s.c: Break out the that we request from principal from 257*ca1c9b0cSelric the entry and pass it in as a separate argument. 258*ca1c9b0cSelric 259*ca1c9b0cSelric * modify_s.c: Break out the that we request from principal from 260*ca1c9b0cSelric the entry and pass it in as a separate argument. 261*ca1c9b0cSelric 262*ca1c9b0cSelric * log.c: Break out the that we request from principal from the 263*ca1c9b0cSelric entry and pass it in as a separate argument. 264*ca1c9b0cSelric 265*ca1c9b0cSelric * get_s.c: Break out the that we request from principal from the 266*ca1c9b0cSelric entry and pass it in as a separate argument. 267*ca1c9b0cSelric 268*ca1c9b0cSelric * delete_s.c: Break out the that we request from principal from 269*ca1c9b0cSelric the entry and pass it in as a separate argument. 270*ca1c9b0cSelric 271*ca1c9b0cSelric * chpass_s.c: Break out the that we request from principal from 272*ca1c9b0cSelric the entry and pass it in as a separate argument. 273*ca1c9b0cSelric 274*ca1c9b0cSelric2006-04-25 Love Hörnquist Åstrand <lha@it.su.se> 275*ca1c9b0cSelric 276*ca1c9b0cSelric * create_s.c (create_principal*): If client doesn't send kvno, 277*ca1c9b0cSelric make sure to set it to 1. 278*ca1c9b0cSelric 279*ca1c9b0cSelric2006-04-10 Love Hörnquist Åstrand <lha@it.su.se> 280*ca1c9b0cSelric 281*ca1c9b0cSelric * log.c: (kadm5_log_rename): handle errors better 282*ca1c9b0cSelric Fixes Coverity, NetBSD CID#628 283*ca1c9b0cSelric 284*ca1c9b0cSelric * log.c (kadm5_log_delete): add error handling Coverity, NetBSD 285*ca1c9b0cSelric CID#626 286*ca1c9b0cSelric (kadm5_log_modify): add error handling Coverity, NetBSD CID#627 287*ca1c9b0cSelric 288*ca1c9b0cSelric * init_c.c (_kadm5_c_get_cred_cache): handle ccache case better in 289*ca1c9b0cSelric case no client name was passed in. Coverity, NetBSD CID#919 290*ca1c9b0cSelric 291*ca1c9b0cSelric * init_c.c (_kadm5_c_get_cred_cache): Free client principal in 292*ca1c9b0cSelric case of error. Coverity NetBSD CID#1908 293*ca1c9b0cSelric 294*ca1c9b0cSelric2006-02-02 Love Hörnquist Åstrand <lha@it.su.se> 295*ca1c9b0cSelric 296*ca1c9b0cSelric * kadm5_err.et: (PASS_REUSE): Spelling, 297*ca1c9b0cSelric from Václav H?la <ax@natur.cuni.cz> 298*ca1c9b0cSelric 299*ca1c9b0cSelric2006-01-25 Love Hörnquist Åstrand <lha@it.su.se> 300*ca1c9b0cSelric 301*ca1c9b0cSelric * send_recv.c: Clear error-string when introducing new errors. 302*ca1c9b0cSelric 303*ca1c9b0cSelric * *_c.c: Clear error-string when introducing new errors. 304*ca1c9b0cSelric 305*ca1c9b0cSelric2006-01-15 Love Hörnquist Åstrand <lha@it.su.se> 306*ca1c9b0cSelric 307*ca1c9b0cSelric * Makefile.am (libkadm5clnt.la) doesn't depend on libhdb, remove 308*ca1c9b0cSelric dependency 309*ca1c9b0cSelric 310*ca1c9b0cSelric2005-12-13 Love Hörnquist Åstrand <lha@it.su.se> 311*ca1c9b0cSelric 312*ca1c9b0cSelric * memset hdb_entry_ex before use 313*ca1c9b0cSelric 314*ca1c9b0cSelric2005-12-12 Love Hörnquist Åstrand <lha@it.su.se> 315*ca1c9b0cSelric 316*ca1c9b0cSelric * Wrap hdb_entry with hdb_entry_ex, patch originally 317*ca1c9b0cSelric from Andrew Bartlet 318*ca1c9b0cSelric 319*ca1c9b0cSelric2005-11-30 Love Hörnquist Åstrand <lha@it.su.se> 320*ca1c9b0cSelric 321*ca1c9b0cSelric * context_s.c (set_field): try another way to calculate the path 322*ca1c9b0cSelric to the database/logfile/signal-socket 323*ca1c9b0cSelric 324*ca1c9b0cSelric * log.c (kadm5_log_init): set error string on failures 325*ca1c9b0cSelric 326*ca1c9b0cSelric2005-09-08 Love Hörnquist Åstrand <lha@it.su.se> 327*ca1c9b0cSelric 328*ca1c9b0cSelric * Constify password. 329*ca1c9b0cSelric 330*ca1c9b0cSelric * admin.h: Add KRB5_TL_PKINIT_ACL. 331*ca1c9b0cSelric 332*ca1c9b0cSelric * marshall.c (_kadm5_unmarshal_params): avoid signed-ness warnings 333*ca1c9b0cSelric 334*ca1c9b0cSelric * get_s.c (kadm5_s_get_principal): clear error string 335*ca1c9b0cSelric 336*ca1c9b0cSelric2005-08-25 Love Hörnquist Åstrand <lha@it.su.se> 337*ca1c9b0cSelric 338*ca1c9b0cSelric * iprop-log.8: More text about iprop-log. 339*ca1c9b0cSelric 340*ca1c9b0cSelric2005-08-24 Love Hörnquist Åstrand <lha@it.su.se> 341*ca1c9b0cSelric 342*ca1c9b0cSelric * iprop.8: SEE ALSO iprop-log. 343*ca1c9b0cSelric 344*ca1c9b0cSelric * Makefile.am: man_MANS += iprop-log.8 345*ca1c9b0cSelric 346*ca1c9b0cSelric * iprop-log.8: Basic for documentation of iprop-log. 347*ca1c9b0cSelric 348*ca1c9b0cSelric * remove replay_log.c, dump_log.c, and truncate_log.c, folded into 349*ca1c9b0cSelric iprop-log. 350*ca1c9b0cSelric 351*ca1c9b0cSelric * log.c (kadm5_log_foreach): add a context variable and pass it 352*ca1c9b0cSelric down to `func´. 353*ca1c9b0cSelric 354*ca1c9b0cSelric * iprop-commands.in: Move truncate_log and replay_log into 355*ca1c9b0cSelric iprop-log. 356*ca1c9b0cSelric 357*ca1c9b0cSelric * iprop-log.c: Move truncate_log and replay_log into iprop-log. 358*ca1c9b0cSelric 359*ca1c9b0cSelric * Makefile.am: Move truncate_log and replay_log into iprop-log. 360*ca1c9b0cSelric 361*ca1c9b0cSelric * Makefile.am: Make this work with a clean directory. 362*ca1c9b0cSelric 363*ca1c9b0cSelric * ipropd_master.c: Make compile. 364*ca1c9b0cSelric 365*ca1c9b0cSelric * ipropd_master.c: Update to new signature of kadm5_log_previous. 366*ca1c9b0cSelric 367*ca1c9b0cSelric * log.c (kadm5_log_previous): catch errors instead of asserting 368*ca1c9b0cSelric and set error string. 369*ca1c9b0cSelric 370*ca1c9b0cSelric * iprop-commands.in: New program iprop-log that incorperates 371*ca1c9b0cSelric dump_log as a subcommand, truncate_log and replay_log soon to come 372*ca1c9b0cSelric after. 373*ca1c9b0cSelric 374*ca1c9b0cSelric * iprop-log.c: New program iprop-log that incorperates dump_log as 375*ca1c9b0cSelric a subcommand, truncate_log and replay_log soon to come after. 376*ca1c9b0cSelric 377*ca1c9b0cSelric * Makefile.am: New program iprop-log that incorperates dump_log as 378*ca1c9b0cSelric a subcommand, truncate_log and replay_log soon to come after. 379*ca1c9b0cSelric 380*ca1c9b0cSelric2005-08-11 Love Hörnquist Åstrand <lha@it.su.se> 381*ca1c9b0cSelric 382*ca1c9b0cSelric * get_s.c: Implement KADM5_LAST_PWD_CHANGE. 383*ca1c9b0cSelric 384*ca1c9b0cSelric * set_keys.c: Set and clear password where appropriate. 385*ca1c9b0cSelric 386*ca1c9b0cSelric * randkey_s.c: Operation modifies tl_data. 387*ca1c9b0cSelric 388*ca1c9b0cSelric * log.c (kadm5_log_replay_modify): Check return values of 389*ca1c9b0cSelric malloc(), replace all extensions. 390*ca1c9b0cSelric 391*ca1c9b0cSelric * kadm5_err.et: Make BAD_TL_TYPE error more helpful. 392*ca1c9b0cSelric 393*ca1c9b0cSelric * get_s.c: Expose KADM5_TL_DATA options to the client. 394*ca1c9b0cSelric 395*ca1c9b0cSelric * ent_setup.c: Merge in KADM5_TL_DATA in the database. 396*ca1c9b0cSelric 397*ca1c9b0cSelric * chpass_s.c: Operations modify extensions, mark that with 398*ca1c9b0cSelric TL_DATA. 399*ca1c9b0cSelric 400*ca1c9b0cSelric * admin.h: Add more TL types (password and extension). 401*ca1c9b0cSelric 402*ca1c9b0cSelric2005-06-17 Love Hörnquist Åstrand <lha@it.su.se> 403*ca1c9b0cSelric 404*ca1c9b0cSelric * constify 405*ca1c9b0cSelric 406*ca1c9b0cSelric * ipropd_slave.c: avoid shadowing 407*ca1c9b0cSelric 408*ca1c9b0cSelric * ipropd_master.c: rename local variable slave to s, optind -> 409*ca1c9b0cSelric optidx 410*ca1c9b0cSelric 411*ca1c9b0cSelric * get_princs_c.c: rename variable exp to expression 412*ca1c9b0cSelric 413*ca1c9b0cSelric * ad.c: rename variable exp to expression 414*ca1c9b0cSelric 415*ca1c9b0cSelric * log.c: rename shadowing len to num 416*ca1c9b0cSelric 417*ca1c9b0cSelric * get_princs_s.c: rename variable exp to expression 418*ca1c9b0cSelric 419*ca1c9b0cSelric * context_s.c: const poison 420*ca1c9b0cSelric 421*ca1c9b0cSelric * common_glue.c: rename variable exp to expression 422*ca1c9b0cSelric 423*ca1c9b0cSelric2005-05-30 Love Hörnquist Åstrand <lha@it.su.se> 424*ca1c9b0cSelric 425*ca1c9b0cSelric * ent_setup.c (attr_to_flags): check for KRB5_KDB_OK_AS_DELEGATE 426*ca1c9b0cSelric 427*ca1c9b0cSelric * get_s.c (kadm5_s_get_principal): set KRB5_KDB_OK_AS_DELEGATE 428*ca1c9b0cSelric 429*ca1c9b0cSelric * admin.h: add KRB5_KDB_OK_AS_DELEGATE, sync KRB5_TL_ flags 430*ca1c9b0cSelric 431*ca1c9b0cSelric2005-05-25 Love Hörnquist Åstrand <lha@it.su.se> 432*ca1c9b0cSelric 433*ca1c9b0cSelric * kadm5_pwcheck.3: please mdoclint 434*ca1c9b0cSelric 435*ca1c9b0cSelric2005-05-25 Dave Love <fx@gnu.org> 436*ca1c9b0cSelric 437*ca1c9b0cSelric * kadm5_pwcheck.3: document kadm5_add_passwd_quality_verifier, 438*ca1c9b0cSelric improve text 439*ca1c9b0cSelric 440*ca1c9b0cSelric2005-05-24 Dave Love <fx@gnu.org> 441*ca1c9b0cSelric 442*ca1c9b0cSelric * iprop.8: Added some info about defaults, fixed some markup. 443*ca1c9b0cSelric 444*ca1c9b0cSelric2005-05-23 Dave Love <fx@gnu.org> 445*ca1c9b0cSelric 446*ca1c9b0cSelric * ipropd_slave.c: Don't test HAVE_DAEMON since roken supplies it. 447*ca1c9b0cSelric 448*ca1c9b0cSelric * ipropd_master.c: Don't test HAVE_DAEMON since roken supplies it. 449*ca1c9b0cSelric 450*ca1c9b0cSelric2005-05-13 Love Hörnquist Åstrand <lha@it.su.se> 451*ca1c9b0cSelric 452*ca1c9b0cSelric * init_c.c (_kadm5_c_init_context): fix memory leak in case of 453*ca1c9b0cSelric failure 454*ca1c9b0cSelric 455*ca1c9b0cSelric2005-05-09 Dave Love <fx@gnu.org> 456*ca1c9b0cSelric 457*ca1c9b0cSelric * password_quality.c (find_func): Fix off-by-one and logic error. 458*ca1c9b0cSelric (external_passwd_quality): Improve messages. 459*ca1c9b0cSelric 460*ca1c9b0cSelric * test_pw_quality.c (main): Call kadm5_setup_passwd_quality_check 461*ca1c9b0cSelric and kadm5_add_passwd_quality_verifier. 462*ca1c9b0cSelric 463*ca1c9b0cSelric2005-04-30 Love Hörnquist Åstrand <lha@it.su.se> 464*ca1c9b0cSelric 465*ca1c9b0cSelric * default_keys.c: #include <err.h>, only print salt it its longer 466*ca1c9b0cSelric then 0, use krb5_err instead of errx where appropriate 467*ca1c9b0cSelric 468*ca1c9b0cSelric2005-04-25 Love Hörnquist Åstrand <lha@it.su.se> 469*ca1c9b0cSelric 470*ca1c9b0cSelric * ipropd_slave.c: add the documented option --port 471*ca1c9b0cSelric 472*ca1c9b0cSelric * ipropd_master.c: add the documented option --port 473*ca1c9b0cSelric 474*ca1c9b0cSelric * dump_log.c: use the newly generated units function 475*ca1c9b0cSelric 476*ca1c9b0cSelric2005-04-24 Love Hörnquist Åstrand <lha@it.su.se> 477*ca1c9b0cSelric 478*ca1c9b0cSelric * dump_log.c: use strlcpy 479*ca1c9b0cSelric 480*ca1c9b0cSelric * password_quality.c: don't use sizeof(pointer) 481*ca1c9b0cSelric 482*ca1c9b0cSelric2005-04-15 Love Hörnquist Åstrand <lha@it.su.se> 483*ca1c9b0cSelric 484*ca1c9b0cSelric * check-cracklib.pl: external password verifier sample 485*ca1c9b0cSelric 486*ca1c9b0cSelric * password_quality.c (kadm5_add_passwd_quality_verifier): if NULL 487*ca1c9b0cSelric is passed in, load defaults 488*ca1c9b0cSelric 489*ca1c9b0cSelric2005-04-14 Love Hörnquist Åstrand <lha@it.su.se> 490*ca1c9b0cSelric 491*ca1c9b0cSelric * password_quality.c: add an end tag to the external password 492*ca1c9b0cSelric quality check protocol 493*ca1c9b0cSelric 494*ca1c9b0cSelric2005-04-13 Love Hörnquist Åstrand <lha@it.su.se> 495*ca1c9b0cSelric 496*ca1c9b0cSelric * password_quality.c: add external passsword quality check builtin 497*ca1c9b0cSelric module 498*ca1c9b0cSelric 499*ca1c9b0cSelric [password_quality] 500*ca1c9b0cSelric policies = external-check 501*ca1c9b0cSelric external-program = /bin/false 502*ca1c9b0cSelric 503*ca1c9b0cSelric To approve password a, make the test program return APPROVED on 504*ca1c9b0cSelric stderr and fail with exit code 0. 505*ca1c9b0cSelric 506*ca1c9b0cSelric2004-10-12 Love Hörnquist Åstrand <lha@it.su.se> 507*ca1c9b0cSelric 508*ca1c9b0cSelric * Makefile.am: bump version to 7:7:0 and 6:5:2 509*ca1c9b0cSelric 510*ca1c9b0cSelric * default_keys.c (parse_file): use hdb_generate_key_set 511*ca1c9b0cSelric 512*ca1c9b0cSelric * keys.c,set_keys.c: Move keyset parsing and password based keyset 513*ca1c9b0cSelric generation into hdb. Requested by Andrew Bartlett <abartlet@samba.org> 514*ca1c9b0cSelric for hdb-ldb backend. 515*ca1c9b0cSelric 516*ca1c9b0cSelric2004-09-23 Johan Danielsson <joda@pdc.kth.se> 517*ca1c9b0cSelric 518*ca1c9b0cSelric * ipropd_master.c: add help strings to some options 519*ca1c9b0cSelric 520*ca1c9b0cSelric2004-09-12 Love Hörnquist Åstrand <lha@it.su.se> 521*ca1c9b0cSelric 522*ca1c9b0cSelric * chpass_s.c: deal with changed prototype for _kadm5_free_keys 523*ca1c9b0cSelric 524*ca1c9b0cSelric * keys.c (_kadm5_free_keys): change prototype, make it use 525*ca1c9b0cSelric krb5_context instead of a kadm5_server_context 526*ca1c9b0cSelric 527*ca1c9b0cSelric * set_keys.c (parse_key_set): do way with static returning 528*ca1c9b0cSelric (function) static variable and returned allocated memory 529*ca1c9b0cSelric (_kadm5_generate_key_set): free enctypes returned by parse_key_set 530*ca1c9b0cSelric 531*ca1c9b0cSelric2004-09-06 Love Hörnquist Åstrand <lha@it.su.se> 532*ca1c9b0cSelric 533*ca1c9b0cSelric * set_keys.c: Fix memory leak, don't return stack variables From 534*ca1c9b0cSelric Andrew Bartlett 535*ca1c9b0cSelric 536*ca1c9b0cSelric * set_keys.c: make all_etypes const and move outside function to 537*ca1c9b0cSelric avoid returning data on stack 538*ca1c9b0cSelric 539*ca1c9b0cSelric2004-08-26 Love Hörnquist Åstrand <lha@it.su.se> 540*ca1c9b0cSelric 541*ca1c9b0cSelric * acl.c (fetch_acl): use " \t\n" instead of just "\n" for the 542*ca1c9b0cSelric delim of the third element, this is so we can match 543*ca1c9b0cSelric "foo@REALM<SPC>all<SPC><SPC>*@REALM", before it just matched 544*ca1c9b0cSelric "foo@REALM<SPC>all<SPC>*@REALM", but that is kind of lucky since 545*ca1c9b0cSelric what really happen was that the last <SPC> was stamped out, and 546*ca1c9b0cSelric the it never strtok_r never needed to parse over it. 547*ca1c9b0cSelric 548*ca1c9b0cSelric2004-08-25 Love Hörnquist Åstrand <lha@it.su.se> 549*ca1c9b0cSelric 550*ca1c9b0cSelric * set_keys.c (_kadm5_generate_key_set): since arcfour-hmac-md5 is 551*ca1c9b0cSelric without salting, some people tries to add the string 552*ca1c9b0cSelric "arcfour-hmac-md5" when they really should have used 553*ca1c9b0cSelric "arcfour-hmac-md5:pw-salt", help them and add glue for that 554*ca1c9b0cSelric 555*ca1c9b0cSelric2004-08-18 Johan Danielsson <joda@pdc.kth.se> 556*ca1c9b0cSelric 557*ca1c9b0cSelric * ipropd_slave.c: add --detach 558*ca1c9b0cSelric 559*ca1c9b0cSelric2004-07-06 Love Hörnquist Åstrand <lha@it.su.se> 560*ca1c9b0cSelric 561*ca1c9b0cSelric * ad.c: use new tsasl interface remove debug printf add upn to 562*ca1c9b0cSelric computer-accounts 563*ca1c9b0cSelric 564*ca1c9b0cSelric2004-06-28 Love Hörnquist Åstrand <lha@it.su.se> 565*ca1c9b0cSelric 566*ca1c9b0cSelric * ad.c: implement kadm5_ad_init_with_password_ctx set more error 567*ca1c9b0cSelric strings 568*ca1c9b0cSelric 569*ca1c9b0cSelric2004-06-21 Love Hörnquist Åstrand <lha@it.su.se> 570*ca1c9b0cSelric 571*ca1c9b0cSelric * Makefile.am: man_MANS = kadm5_pwcheck.3 572*ca1c9b0cSelric 573*ca1c9b0cSelric * kadm5_pwcheck.3: document new password quality api 574*ca1c9b0cSelric 575*ca1c9b0cSelric * password_quality.c: new password check interface (old still 576*ca1c9b0cSelric supported) 577*ca1c9b0cSelric 578*ca1c9b0cSelric * kadm5-pwcheck.h: new password check interface 579*ca1c9b0cSelric 580*ca1c9b0cSelric2004-06-08 Love Hörnquist Åstrand <lha@it.su.se> 581*ca1c9b0cSelric 582*ca1c9b0cSelric * ipropd_master.c (main): process all slaves, not just up to the 583*ca1c9b0cSelric last slave sending data 584*ca1c9b0cSelric (bug report from Björn Sandell <biorn@dce.chalmers.se>) 585*ca1c9b0cSelric (*): only send one ARE_YOU_THERE 586*ca1c9b0cSelric 587*ca1c9b0cSelric2004-06-02 Love Hörnquist Åstrand <lha@it.su.se> 588*ca1c9b0cSelric 589*ca1c9b0cSelric * ad.c: use krb5_set_password_using_ccache 590*ca1c9b0cSelric 591*ca1c9b0cSelric2004-06-01 Love Hörnquist Åstrand <lha@it.su.se> 592*ca1c9b0cSelric 593*ca1c9b0cSelric * ad.c: try handle spn's better 594*ca1c9b0cSelric 595*ca1c9b0cSelric2004-05-31 Love Hörnquist Åstrand <lha@it.su.se> 596*ca1c9b0cSelric 597*ca1c9b0cSelric * ad.c: add expiration time 598*ca1c9b0cSelric 599*ca1c9b0cSelric * ad.c: add modify operations 600*ca1c9b0cSelric 601*ca1c9b0cSelric * ad.c: handle create and delete 602*ca1c9b0cSelric 603*ca1c9b0cSelric2004-05-27 Love Hörnquist Åstrand <lha@it.su.se> 604*ca1c9b0cSelric 605*ca1c9b0cSelric * ad.c: more code for get, handle attributes 606*ca1c9b0cSelric 607*ca1c9b0cSelric * ad.c: more code for get, handle time stamps and bad password 608*ca1c9b0cSelric counter 609*ca1c9b0cSelric 610*ca1c9b0cSelric * ad.c: more code for get, only fetches kvno for now 611*ca1c9b0cSelric 612*ca1c9b0cSelric2004-05-26 Love Hörnquist Åstrand <lha@it.su.se> 613*ca1c9b0cSelric 614*ca1c9b0cSelric * ad.c: add support for tsasl 615*ca1c9b0cSelric 616*ca1c9b0cSelric * private.h: add kadm5_ad_context 617*ca1c9b0cSelric 618*ca1c9b0cSelric * ipropd_master.c (prop_one): store the opcode in the begining of 619*ca1c9b0cSelric the blob, not the end 620*ca1c9b0cSelric 621*ca1c9b0cSelric * ad.c: try all ldap servers in dns, generate a random password, 622*ca1c9b0cSelric base64(random_block(64)), XXX must make it support other then 623*ca1c9b0cSelric ARCFOUR 624*ca1c9b0cSelric 625*ca1c9b0cSelric * ad.c: framework for windows AD backend 626*ca1c9b0cSelric 627*ca1c9b0cSelric2004-03-07 Love Hörnquist Åstrand <lha@it.su.se> 628*ca1c9b0cSelric 629*ca1c9b0cSelric * create_s.c (kadm5_s_create_principal): remove old XXX command 630*ca1c9b0cSelric and related code, _kadm5_set_keys will do all this now 631*ca1c9b0cSelric 632*ca1c9b0cSelric2004-02-29 Love Hörnquist Åstrand <lha@it.su.se> 633*ca1c9b0cSelric 634*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys_randomly): make sure enctype to copy 635*ca1c9b0cSelric enctype for des keys From: Andrew Bartlett <abartlet@samba.org> 636*ca1c9b0cSelric 637*ca1c9b0cSelric * create_s.c (kadm5_s_create_principal_with_key): don't call 638*ca1c9b0cSelric _kadm5_set_keys2, create_principal will do that for us. Set kvno 639*ca1c9b0cSelric to 1. 640*ca1c9b0cSelric 641*ca1c9b0cSelric * chpass_s.c (change): bump kvno 642*ca1c9b0cSelric (kadm5_s_chpass_principal_with_key): bump kvno 643*ca1c9b0cSelric 644*ca1c9b0cSelric * randkey_s.c (kadm5_s_randkey_principal): bump kvno 645*ca1c9b0cSelric 646*ca1c9b0cSelric * set_keys.c (_kadm5_set_*): don't change the kvno, let the callee 647*ca1c9b0cSelric to that 648*ca1c9b0cSelric 649*ca1c9b0cSelric2003-12-30 Love Hörnquist Åstrand <lha@it.su.se> 650*ca1c9b0cSelric 651*ca1c9b0cSelric * chpass_s.c (change): fix same-password-again by decrypting keys 652*ca1c9b0cSelric and setting an error code From: Buck Huppmann <buckh@pobox.com> 653*ca1c9b0cSelric 654*ca1c9b0cSelric2003-12-21 Love Hörnquist Åstrand <lha@it.su.se> 655*ca1c9b0cSelric 656*ca1c9b0cSelric * init_c.c (_kadm5_c_init_context): catch errors from strdup and 657*ca1c9b0cSelric other krb5_ functions 658*ca1c9b0cSelric 659*ca1c9b0cSelric2003-12-08 Love Hörnquist Åstrand <lha@it.su.se> 660*ca1c9b0cSelric 661*ca1c9b0cSelric * rename_s.c (kadm5_s_rename_principal): allow principal to change 662*ca1c9b0cSelric realm From Panasas Inc 663*ca1c9b0cSelric 664*ca1c9b0cSelric2003-12-07 Love Hörnquist Åstrand <lha@it.su.se> 665*ca1c9b0cSelric 666*ca1c9b0cSelric * destroy_c.c (kadm5_c_destroy): fix memory leaks, From Panasas, 667*ca1c9b0cSelric Inc 668*ca1c9b0cSelric 669*ca1c9b0cSelric2003-11-23 Love Hörnquist Åstrand <lha@it.su.se> 670*ca1c9b0cSelric 671*ca1c9b0cSelric * iprop.h: don't include <krb5-private.h> 672*ca1c9b0cSelric 673*ca1c9b0cSelric * ipropd_slave.c: stop using krb5 lib private byte-frobbing 674*ca1c9b0cSelric functions and replace them with with krb5_storage 675*ca1c9b0cSelric 676*ca1c9b0cSelric * ipropd_master.c: stop using krb5 lib private byte-frobbing 677*ca1c9b0cSelric functions and replace them with with krb5_storage 678*ca1c9b0cSelric 679*ca1c9b0cSelric2003-11-19 Love Hörnquist Åstrand <lha@it.su.se> 680*ca1c9b0cSelric 681*ca1c9b0cSelric * ipropd_slave.c (receive_loop): when seeking over the entries we 682*ca1c9b0cSelric already have, skip over the trailer. From: Jeffrey Hutzelman 683*ca1c9b0cSelric <jhutz@cmu.edu> 684*ca1c9b0cSelric 685*ca1c9b0cSelric * dump_log.c,ipropd_master.c,ipropd_slave.c, 686*ca1c9b0cSelric replay_log.c,truncate_log.c: parse kdc.conf 687*ca1c9b0cSelric From: Jeffrey Hutzelman <jhutz@cmu.edu> 688*ca1c9b0cSelric 689*ca1c9b0cSelric2003-10-10 Love Hörnquist Åstrand <lha@it.su.se> 690*ca1c9b0cSelric 691*ca1c9b0cSelric * Makefile.am: += test_pw_quality 692*ca1c9b0cSelric 693*ca1c9b0cSelric * test_pw_quality.c: test program for verifying password quality 694*ca1c9b0cSelric function 695*ca1c9b0cSelric 696*ca1c9b0cSelric2003-09-03 Love Hörnquist Åstrand <lha@it.su.se> 697*ca1c9b0cSelric 698*ca1c9b0cSelric * Makefile.am: add and enable check program default_keys 699*ca1c9b0cSelric 700*ca1c9b0cSelric * default_keys.c: test program for _kadm5_generate_key_set 701*ca1c9b0cSelric 702*ca1c9b0cSelric * init_c.c: use 703*ca1c9b0cSelric krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free 704*ca1c9b0cSelric 705*ca1c9b0cSelric2003-08-17 Love Hörnquist Åstrand <lha@it.su.se> 706*ca1c9b0cSelric 707*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys_randomly): remove dup return 708*ca1c9b0cSelric 709*ca1c9b0cSelric * ipropd_master.c (main): make sure current_version is initialized 710*ca1c9b0cSelric 711*ca1c9b0cSelric2003-08-15 Love Hörnquist Åstrand <lha@it.su.se> 712*ca1c9b0cSelric 713*ca1c9b0cSelric * set_keys.c: use default_keys for the both random keys and 714*ca1c9b0cSelric password derived keys if its defined 715*ca1c9b0cSelric 716*ca1c9b0cSelric2003-07-24 Love Hörnquist Åstrand <lha@it.su.se> 717*ca1c9b0cSelric 718*ca1c9b0cSelric * ipropd_slave.c (receive_everything): switch close and rename 719*ca1c9b0cSelric From: Alf Wachsmann <alfw@SLAC.Stanford.EDU> 720*ca1c9b0cSelric 721*ca1c9b0cSelric2003-07-03 Love Hörnquist Åstrand <lha@it.su.se> 722*ca1c9b0cSelric 723*ca1c9b0cSelric * iprop.h, ipropd_master.c, ipropd_slave.c: 724*ca1c9b0cSelric Add probing from the server that the client is still there, also 725*ca1c9b0cSelric make the client check that the server is probing. 726*ca1c9b0cSelric 727*ca1c9b0cSelric2003-07-02 Love Hörnquist Åstrand <lha@it.su.se> 728*ca1c9b0cSelric 729*ca1c9b0cSelric * truncate_log.c (main): add missing ``if (ret)'' 730*ca1c9b0cSelric 731*ca1c9b0cSelric2003-06-26 Love Hörnquist Åstrand <lha@it.su.se> 732*ca1c9b0cSelric 733*ca1c9b0cSelric * set_keys.c (make_keys): add AES support 734*ca1c9b0cSelric 735*ca1c9b0cSelric * set_keys.c: fix off by one in the aes case, pointed out by Ken 736*ca1c9b0cSelric Raeburn 737*ca1c9b0cSelric 738*ca1c9b0cSelric2003-04-30 Love Hörnquist Åstrand <lha@it.su.se> 739*ca1c9b0cSelric 740*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys_randomly): add 741*ca1c9b0cSelric ETYPE_AES256_CTS_HMAC_SHA1_96 key when configuried with aes 742*ca1c9b0cSelric support 743*ca1c9b0cSelric 744*ca1c9b0cSelric2003-04-16 Love Hörnquist Åstrand <lha@it.su.se> 745*ca1c9b0cSelric 746*ca1c9b0cSelric * send_recv.c: check return values from krb5_data_alloc 747*ca1c9b0cSelric * log.c: check return values from krb5_data_alloc 748*ca1c9b0cSelric 749*ca1c9b0cSelric2003-04-16 Love Hörnquist Åstrand <lha@it.su.se> 750*ca1c9b0cSelric 751*ca1c9b0cSelric * dump_log.c (print_entry): check return values from 752*ca1c9b0cSelric krb5_data_alloc 753*ca1c9b0cSelric 754*ca1c9b0cSelric2003-04-01 Love Hörnquist Åstrand <lha@it.su.se> 755*ca1c9b0cSelric 756*ca1c9b0cSelric * init_c.c (kadm_connect): if a context realm was passed in, use 757*ca1c9b0cSelric that to form the kadmin/admin principal 758*ca1c9b0cSelric 759*ca1c9b0cSelric2003-03-19 Love Hörnquist Åstrand <lha@it.su.se> 760*ca1c9b0cSelric 761*ca1c9b0cSelric * ipropd_master.c (main): make sure we don't consider dead slave 762*ca1c9b0cSelric for select processing 763*ca1c9b0cSelric (write_stats): use slave_stats_file variable, 764*ca1c9b0cSelric check return value of strftime 765*ca1c9b0cSelric (args): allow specifying slave stats file 766*ca1c9b0cSelric (slave_dead): close the fd when the slave dies 767*ca1c9b0cSelric 768*ca1c9b0cSelric2002-10-21 Johan Danielsson <joda@pdc.kth.se> 769*ca1c9b0cSelric 770*ca1c9b0cSelric * ipropd_slave.c (from Derrick Brashear): Propagating a large 771*ca1c9b0cSelric database without this means the slave kdcs can get erroneous 772*ca1c9b0cSelric HDB_NOENTRY and return the resulting errors. This creates a new db 773*ca1c9b0cSelric handle, populates it, and moves it into place. 774*ca1c9b0cSelric 775*ca1c9b0cSelric2002-08-26 Assar Westerlund <assar@kth.se> 776*ca1c9b0cSelric 777*ca1c9b0cSelric * ipropd_slave.c (receive_everything): type-correctness calling 778*ca1c9b0cSelric _krb5_get_int 779*ca1c9b0cSelric 780*ca1c9b0cSelric * context_s.c (find_db_spec): const-correctness in parameters to 781*ca1c9b0cSelric krb5_config_get_next 782*ca1c9b0cSelric 783*ca1c9b0cSelric2002-08-16 Johan Danielsson <joda@pdc.kth.se> 784*ca1c9b0cSelric 785*ca1c9b0cSelric * private.h: rename header file flag macro 786*ca1c9b0cSelric 787*ca1c9b0cSelric * Makefile.am: generate kadm5-{protos,private}.h 788*ca1c9b0cSelric 789*ca1c9b0cSelric2002-08-15 Johan Danielsson <joda@pdc.kth.se> 790*ca1c9b0cSelric 791*ca1c9b0cSelric * ipropd_master.c: check return value of krb5_sockaddr2address 792*ca1c9b0cSelric 793*ca1c9b0cSelric2002-07-04 Johan Danielsson <joda@pdc.kth.se> 794*ca1c9b0cSelric 795*ca1c9b0cSelric * ipropd_master.c: handle slaves that come and go; add status 796*ca1c9b0cSelric reporting (both from Love) 797*ca1c9b0cSelric 798*ca1c9b0cSelric * iprop.h: KADM5_SLAVE_STATS 799*ca1c9b0cSelric 800*ca1c9b0cSelric2002-03-25 Jacques Vidrine <n@nectar.com> 801*ca1c9b0cSelric 802*ca1c9b0cSelric * init_c.c (get_cred_cache): bug fix: the default credentials 803*ca1c9b0cSelric cache was not being used if a client name was specified. 804*ca1c9b0cSelric 805*ca1c9b0cSelric2002-03-25 Johan Danielsson <joda@pdc.kth.se> 806*ca1c9b0cSelric 807*ca1c9b0cSelric * init_c.c (get_cred_cache): when getting the default_client from 808*ca1c9b0cSelric the cred cache, make sure the instance part is "admin"; this 809*ca1c9b0cSelric should require fewer uses of -p 810*ca1c9b0cSelric 811*ca1c9b0cSelric2002-03-11 Assar Westerlund <assar@sics.se> 812*ca1c9b0cSelric 813*ca1c9b0cSelric * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 7:5:0 814*ca1c9b0cSelric (libkadm5clnt_la_LDFLAGS): set version to 6:3:2 815*ca1c9b0cSelric 816*ca1c9b0cSelric2002-02-08 Johan Danielsson <joda@pdc.kth.se> 817*ca1c9b0cSelric 818*ca1c9b0cSelric * init_c.c: we have to create our own param struct before 819*ca1c9b0cSelric marshaling 820*ca1c9b0cSelric 821*ca1c9b0cSelric2001-09-05 Johan Danielsson <joda@pdc.kth.se> 822*ca1c9b0cSelric 823*ca1c9b0cSelric * Makefile.am: link with LIB_pidfile 824*ca1c9b0cSelric 825*ca1c9b0cSelric * iprop.h: include util.h for pidfile 826*ca1c9b0cSelric 827*ca1c9b0cSelric2001-08-31 Assar Westerlund <assar@sics.se> 828*ca1c9b0cSelric 829*ca1c9b0cSelric * ipropd_slave.c (main): syslog with the correct name 830*ca1c9b0cSelric 831*ca1c9b0cSelric2001-08-30 Jacques Vidrine <n@nectar.com> 832*ca1c9b0cSelric 833*ca1c9b0cSelric * ipropd_slave.c, ipropd_master.c (main): call pidfile 834*ca1c9b0cSelric 835*ca1c9b0cSelric2001-08-28 Assar Westerlund <assar@sics.se> 836*ca1c9b0cSelric 837*ca1c9b0cSelric * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 7:4:0 838*ca1c9b0cSelric 839*ca1c9b0cSelric2001-08-24 Assar Westerlund <assar@sics.se> 840*ca1c9b0cSelric 841*ca1c9b0cSelric * acl.c (fetch_acl): do not return bogus flags and re-organize 842*ca1c9b0cSelric function 843*ca1c9b0cSelric 844*ca1c9b0cSelric * Makefile.am: rename variable name to avoid error from current 845*ca1c9b0cSelric automake 846*ca1c9b0cSelric 847*ca1c9b0cSelric2001-08-13 Johan Danielsson <joda@pdc.kth.se> 848*ca1c9b0cSelric 849*ca1c9b0cSelric * set_keys.c: add easier afs configuration, defaulting to the 850*ca1c9b0cSelric local realm in lower case; also try to remove duplicate salts 851*ca1c9b0cSelric 852*ca1c9b0cSelric2001-07-12 Assar Westerlund <assar@sics.se> 853*ca1c9b0cSelric 854*ca1c9b0cSelric * Makefile.am: add required library dependencies 855*ca1c9b0cSelric 856*ca1c9b0cSelric2001-07-03 Assar Westerlund <assar@sics.se> 857*ca1c9b0cSelric 858*ca1c9b0cSelric * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 6:2:2 859*ca1c9b0cSelric 860*ca1c9b0cSelric2001-06-29 Johan Danielsson <joda@pdc.kth.se> 861*ca1c9b0cSelric 862*ca1c9b0cSelric * init_c.c: call krb5_get_init_creds_opt_set_default_flags 863*ca1c9b0cSelric 864*ca1c9b0cSelric2001-02-19 Johan Danielsson <joda@pdc.kth.se> 865*ca1c9b0cSelric 866*ca1c9b0cSelric * replay_log.c: add --{start-end}-version flags to replay just 867*ca1c9b0cSelric part of the log 868*ca1c9b0cSelric 869*ca1c9b0cSelric2001-02-15 Assar Westerlund <assar@sics.se> 870*ca1c9b0cSelric 871*ca1c9b0cSelric * ipropd_master.c (main): fix select-loop to decrement ret 872*ca1c9b0cSelric correctly. from "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu> 873*ca1c9b0cSelric 874*ca1c9b0cSelric2001-01-30 Assar Westerlund <assar@sics.se> 875*ca1c9b0cSelric 876*ca1c9b0cSelric * Makefile.am: bump versions 877*ca1c9b0cSelric 878*ca1c9b0cSelric2000-12-31 Assar Westerlund <assar@sics.se> 879*ca1c9b0cSelric 880*ca1c9b0cSelric * init_s.c (*): handle krb5_init_context failure consistently 881*ca1c9b0cSelric * init_c.c (init_context): handle krb5_init_context failure 882*ca1c9b0cSelric consistently 883*ca1c9b0cSelric 884*ca1c9b0cSelric2000-12-11 Assar Westerlund <assar@sics.se> 885*ca1c9b0cSelric 886*ca1c9b0cSelric * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:2:0 887*ca1c9b0cSelric 888*ca1c9b0cSelric2000-11-16 Assar Westerlund <assar@sics.se> 889*ca1c9b0cSelric 890*ca1c9b0cSelric * set_keys.c (make_keys): clean-up salting loop and try not to 891*ca1c9b0cSelric leak memory 892*ca1c9b0cSelric 893*ca1c9b0cSelric * ipropd_master.c (main): check for fd's being too large to select 894*ca1c9b0cSelric on 895*ca1c9b0cSelric 896*ca1c9b0cSelric2000-08-16 Assar Westerlund <assar@sics.se> 897*ca1c9b0cSelric 898*ca1c9b0cSelric * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:1:0 899*ca1c9b0cSelric 900*ca1c9b0cSelric2000-08-10 Assar Westerlund <assar@sics.se> 901*ca1c9b0cSelric 902*ca1c9b0cSelric * acl.c (fetch_acl): fix wrong cases, use krb5_principal_match 903*ca1c9b0cSelric 904*ca1c9b0cSelric2000-08-07 Assar Westerlund <assar@sics.se> 905*ca1c9b0cSelric 906*ca1c9b0cSelric * ipropd_master.c (main): ignore SIGPIPE 907*ca1c9b0cSelric 908*ca1c9b0cSelric2000-08-06 Assar Westerlund <assar@sics.se> 909*ca1c9b0cSelric 910*ca1c9b0cSelric * ipropd_slave.c (receive_everything): make `fd' an int instead of 911*ca1c9b0cSelric a pointer. From Derrick J Brashear <shadow@dementia.org> 912*ca1c9b0cSelric 913*ca1c9b0cSelric2000-08-04 Johan Danielsson <joda@pdc.kth.se> 914*ca1c9b0cSelric 915*ca1c9b0cSelric * admin.h: change void** to void* 916*ca1c9b0cSelric 917*ca1c9b0cSelric2000-07-25 Johan Danielsson <joda@pdc.kth.se> 918*ca1c9b0cSelric 919*ca1c9b0cSelric * Makefile.am: bump versions to 7:0:0 and 6:0:2 920*ca1c9b0cSelric 921*ca1c9b0cSelric2000-07-24 Assar Westerlund <assar@sics.se> 922*ca1c9b0cSelric 923*ca1c9b0cSelric * log.c (kadm5_log_get_version): rename kadm5_log_get_version_fd 924*ca1c9b0cSelric and make a new that takes a context 925*ca1c9b0cSelric (kadm5_log_nop): add logging of missing lengths 926*ca1c9b0cSelric (kadm5_log_truncate): new function 927*ca1c9b0cSelric 928*ca1c9b0cSelric * dump_log.c (print_entry): update and correct 929*ca1c9b0cSelric * randkey_s.c: call _kadm5_bump_pw_expire 930*ca1c9b0cSelric * truncate_log.c: new program for truncating the log 931*ca1c9b0cSelric * Makefile.am (sbin_PROGRAMS): add truncate_log 932*ca1c9b0cSelric (C_SOURCES): add bump_pw_expire.c 933*ca1c9b0cSelric * bump_pw_expire.c: new function for extending password expiration 934*ca1c9b0cSelric 935*ca1c9b0cSelric2000-07-22 Assar Westerlund <assar@sics.se> 936*ca1c9b0cSelric 937*ca1c9b0cSelric * keys.c: new file with _kadm5_free_keys, _kadm5_init_keys 938*ca1c9b0cSelric 939*ca1c9b0cSelric * set_keys.c (free_keys, init_keys): elevate to internal kadm5 940*ca1c9b0cSelric functions 941*ca1c9b0cSelric 942*ca1c9b0cSelric * chpass_s.c (kadm5_s_chpass_principal_cond): new function 943*ca1c9b0cSelric * Makefile.am (C_SOURCES): add keys.c 944*ca1c9b0cSelric * init_c.c: remove unused variable and handle some parameters 945*ca1c9b0cSelric being NULL 946*ca1c9b0cSelric 947*ca1c9b0cSelric2000-07-22 Johan Danielsson <joda@pdc.kth.se> 948*ca1c9b0cSelric 949*ca1c9b0cSelric * ipropd_slave.c: use krb5_read_priv_message 950*ca1c9b0cSelric 951*ca1c9b0cSelric * ipropd_master.c: use krb5_{read,write}_priv_message 952*ca1c9b0cSelric 953*ca1c9b0cSelric * init_c.c: use krb5_write_priv_message 954*ca1c9b0cSelric 955*ca1c9b0cSelric2000-07-11 Johan Danielsson <joda@pdc.kth.se> 956*ca1c9b0cSelric 957*ca1c9b0cSelric * ipropd_slave.c: no need to call gethostname, since 958*ca1c9b0cSelric sname_to_principal will 959*ca1c9b0cSelric 960*ca1c9b0cSelric * send_recv.c: assert that we have a connected socket 961*ca1c9b0cSelric 962*ca1c9b0cSelric * get_princs_c.c: call _kadm5_connect 963*ca1c9b0cSelric 964*ca1c9b0cSelric * rename_c.c: call _kadm5_connect 965*ca1c9b0cSelric 966*ca1c9b0cSelric * randkey_c.c: call _kadm5_connect 967*ca1c9b0cSelric 968*ca1c9b0cSelric * privs_c.c: call _kadm5_connect 969*ca1c9b0cSelric 970*ca1c9b0cSelric * modify_c.c: call _kadm5_connect 971*ca1c9b0cSelric 972*ca1c9b0cSelric * get_c.c: call _kadm5_connect 973*ca1c9b0cSelric 974*ca1c9b0cSelric * delete_c.c: call _kadm5_connect 975*ca1c9b0cSelric 976*ca1c9b0cSelric * create_c.c: call _kadm5_connect 977*ca1c9b0cSelric 978*ca1c9b0cSelric * chpass_c.c: call _kadm5_connect 979*ca1c9b0cSelric 980*ca1c9b0cSelric * private.h: add more fields to client context; remove prototypes 981*ca1c9b0cSelric 982*ca1c9b0cSelric * admin.h: remove prototypes 983*ca1c9b0cSelric 984*ca1c9b0cSelric * kadm5-protos.h: move public prototypes here 985*ca1c9b0cSelric 986*ca1c9b0cSelric * kadm5-private.h: move private prototypes here 987*ca1c9b0cSelric 988*ca1c9b0cSelric * init_c.c: break out connection code to separate function, and 989*ca1c9b0cSelric defer calling it until we actually do something 990*ca1c9b0cSelric 991*ca1c9b0cSelric2000-07-07 Assar Westerlund <assar@sics.se> 992*ca1c9b0cSelric 993*ca1c9b0cSelric * set_keys.c (make_keys): also support `[kadmin]use_v4_salt' for 994*ca1c9b0cSelric backwards compatability 995*ca1c9b0cSelric 996*ca1c9b0cSelric2000-06-26 Johan Danielsson <joda@pdc.kth.se> 997*ca1c9b0cSelric 998*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys): rewrite this to be more easily 999*ca1c9b0cSelric adaptable to different salts 1000*ca1c9b0cSelric 1001*ca1c9b0cSelric2000-06-19 Johan Danielsson <joda@pdc.kth.se> 1002*ca1c9b0cSelric 1003*ca1c9b0cSelric * get_s.c: pa_* -> KRB5_PADATA_* 1004*ca1c9b0cSelric 1005*ca1c9b0cSelric2000-06-16 Assar Westerlund <assar@sics.se> 1006*ca1c9b0cSelric 1007*ca1c9b0cSelric * ipropd_slave.c: change default keytab to default keytab (as in 1008*ca1c9b0cSelric typically FILE:/etc/krb5.keytab) 1009*ca1c9b0cSelric 1010*ca1c9b0cSelric2000-06-08 Assar Westerlund <assar@sics.se> 1011*ca1c9b0cSelric 1012*ca1c9b0cSelric * ipropd_slave.c: bug fixes, for actually writing the full dump to 1013*ca1c9b0cSelric the database. based on a patch from Love <lha@stacken.kth.se> 1014*ca1c9b0cSelric 1015*ca1c9b0cSelric2000-06-07 Assar Westerlund <assar@sics.se> 1016*ca1c9b0cSelric 1017*ca1c9b0cSelric * acl.c: add support for patterns of principals 1018*ca1c9b0cSelric * log.c (kadm5_log_replay_create): handle more NULL pointers 1019*ca1c9b0cSelric (should they really happen?) 1020*ca1c9b0cSelric * log.c (kadm5_log_replay_modify): handle max_life == NULL and 1021*ca1c9b0cSelric max_renew == NULL 1022*ca1c9b0cSelric 1023*ca1c9b0cSelric * ipropd_master.c: use syslog. be less verbose 1024*ca1c9b0cSelric * ipropd_slave.c: use syslog 1025*ca1c9b0cSelric 1026*ca1c9b0cSelric2000-06-05 Assar Westerlund <assar@sics.se> 1027*ca1c9b0cSelric 1028*ca1c9b0cSelric * private.h (kadm_ops): add kadm_nop more prototypes 1029*ca1c9b0cSelric * log.c (kadm5_log_set_version, kadm5_log_reinit, kadm5_log_nop, 1030*ca1c9b0cSelric kadm5_log_replay_nop): add 1031*ca1c9b0cSelric * ipropd_slave.c: and some more improvements 1032*ca1c9b0cSelric * ipropd_master.c: lots of improvements 1033*ca1c9b0cSelric * iprop.h (IPROP_PORT, IPROP_SERVICE): add 1034*ca1c9b0cSelric (iprop_cmd): add new commands 1035*ca1c9b0cSelric 1036*ca1c9b0cSelric * dump_log.c: add nop 1037*ca1c9b0cSelric 1038*ca1c9b0cSelric2000-05-15 Assar Westerlund <assar@sics.se> 1039*ca1c9b0cSelric 1040*ca1c9b0cSelric * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 5:1:1 1041*ca1c9b0cSelric 1042*ca1c9b0cSelric2000-05-12 Assar Westerlund <assar@sics.se> 1043*ca1c9b0cSelric 1044*ca1c9b0cSelric * get_s.c (kadm5_s_get_principal): set life, rlife to INT_MAX as a 1045*ca1c9b0cSelric fallback. handle not having any creator. 1046*ca1c9b0cSelric * destroy_s.c (kadm5_s_destroy): free all allocated memory 1047*ca1c9b0cSelric * context_s.c (set_field): free variable if it's already set 1048*ca1c9b0cSelric (find_db_spec): malloc space for all strings 1049*ca1c9b0cSelric 1050*ca1c9b0cSelric2000-04-05 Assar Westerlund <assar@sics.se> 1051*ca1c9b0cSelric 1052*ca1c9b0cSelric * Makefile.am (LDADD): add LIB_openldap 1053*ca1c9b0cSelric 1054*ca1c9b0cSelric2000-04-03 Assar Westerlund <assar@sics.se> 1055*ca1c9b0cSelric 1056*ca1c9b0cSelric * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 6:0:1 1057*ca1c9b0cSelric (libkadm5clnt_la_LDFLAGS): set version to 5:0:1 1058*ca1c9b0cSelric 1059*ca1c9b0cSelric2000-03-24 Assar Westerlund <assar@sics.se> 1060*ca1c9b0cSelric 1061*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys2): rewrite 1062*ca1c9b0cSelric (_kadm5_set_keys3): add 1063*ca1c9b0cSelric 1064*ca1c9b0cSelric * private.h (struct kadm_func): add chpass_principal_with_key 1065*ca1c9b0cSelric * init_c.c (set_funcs): add chpass_principal_with_key 1066*ca1c9b0cSelric 1067*ca1c9b0cSelric2000-03-23 Assar Westerlund <assar@sics.se> 1068*ca1c9b0cSelric 1069*ca1c9b0cSelric * context_s.c (set_funcs): add chpass_principal_with_key 1070*ca1c9b0cSelric * common_glue.c (kadm5_chpass_principal_with_key): add 1071*ca1c9b0cSelric * chpass_s.c: comment-ize and change calling convention for 1072*ca1c9b0cSelric _kadm5_set_keys* 1073*ca1c9b0cSelric * chpass_c.c (kadm5_c_chpass_principal_with_key): add 1074*ca1c9b0cSelric 1075*ca1c9b0cSelric2000-02-07 Assar Westerlund <assar@sics.se> 1076*ca1c9b0cSelric 1077*ca1c9b0cSelric * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 4:2:0 1078*ca1c9b0cSelric 1079*ca1c9b0cSelric2000-01-28 Assar Westerlund <assar@sics.se> 1080*ca1c9b0cSelric 1081*ca1c9b0cSelric * init_c.c (get_new_cache): make sure to request non-forwardable, 1082*ca1c9b0cSelric non-proxiable 1083*ca1c9b0cSelric 1084*ca1c9b0cSelric2000-01-06 Assar Westerlund <assar@sics.se> 1085*ca1c9b0cSelric 1086*ca1c9b0cSelric * Makefile.am (libkadm5srv.la): bump version to 5:1:0 1087*ca1c9b0cSelric 1088*ca1c9b0cSelric * context_s.c (_kadm5_s_init_context): handle params == NULL 1089*ca1c9b0cSelric 1090*ca1c9b0cSelric1999-12-26 Assar Westerlund <assar@sics.se> 1091*ca1c9b0cSelric 1092*ca1c9b0cSelric * get_s.c (kadm5_s_get_principal): handle modified_by->principal 1093*ca1c9b0cSelric == NULL 1094*ca1c9b0cSelric 1095*ca1c9b0cSelric1999-12-20 Assar Westerlund <assar@sics.se> 1096*ca1c9b0cSelric 1097*ca1c9b0cSelric * Makefile.am (libkadm5clnt_la_LDFLAGS): bump version to 4:1:0 1098*ca1c9b0cSelric 1099*ca1c9b0cSelric * init_c.c (_kadm5_c_init_context): handle getting back port 1100*ca1c9b0cSelric number from admin host 1101*ca1c9b0cSelric (kadm5_c_init_with_context): remove `proto/' part before doing 1102*ca1c9b0cSelric getaddrinfo() 1103*ca1c9b0cSelric 1104*ca1c9b0cSelric1999-12-06 Assar Westerlund <assar@sics.se> 1105*ca1c9b0cSelric 1106*ca1c9b0cSelric * Makefile.am: bump version to 5:0:0 and 4:0:0 1107*ca1c9b0cSelric 1108*ca1c9b0cSelric * init_c.c (kadm5_c_init_with_context): don't use unitialized 1109*ca1c9b0cSelric stuff 1110*ca1c9b0cSelric 1111*ca1c9b0cSelric1999-12-04 Assar Westerlund <assar@sics.se> 1112*ca1c9b0cSelric 1113*ca1c9b0cSelric * replay_log.c: adapt to changed kadm5_log_foreach 1114*ca1c9b0cSelric 1115*ca1c9b0cSelric * log.c (kadm5_log_foreach): change to take a 1116*ca1c9b0cSelric `kadm5_server_context' 1117*ca1c9b0cSelric 1118*ca1c9b0cSelric * init_c.c: use krb5_warn{,x} 1119*ca1c9b0cSelric 1120*ca1c9b0cSelric * dump_log.c: adapt to changed kadm5_log_foreach 1121*ca1c9b0cSelric 1122*ca1c9b0cSelric * init_c.c: re-write to use getaddrinfo 1123*ca1c9b0cSelric * Makefile.am (install-build-headers): add dependency 1124*ca1c9b0cSelric 1125*ca1c9b0cSelric1999-12-03 Johan Danielsson <joda@pdc.kth.se> 1126*ca1c9b0cSelric 1127*ca1c9b0cSelric * log.c (kadm5_log_foreach): pass context 1128*ca1c9b0cSelric 1129*ca1c9b0cSelric * dump_log.c: print more interesting things 1130*ca1c9b0cSelric 1131*ca1c9b0cSelric1999-12-02 Johan Danielsson <joda@pdc.kth.se> 1132*ca1c9b0cSelric 1133*ca1c9b0cSelric * ipropd_master.c (process_msg): check for short reads 1134*ca1c9b0cSelric 1135*ca1c9b0cSelric1999-11-25 Assar Westerlund <assar@sics.se> 1136*ca1c9b0cSelric 1137*ca1c9b0cSelric * modify_s.c (kadm5_s_modify_principal): support key_data 1138*ca1c9b0cSelric (kadm5_s_modify_principal_with_key): remove 1139*ca1c9b0cSelric 1140*ca1c9b0cSelric * admin.h (kadm5_s_modify_principal_with_key): remove 1141*ca1c9b0cSelric 1142*ca1c9b0cSelric1999-11-20 Assar Westerlund <assar@sics.se> 1143*ca1c9b0cSelric 1144*ca1c9b0cSelric * context_s.c (find_db_spec): ugly cast work-around. 1145*ca1c9b0cSelric 1146*ca1c9b0cSelric1999-11-14 Assar Westerlund <assar@sics.se> 1147*ca1c9b0cSelric 1148*ca1c9b0cSelric * context_s.c (_kadm5_s_init_context): call krb5_add_et_list so 1149*ca1c9b0cSelric that we aren't dependent on the layout of krb5_context_data 1150*ca1c9b0cSelric * init_c.c (_kadm5_c_init_context): call krb5_add_et_list so that 1151*ca1c9b0cSelric we aren't dependent on the layout of krb5_context_data 1152*ca1c9b0cSelric 1153*ca1c9b0cSelric1999-11-13 Assar Westerlund <assar@sics.se> 1154*ca1c9b0cSelric 1155*ca1c9b0cSelric * password_quality.c (kadm5_setup_passwd_quality_check): use 1156*ca1c9b0cSelric correct types for function pointers 1157*ca1c9b0cSelric 1158*ca1c9b0cSelric1999-11-09 Johan Danielsson <joda@pdc.kth.se> 1159*ca1c9b0cSelric 1160*ca1c9b0cSelric * randkey_s.c: always bail out if the fetch fails 1161*ca1c9b0cSelric 1162*ca1c9b0cSelric * admin.h (kadm5_config_params): remove fields we're not using 1163*ca1c9b0cSelric 1164*ca1c9b0cSelric * ipropd_slave.c: allow passing a realm 1165*ca1c9b0cSelric 1166*ca1c9b0cSelric * ipropd_master.c: allow passing a realm 1167*ca1c9b0cSelric 1168*ca1c9b0cSelric * dump_log.c: allow passing a realm 1169*ca1c9b0cSelric 1170*ca1c9b0cSelric * acl.c: correctly get acl file 1171*ca1c9b0cSelric 1172*ca1c9b0cSelric * private.h (kadm5_server_context): add config_params struct and 1173*ca1c9b0cSelric remove acl_file; bump protocol version number 1174*ca1c9b0cSelric 1175*ca1c9b0cSelric * marshall.c: marshalling of config parameters 1176*ca1c9b0cSelric 1177*ca1c9b0cSelric * init_c.c (kadm5_c_init_with_context): try to cope with old 1178*ca1c9b0cSelric servers 1179*ca1c9b0cSelric 1180*ca1c9b0cSelric * init_s.c (kadm5_s_init_with_context): actually use some passed 1181*ca1c9b0cSelric values 1182*ca1c9b0cSelric 1183*ca1c9b0cSelric * context_s.c (_kadm5_s_init_context): get dbname, acl_file, and 1184*ca1c9b0cSelric stash_file from the config parameters, try to figure out these if 1185*ca1c9b0cSelric they're not provided 1186*ca1c9b0cSelric 1187*ca1c9b0cSelric1999-11-05 Assar Westerlund <assar@sics.se> 1188*ca1c9b0cSelric 1189*ca1c9b0cSelric * Makefile.am (install-build-headers): use `cp' instead of 1190*ca1c9b0cSelric INSTALL_DATA 1191*ca1c9b0cSelric 1192*ca1c9b0cSelric1999-11-04 Assar Westerlund <assar@sics.se> 1193*ca1c9b0cSelric 1194*ca1c9b0cSelric * Makefile.am: bump version to 4:0:0 and 3:0:0 (they access fields 1195*ca1c9b0cSelric directly in libkrb5's context - bad functions) 1196*ca1c9b0cSelric 1197*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys_randomly): set enctypes correctly in 1198*ca1c9b0cSelric the copied keys 1199*ca1c9b0cSelric 1200*ca1c9b0cSelric1999-10-20 Assar Westerlund <assar@sics.se> 1201*ca1c9b0cSelric 1202*ca1c9b0cSelric * Makefile.am: set version of kadm5srv to 3:0:2 (new password 1203*ca1c9b0cSelric quality functions). 1204*ca1c9b0cSelric set version of kdam5clnt to 2:1:1 (no interface changes) 1205*ca1c9b0cSelric 1206*ca1c9b0cSelric * Makefile.am (LDADD): add $(LIB_dlopen) 1207*ca1c9b0cSelric 1208*ca1c9b0cSelric1999-10-17 Assar Westerlund <assar@sics.se> 1209*ca1c9b0cSelric 1210*ca1c9b0cSelric * randkey_s.c (kadm5_s_randkey_principal): use 1211*ca1c9b0cSelric _kadm5_set_keys_randomly 1212*ca1c9b0cSelric 1213*ca1c9b0cSelric * set_keys.c (free_keys): free more memory 1214*ca1c9b0cSelric (_kadm5_set_keys): a little bit more generic 1215*ca1c9b0cSelric (_kadm5_set_keys_randomly): new function for setting random keys. 1216*ca1c9b0cSelric 1217*ca1c9b0cSelric1999-10-14 Assar Westerlund <assar@sics.se> 1218*ca1c9b0cSelric 1219*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys): ignore old keys when setting new 1220*ca1c9b0cSelric ones and always add 3 DES keys and one 3DES key 1221*ca1c9b0cSelric 1222*ca1c9b0cSelric1999-10-03 Assar Westerlund <assar@sics.se> 1223*ca1c9b0cSelric 1224*ca1c9b0cSelric * init_c.c (_kadm5_c_init_context): use `krb5_get_krb_admin_hst'. 1225*ca1c9b0cSelric check return value from strdup 1226*ca1c9b0cSelric 1227*ca1c9b0cSelric1999-09-26 Assar Westerlund <assar@sics.se> 1228*ca1c9b0cSelric 1229*ca1c9b0cSelric * acl.c (_kadm5_privs_to_string): forgot one strcpy_truncate -> 1230*ca1c9b0cSelric strlcpy 1231*ca1c9b0cSelric 1232*ca1c9b0cSelric1999-09-24 Johan Danielsson <joda@pdc.kth.se> 1233*ca1c9b0cSelric 1234*ca1c9b0cSelric * dump_log.c: remove unused `optind' 1235*ca1c9b0cSelric 1236*ca1c9b0cSelric * replay_log.c: remove unused `optind' 1237*ca1c9b0cSelric 1238*ca1c9b0cSelric1999-09-13 Assar Westerlund <assar@sics.se> 1239*ca1c9b0cSelric 1240*ca1c9b0cSelric * chpass_c.c (kadm5_c_chpass_principal): new _kadm5_client_recv 1241*ca1c9b0cSelric 1242*ca1c9b0cSelric * send_recv.c (_kadm5_client_recv): return result in a `krb5_data' 1243*ca1c9b0cSelric so that we avoid copying it and don't need to dimension in 1244*ca1c9b0cSelric advance. change all callers. 1245*ca1c9b0cSelric 1246*ca1c9b0cSelric1999-09-10 Assar Westerlund <assar@sics.se> 1247*ca1c9b0cSelric 1248*ca1c9b0cSelric * password_quality.c: new file 1249*ca1c9b0cSelric 1250*ca1c9b0cSelric * admin.h 1251*ca1c9b0cSelric (kadm5_setup_passwd_quality_check,kadm5_check_password_quality): 1252*ca1c9b0cSelric add prototypes 1253*ca1c9b0cSelric 1254*ca1c9b0cSelric * Makefile.am (S_SOURCES): add password_quality.c 1255*ca1c9b0cSelric 1256*ca1c9b0cSelric1999-07-26 Assar Westerlund <assar@sics.se> 1257*ca1c9b0cSelric 1258*ca1c9b0cSelric * Makefile.am: update versions to 2:0:1 1259*ca1c9b0cSelric 1260*ca1c9b0cSelric1999-07-24 Assar Westerlund <assar@sics.se> 1261*ca1c9b0cSelric 1262*ca1c9b0cSelric * ent_setup.c (_kadm5_setup_entry): make princ_expire_time == 0 1263*ca1c9b0cSelric and pw_expiration == 0 mean never 1264*ca1c9b0cSelric 1265*ca1c9b0cSelric1999-07-22 Assar Westerlund <assar@sics.se> 1266*ca1c9b0cSelric 1267*ca1c9b0cSelric * log.c (kadm5_log_flush): extra cast 1268*ca1c9b0cSelric 1269*ca1c9b0cSelric1999-07-07 Assar Westerlund <assar@sics.se> 1270*ca1c9b0cSelric 1271*ca1c9b0cSelric * marshall.c (store_principal_ent): encoding princ_expire_time and 1272*ca1c9b0cSelric pw_expiration in correct order 1273*ca1c9b0cSelric 1274*ca1c9b0cSelric1999-06-28 Assar Westerlund <assar@sics.se> 1275*ca1c9b0cSelric 1276*ca1c9b0cSelric * randkey_s.c (kadm5_s_randkey_principal): nuke old mkvno, 1277*ca1c9b0cSelric otherwise hdb will think that the new random keys are already 1278*ca1c9b0cSelric encrypted which will cause lots of confusion later. 1279*ca1c9b0cSelric 1280*ca1c9b0cSelric1999-06-23 Assar Westerlund <assar@sics.se> 1281*ca1c9b0cSelric 1282*ca1c9b0cSelric * ent_setup.c (_kadm5_setup_entry): handle 0 == unlimited 1283*ca1c9b0cSelric correctly. From Michal Vocu <michal@karlin.mff.cuni.cz> 1284*ca1c9b0cSelric 1285*ca1c9b0cSelric1999-06-15 Assar Westerlund <assar@sics.se> 1286*ca1c9b0cSelric 1287*ca1c9b0cSelric * init_c.c (get_cred_cache): use get_default_username 1288*ca1c9b0cSelric 1289*ca1c9b0cSelric1999-05-23 Assar Westerlund <assar@sics.se> 1290*ca1c9b0cSelric 1291*ca1c9b0cSelric * create_s.c (create_principal): if there's no default entry the 1292*ca1c9b0cSelric mask should be zero. 1293*ca1c9b0cSelric 1294*ca1c9b0cSelric1999-05-21 Assar Westerlund <assar@sics.se> 1295*ca1c9b0cSelric 1296*ca1c9b0cSelric * init_c.c (get_cred_cache): use $USERNAME 1297*ca1c9b0cSelric 1298*ca1c9b0cSelric1999-05-17 Johan Danielsson <joda@pdc.kth.se> 1299*ca1c9b0cSelric 1300*ca1c9b0cSelric * init_c.c (get_cred_cache): figure out principal 1301*ca1c9b0cSelric 1302*ca1c9b0cSelric1999-05-05 Johan Danielsson <joda@pdc.kth.se> 1303*ca1c9b0cSelric 1304*ca1c9b0cSelric * send_recv.c: cleanup _kadm5_client_{send,recv} 1305*ca1c9b0cSelric 1306*ca1c9b0cSelric1999-05-04 Assar Westerlund <assar@sics.se> 1307*ca1c9b0cSelric 1308*ca1c9b0cSelric * set_keys.c (_kadm5_set_keys2): don't check the recently created 1309*ca1c9b0cSelric memory for NULL pointers 1310*ca1c9b0cSelric 1311*ca1c9b0cSelric * private.h (_kadm5_setup_entry): change prototype 1312*ca1c9b0cSelric 1313*ca1c9b0cSelric * modify_s.c: call new _kadm5_setup_entry 1314*ca1c9b0cSelric 1315*ca1c9b0cSelric * ent_setup.c (_kadm5_setup_entry): change so that it takes three 1316*ca1c9b0cSelric masks, one for what bits to set and one for each of principal and 1317*ca1c9b0cSelric def containing the bits that are set there. 1318*ca1c9b0cSelric 1319*ca1c9b0cSelric * create_s.c: call new _kadm5_setup_entry 1320*ca1c9b0cSelric 1321*ca1c9b0cSelric * create_s.c (get_default): check return value 1322*ca1c9b0cSelric (create_principal): send wider mask to _kadm5_setup_entry 1323*ca1c9b0cSelric 1324*ca1c9b0cSelric1999-05-04 Johan Danielsson <joda@pdc.kth.se> 1325*ca1c9b0cSelric 1326*ca1c9b0cSelric * send_recv.c (_kadm5_client_recv): handle arbitrarily sized 1327*ca1c9b0cSelric packets, check for errors 1328*ca1c9b0cSelric 1329*ca1c9b0cSelric * get_c.c: check for failure from _kadm5_client_{send,recv} 1330*ca1c9b0cSelric 1331*ca1c9b0cSelric1999-05-04 Assar Westerlund <assar@sics.se> 1332*ca1c9b0cSelric 1333*ca1c9b0cSelric * init_c.c (get_new_cache): don't abort when interrupted from 1334*ca1c9b0cSelric password prompt 1335*ca1c9b0cSelric 1336*ca1c9b0cSelric * destroy_c.c (kadm5_c_destroy): check if we should destroy the 1337*ca1c9b0cSelric auth context 1338*ca1c9b0cSelric 1339*ca1c9b0cSelric1999-05-03 Johan Danielsson <joda@pdc.kth.se> 1340*ca1c9b0cSelric 1341*ca1c9b0cSelric * chpass_s.c: fix arguments to _kadm5_set_keys2 1342*ca1c9b0cSelric 1343*ca1c9b0cSelric * private.h: proto 1344*ca1c9b0cSelric 1345*ca1c9b0cSelric * set_keys.c: clear mkvno 1346*ca1c9b0cSelric 1347*ca1c9b0cSelric * rename_s.c: add flags to fetch and store; seal keys before 1348*ca1c9b0cSelric logging 1349*ca1c9b0cSelric 1350*ca1c9b0cSelric * randkey_s.c: add flags to fetch and store; seal keys before 1351*ca1c9b0cSelric logging 1352*ca1c9b0cSelric 1353*ca1c9b0cSelric * modify_s.c: add flags to fetch and store; seal keys before 1354*ca1c9b0cSelric logging 1355*ca1c9b0cSelric 1356*ca1c9b0cSelric * log.c: add flags to fetch and store; seal keys before logging 1357*ca1c9b0cSelric 1358*ca1c9b0cSelric * get_s.c: add flags to fetch and store; seal keys before logging 1359*ca1c9b0cSelric 1360*ca1c9b0cSelric * get_princs_s.c: add flags to fetch and store; seal keys before 1361*ca1c9b0cSelric logging 1362*ca1c9b0cSelric 1363*ca1c9b0cSelric * delete_s.c: add flags to fetch and store; seal keys before 1364*ca1c9b0cSelric logging 1365*ca1c9b0cSelric 1366*ca1c9b0cSelric * create_s.c: add flags to fetch and store; seal keys before 1367*ca1c9b0cSelric logging 1368*ca1c9b0cSelric 1369*ca1c9b0cSelric * chpass_s.c: add flags to fetch and store; seal keys before 1370*ca1c9b0cSelric logging 1371*ca1c9b0cSelric 1372*ca1c9b0cSelric * Makefile.am: remove server.c 1373*ca1c9b0cSelric 1374*ca1c9b0cSelric * admin.h: add prototypes 1375*ca1c9b0cSelric 1376*ca1c9b0cSelric * ent_setup.c (_kadm5_setup_entry): set key_data 1377*ca1c9b0cSelric 1378*ca1c9b0cSelric * set_keys.c: add _kadm5_set_keys2 to sey keys from key_data 1379*ca1c9b0cSelric 1380*ca1c9b0cSelric * modify_s.c: add kadm5_s_modify_principal_with_key 1381*ca1c9b0cSelric 1382*ca1c9b0cSelric * create_s.c: add kadm5_s_create_principal_with_key 1383*ca1c9b0cSelric 1384*ca1c9b0cSelric * chpass_s.c: add kadm5_s_chpass_principal_with_key 1385*ca1c9b0cSelric 1386*ca1c9b0cSelric * kadm5_locl.h: move stuff to private.h 1387*ca1c9b0cSelric 1388*ca1c9b0cSelric * private.h: move stuff from kadm5_locl.h 1389*ca1c9b0cSelric 1390