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