Skip to content
Commits on Jun 21, 2001
  1. Taking changes from the trunk between tags incremental-propagation-br…

    …anchpoint
    
    and update-mainline-to-incprop-20010621.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13435 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 21, 2001
  2. * kdb_xdr.c: Replaced function krb5_dbe_update_generation_number_general

    with similar functions krb5_dbe_set_generation_number_general and
    krb5_dbe_increment_generation_number_general.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13434 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 21, 2001
  3. * server_internal.h: Removed incgen argument from prototype of

    kdb_put_entry_internal.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13433 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 21, 2001
  4. * server_kdb.c (kdb_put_entry): Modified to perform the generation

    number update conditional upon success of kdb_put_entry_internal.
    (kdb_put_entry_internal): No longer takes incgen argument or updates
    generation number.
    (kdb_update_generation_number): Changed from using
    krb5_dbe_update_generation_number_general to using
    krb5_dbe_increment_generation_number_general.  Also uses new calling
    sequence for kdb_put_entry_internal.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13432 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 21, 2001
  5. * kdb5_create.c (add_principal): Changed from using

    krb5_dbe_update_generation_number_general to using
    krb5_dbe_set_generation_number_general on creation of master principal.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13431 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 21, 2001
  6. * kdb.h: Replaced prototype of krb5_dbe_update_generation_number_general

    with prototypes for krb5_dbe_set_generation_number_general and
    krb5_dbe_increment_generation_number_general.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13430 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 21, 2001
Commits on Jun 20, 2001
  1. * kdb_xdr.c: Added new functions

    krb5_dbe_update_generation_number_general and
    krb5_dbe_lookup_generation_number_general
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13410 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  2. * adb.h: Forward declaration of struct _kadm5_server_handle_t added

    (had to be this way because simply having it include server_internal.h
    and using the typedef found there causes inclusion in the wrong order).
    A pointer to a _kadm5_server_handle_t structure has been added to the
    _osa_adb_db_ent_t structure.  This was needed for a frustrating and
    non-ideal reason, and it's a bit of a kludge.  Read the lengthy comment
    in the file for an explanation of why this was done.  A struct
    _kadm5_server_handle_t pointer was added to the prototypes of
    osa_adb_init_db and osa_adb_open_policy.
    
    * admin.h: Prototype added for kadm5_get_generation_number.
    
    * admin_xdr.h: Prototypes added for xdr_getgeneration_arg and
    xdr_getgeneration_ret.
    
    * kadm_rpc.h: Added struct getgeneration_arg and struct
    getgeneration_ret and typedefs for them, defined GET_GENERATION_NUMBER,
    added prototypes for getgeneration_4_svc and getgeneration_4.
    
    * kadm_rpc_xdr.c: Added new functions xdr_getgeneration_arg and
    xdr_getgeneration_ret.
    
    * server_internal.h: Added prototypes for kdb_put_entry_internal and
    kdb_update_generation_number.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13409 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  3. * lock-test.c: Changed to include server_internal.h instead of adb.h.

    (main): kadm5_server_handle_rec added for use with the new
    osa_adb_open_policy calling sequence.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13408 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  4. * Makefile.in: Include svr_generation.[co] in the build.

    * adb_openclose.c: Changed to include server_internal.h instead of
    adb.h.
    (osa_adb_rename_db): Modified to use the new osa_adb_init_db calling
    sequence.
    (osa_adb_init_db): Now takes a pointer to a struct
    _kadm5_server_handle_t, and puts it in the osa db handle.
    
    * adb_policy.c: Changed to include server_internal.h instead of adb.h
    (osa_adb_open_policy): Now takes a pointer to a struct
    _kadm5_server_handle_t and passes it to osa_adb_init_db.
    (osa_adb_create_policy): Now makes a call to update the generation
    number.
    (osa_adb_destroy_policy): Now makes a call to update the generation
    number.
    (osa_adb_put_policy): Now makes a call to update the generation number.
    
    * server_kdb.c: Renamed kdb_put_entry to kdb_put_entry_internal and
    added parameters to it to specify whether the modprinc info and the
    generation number should be updated, wrote a new kdb_put_entry as a
    wrapper for kdb_put_entry_internal that specifies both modprinc info
    and the generation number should be updated.
    (kdb_delete_entry): Now makes a call to update the generation number.
    Added a new function kdb_update_generation_number which looks up the
    master principal and calls krb5_dbe_update_generation_number_general
    to update the generation number.
    
    * server_misc.c: No longer includes adb.h (server_internal.h already
    pulls this in).
    (adb_policy_init): Modified to use the new osa_adb_open_policy
    calling sequence.
    
    * svr_iters.c: No longer includes adb.h (server_internal.h already
    pulls this in).
    
    * svr_policy.c: No longer includes adb.h (server_internal.h already
    pulls this in).
    
    * svr_principal.c: No longer includes adb.h (server_internal.h already
    pulls this in).
    
    * svr_generation.c: Added this new file containing the new function
    kadm5_get_generation_number.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13407 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  5. * Makefile.in: Include clnt_generation.[co] in the build.

    * client_rpc.c: Minor formatting fixes on get_privs_1, added new
    function getgeneration_4.
    
    * clnt_generation.c: Added this new file containing the new function
    kadm5_get_generation_number.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13406 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  6. * kadm_rpc_svc.c (kadm_1): getgeneration_arg added to argument union,

    new case added to the switch for GET_GENERATION_NUMBER.
    
    * misc.c: No loger includes adb.h directly (server_internal.h already
    pulls that in).
    
    * ovsec_kadmd.c (log_badverf): GET_GENERATION_NUMBER added to
    proc_names array.
    
    * server_stubs.c: Added new function getgeneration_4_svc.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13405 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  7. * dump.c: Changed to include server_internal.h instead of adb.h.

    (load_db): kadm5_server_handle_rec added for the new
    osa_adb_open_policy calling sequence.
    
    * kdb5_create.c: Comment about steps in creating a database updated to
    include a step where the generation number is initialized.  Call to
    initialize the generation number upon creation of the master principal
    added.
    
    * kdb5_util.c: Changed to include server_internal.h instead of adb.h.
    (open_db_and_mkey): kadm5_server_handle_rec added for the new
    osa_adb_open_policy calling sequence.
    
    * loadv4.c: Unimportant whitespace change in a comment.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13404 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  8. * kadmin.c: New function kadmin_getgeneration added.

    * kadmin.h: Prototype for kadmin_getgeneration added.
    
    * kadmin_ct.ct: Request added to go with kadmin_getgeneration.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13403 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  9. * kdb.h: KRB5_TL_GENERATION_NUMBER defined, prototypes for new

    functions krb5_dbe_update_generation_number_general and
    krb5_dbe_lookup_generation_number_general added.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13402 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  10. This commit was manufactured by cvs2svn to create branch

    'incremental-propagation-branch'.
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/incremental-propagation-branch@13400 dc483132-0cff-0310-8789-dd5450dbe970
    (no author) committed Jun 20, 2001
  11. Fixed several typos in comments.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13399 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  12. Fixed a bunch of typos.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13398 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  13. New implementation of transited-realm checking, with some test cases.…

    … The test
    
    cases currently check only t-r list expansion, not the validation step.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13397 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 20, 2001
  14. * api.0/init.exp: Silly typo fixed.

    * api.2/init.exp: Same silly typo fixed.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13396 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  15. * server_dict.c: Silly typo fixed.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13395 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  16. * krb524d.c: Call krb5_klog_init before the first point where the

    klog facility may be used, delete ifdef'd out code to make that
    call from later in the file, conditionalize kadm5_destroy on the
    handle being non-null, and correct an indentation error.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13394 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  17. * design.tex: Silly typo fixed.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13393 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  18. handle irix high-numbered error codes

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13392 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 20, 2001
  19. * krb5.tex: Silly typo fixed.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13391 dc483132-0cff-0310-8789-dd5450dbe970
    mitchb committed Jun 20, 2001
  20. Use a "struct addrlist" instead of separate count and pointer-to-poin…

    …ter values
    
    for internal interfaces for looking up servers.  Add a new routine to free the
    addrlist contents, so that memory management can be changed in one place.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13390 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 20, 2001
Commits on Jun 19, 2001
  1. * kdc_util.c (ktypes2str): New function; construct a string

    	containing a list of enctypes, given a number and list of
    	enctypes.
    	(rep_etypes2str): New function; construct a string indicating all
    	three enctypes associated with a KDC reply.
    
    	* kdc_util.h: Add prototypes for ktypes2str() and
    	rep_etypes2str().
    
    	* do_as_req.c (process_as_req): Call ktypes2str() and
    	rep_etypes2str() as appropriate.
    
    	* do_tgs_req.c (process_tgs_req): Call ktypes2str() and
    	rep_etypes2str() as appropriate.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13389 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 19, 2001
  2. * ftpcmd.y: Cleanup potential ambiguity between comparsion and

    	pre-increment for a variable.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13388 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 19, 2001
  3. pmap_prot2.c (xdr_pmaplist): Ensure variable set before use.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13387 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 19, 2001
  4. * utility.c (printsub): Ensure variable set before use.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13386 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 19, 2001
  5. telnet.c (telrcv): Ensure variable set before use.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13385 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 19, 2001
Commits on Jun 18, 2001
  1. * encrypt.c (encrypt_is): Cast arguments to printf to match format.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13384 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 18, 2001
  2. * dump.c (name_matches): Cleanup warning of assignments in

    	conditionals.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13383 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 18, 2001
  3. * utility.c (printdata): Cast argument to isprint() to int.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13382 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 18, 2001
  4. * commands.c: Cast argument to isspace() to int.

    	* telnet.c (mklist): Cast argument to islower()/toupper() to int.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13381 dc483132-0cff-0310-8789-dd5450dbe970
    epeisach committed Jun 18, 2001
Something went wrong with that request. Please try again.