Permalink
Commits on Jun 16, 2006
  1. merge 18132:18156 from trunk

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mechglue@18157 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 16, 2006
Commits on Jun 14, 2006
  1. re-branch from trunk

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mechglue@18133 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 14, 2006
  2. Merge from branches/mechglue. Initial integration of Sun-donated

    mechglue and SPNEGO implementations.  Additional changes outside of
    src/lib/gssapi:
    
    	* src/configure.in: Add lib/gssapi/mechglue and lib/gssapi/spnego
    	to list of directories to output Makefile in.
    
    	* src/lib/rpc/unit-test/rpc_test.0/expire.exp (expired): Update
    	regexp for mechglue.
    
    	* src/tests/dejagnu/krb-standalone/v4gssftp.exp (v4ftp_test):
    	Update "Miscellaneous failure" regexp for mechglue.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18131 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 14, 2006
  3. remove old cvs log comment

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18130 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 14, 2006
  4. Ticket: 2648

    Version_Reported: 1.3.3
    Component: krb5-libs
    
    When NULL is passed into krb_get_in_pw_tkt, we only want to prompt once
    for the password rather than passing NULL along to each string to key
    function causing each to prompt independently.  Modify krb_get_in_pw_tkt
    to call des_read_pw_string directly and then pass the resulting password
    into each string to key function as needed.  Add a prototype of
    des_read_pw_string to krb4int.h since it's an exported function of
    libdes425 but isn't prototyped in des.h.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18129 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 14, 2006
  5. * src/lib/gssapi/mechglue/g_dup_name.c (gss_duplicate_name):

    	* src/lib/gssapi/mechglue/g_canon_name.c (gss_canonicalize_name):
    	* src/lib/gssapi/mechglue/g_export_name.c (gss_export_name):
    	* src/lib/gssapi/mechglue/g_initialize.c (gss_indicate_mechs)
    	(gss_release_oid):
    	* src/lib/gssapi/mechglue/g_inq_names.c (gss_inquire_mechs_for_name):
    	* src/lib/gssapi/mechglue/g_seal.c (gss_seal, gss_wrap)
    	(gss_wrap_size_limit): Define with KRB5_CALLCONV.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mechglue@18128 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 14, 2006
  6. merge r18090:18126 from trunk

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mechglue@18127 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 14, 2006
Commits on Jun 13, 2006
  1. * README: Add list of filenames for mechglue and SPNEGO per

    	Sun donation conditions.
    
    	* src/lib/gssapi/LICENSE: Copy from Sun's donation and add note.
    
    	* src/lib/gssapi/krb5/krb5_gss_glue.c: Use new mechglue
    	initialization interface.
    
    	* src/lib/gssapi/mechglue/mglueP.h: Add priority and mechNameStr
    	members to struct gss_config.
    
    	* src/lib/gssapi/mechglue/g_initialize.c (register_mech): New
    	function; registers a mechanism.
    	(init_hardcoded): Use new mechglue initialization interface, which
    	calls into a mechanism-specific function to obtain a
    	NULL-terminated array of gss_mechanisms.
    
    	* src/lib/gssapi/spnego/spnego_mech.c: Use new mechglue
    	initialization interface.
    
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mechglue@18126 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 13, 2006
  2. Ticket: 3030

    Reported_Version: 1.4.1
    Component: krb5-clients
    
    Enable kinit -a to match the man page and add documentation.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18125 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 13, 2006
  3. Ticket: 3269

    Component: krb5-appl
    Version_Reported: 1.4.2
    
    telnet help should telnet to a host named help, not display a usage
    message.  Only support ?, not help, to request help with the open
    command.  The same change was made in netkit's telnet.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18124 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 13, 2006
  4. Ticket: 3268

    Version_Reported: 1.4.2
    Component: krb5-misc
    
    Change kprop and kpropd to fall back on port 754 if krb5_prop isn't
    available via getservbyname rather than failing.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18123 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 13, 2006
  5. Ticket: 3008

    Version_Reported: 1.3.6
    Component: krb5-appl
    
    Change man page cross-reference to kerberos(1) from kerberos(3).
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18122 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 13, 2006
  6. Ticket: 3490

    Version_Reported: 1.4.3
    Component: krb5-libs
    
    POSIX allows getpwnam_r and getpwuid_r to return 0 (success) even if the
    username or UID could not be found, in which case OUT will be set to
    NULL.  Elsewhere, code assumes that if k5_getpwnam_r or k5_getpwuid_r
    returns 0, OUT is non-NULL.  Check whether OUT is NULL and adjust the
    return value accordingly in the k5_getpw{nam,uid}_r wrappers.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18121 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 13, 2006
  7. Ticket: 3549

    Version_Reported: 1.4.3
    Component: krb5-libs
    
    Prevent a library double-free and crash when a keytab is zero-length.
    Based on a patch from Rainer Weikusat.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18120 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 13, 2006
  8. ticket: 2712

    Trivial whitespace cleanup in KDC code.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18119 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 13, 2006
Commits on Jun 12, 2006
  1. Ticket: 1988

    Version_Reported: 1.3.6
    
    Allow whitespace in front of comments.  Patch from Jeremie Koenig.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18118 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  2. Ticket: 3466

    Always include sys/ioctl.h in the telnet and telnetd code, even if
    sys/filio.h is available.  GNU/kFreeBSD has sys/filio.h but still
    requires sys/ioctl.h, and sys/ioctl.h is included unconditionally
    elsewhere in the code.  Patch from Petr Salinger.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18117 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  3. Ticket: 3011

    Version_Reported: 1.4.2
    
    Never return -I/usr/include from --cflags.  It's already in the default
    compiler search path, causes gcc warnings, and can cause obscure failures
    with gcc by including system headers before gcc's internal headers.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18116 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  4. Ticket: 3879

    Update texinfo.tex to the version from texinfo 4.8.1 (2006-02-13.16).
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18115 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  5. Ticket: 3086

    Version_Reported: 1.3.6
    
    Always initialize the output token in gss_init_sec_context as required
    by RFC 2744 section 5.19.  The krb5 code did this but the generic code
    didn't, causing a double-free in OpenSSH.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18114 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  6. Ticket: 3467

    Version_Reported: 1.4.3
    
    If krb5_gss_canonicalize_name is given GSS_C_NULL_OID as the mechanism,
    assume krb5 using similar logic as other library functions rather than
    failing.  Patch provided by Daniel Kahn Gillmor.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18113 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  7. Ticket: 2577

    Version_Reported: 1.3.3
    
    Document the authorization logic used in the absence of .k5login files.
    Remove all remaining references to .rhosts authentication; the code to
    implement this was already removed.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18112 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  8. Ticket: 3014

    Version_Reported: 1.4.2
    
    Add dircategory and direntry lines to the texinfo source for better info
    documentation.  Fix a few typos in variable names.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18111 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  9. Ticket: 3266

    Version_Reported: 1.3.6
    
    This file uses E* constants and therefore should include errno.h.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18110 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  10. Ticket: 3013

    Version_Reported: 1.3.6
    
    Add man pages for fakeka and k524init.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18109 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  11. Ticket: 3468

    Version_Reported: 1.4.3
    
    krb5.conf option name is udp_preference_limit, not udp_preference_list.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18108 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
  12. Ticket: 3010

    Version_Reported: 1.4.2
    
    Fix minor nroff man page problems (stray space, bad cross reference).
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18107 dc483132-0cff-0310-8789-dd5450dbe970
    rra committed Jun 12, 2006
Commits on Jun 10, 2006
  1. ticket: 2786

    Since it appears we don't actually set the conf_tgs_ktypes field except in this
    initial allocation of zero elements, it can be deleted, along with
    conf_tgs_ktypes_count and the associated code...
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18105 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 10, 2006
  2. ticket: 3233

    Fix stupid typo in last change.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18104 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 10, 2006
  3. ticket: 3233

    status: open
    
    Use new macro FILE_OWNER_OK to examine uid of .k5login file.
    On Mac, define this to accept UNKNOWNUID as well as 0.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18103 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 10, 2006
Commits on Jun 9, 2006
  1. Call krb5_set_error_message any time multiple errno values are transl…

    …ated to
    
    one KRB5_RC_* error code, and a few other places.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18102 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 9, 2006
  2. Don't use GNU linker option --as-needed yet.

    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18101 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 9, 2006
Commits on Jun 8, 2006
  1. ticket: 3790

    Free requested-enctype list when freeing up credentials.  Reported by Rainer
    Weikusat.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18093 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 8, 2006
  2. merge 18069:18090 from trunk

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mechglue@18092 dc483132-0cff-0310-8789-dd5450dbe970
    tlyu committed Jun 8, 2006
  3. ticket: 3438

    Fixed by having krb5_fcc_interpret call krb5_set_error_message to incorporate
    the lower-level error message into the message displayed by kinit, which has
    already been changed to use krb5_get_error_message.  For example, "kinit(v5):
    Credentials cache I/O operation failed (No space left on device) when
    initializing cache".
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18091 dc483132-0cff-0310-8789-dd5450dbe970
    raeburn committed Jun 8, 2006