summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge from branches/mechglue. Initial integration of Sun-donatedTom Yu2006-06-1468-1743/+8062
| | | | | | | | | | | | | | | | 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
* remove old cvs log commentKen Raeburn2006-06-141-65/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18130 dc483132-0cff-0310-8789-dd5450dbe970
* When NULL is passed into krb_get_in_pw_tkt, we only want to prompt onceRuss Allbery2006-06-142-0/+26
| | | | | | | | | | | | | | | 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. Ticket: 2648 Version_Reported: 1.3.3 Component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18129 dc483132-0cff-0310-8789-dd5450dbe970
* Enable kinit -a to match the man page and add documentationRuss Allbery2006-06-131-3/+3
| | | | | | | | Ticket: 3030 Reported_Version: 1.4.1 Component: krb5-clients git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18125 dc483132-0cff-0310-8789-dd5450dbe970
* telnet help should telnet to a host named help, not display a usageRuss Allbery2006-06-131-1/+1
| | | | | | | | | | | message. Only support ?, not help, to request help with the open command. The same change was made in netkit's telnet. Ticket: 3269 Component: krb5-appl Version_Reported: 1.4.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18124 dc483132-0cff-0310-8789-dd5450dbe970
* Change kprop and kpropd to fall back on port 754 if krb5_prop isn'tRuss Allbery2006-06-133-8/+6
| | | | | | | | | | available via getservbyname rather than failing. Ticket: 3268 Version_Reported: 1.4.2 Component: krb5-misc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18123 dc483132-0cff-0310-8789-dd5450dbe970
* Change man page cross-reference to kerberos(1) from kerberos(3)Russ Allbery2006-06-131-1/+1
| | | | | | | | Ticket: 3008 Version_Reported: 1.3.6 Component: krb5-appl git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18122 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX allows getpwnam_r and getpwuid_r to return 0 (success) even if theRuss Allbery2006-06-131-4/+6
| | | | | | | | | | | | | 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. Ticket: 3490 Version_Reported: 1.4.3 Component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18121 dc483132-0cff-0310-8789-dd5450dbe970
* Prevent a library double-free and crash when a keytab is zero-length.Russ Allbery2006-06-131-1/+4
| | | | | | | | | | Based on a patch from Rainer Weikusat. Ticket: 3549 Version_Reported: 1.4.3 Component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18120 dc483132-0cff-0310-8789-dd5450dbe970
* Trivial whitespace cleanup in KDC codeKen Raeburn2006-06-131-2/+2
| | | | | | ticket: 2712 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18119 dc483132-0cff-0310-8789-dd5450dbe970
* Allow whitespace in front of comments. Patch from Jeremie KoenigRuss Allbery2006-06-121-3/+3
| | | | | | | Ticket: 1988 Version_Reported: 1.3.6 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18118 dc483132-0cff-0310-8789-dd5450dbe970
* Always include sys/ioctl.h in the telnet and telnetd code, even ifRuss Allbery2006-06-122-4/+2
| | | | | | | | | | 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. Ticket: 3466 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18117 dc483132-0cff-0310-8789-dd5450dbe970
* Never return -I/usr/include from --cflags. It's already in the defaultRuss Allbery2006-06-121-1/+5
| | | | | | | | | | compiler search path, causes gcc warnings, and can cause obscure failures with gcc by including system headers before gcc's internal headers. Ticket: 3011 Version_Reported: 1.4.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18116 dc483132-0cff-0310-8789-dd5450dbe970
* Update texinfo.tex to the version from texinfo 4.8.1 (2006-02-13.16)Russ Allbery2006-06-121-2914/+5785
| | | | | | Ticket: 3879 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18115 dc483132-0cff-0310-8789-dd5450dbe970
* Always initialize the output token in gss_init_sec_context as requiredRuss Allbery2006-06-121-0/+2
| | | | | | | | | | by RFC 2744 section 5.19. The krb5 code did this but the generic code didn't, causing a double-free in OpenSSH. Ticket: 3086 Version_Reported: 1.3.6 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18114 dc483132-0cff-0310-8789-dd5450dbe970
* If krb5_gss_canonicalize_name is given GSS_C_NULL_OID as the mechanism,Russ Allbery2006-06-121-1/+2
| | | | | | | | | | assume krb5 using similar logic as other library functions rather than failing. Patch provided by Daniel Kahn Gillmor. Ticket: 3467 Version_Reported: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18113 dc483132-0cff-0310-8789-dd5450dbe970
* Document the authorization logic used in the absence of .k5login files.Russ Allbery2006-06-122-18/+18
| | | | | | | | | | Remove all remaining references to .rhosts authentication; the code to implement this was already removed. Ticket: 2577 Version_Reported: 1.3.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18112 dc483132-0cff-0310-8789-dd5450dbe970
* Add dircategory and direntry lines to the texinfo source for better infoRuss Allbery2006-06-124-2/+22
| | | | | | | | | documentation. Fix a few typos in variable names. Ticket: 3014 Version_Reported: 1.4.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18111 dc483132-0cff-0310-8789-dd5450dbe970
* This file uses E* constants and therefore should include errno.hRuss Allbery2006-06-121-0/+1
| | | | | | | Ticket: 3266 Version_Reported: 1.3.6 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18110 dc483132-0cff-0310-8789-dd5450dbe970
* Add man pages for fakeka and k524initRuss Allbery2006-06-124-0/+161
| | | | | | | Ticket: 3013 Version_Reported: 1.3.6 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18109 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.conf option name is udp_preference_limit, not udp_preference_listRuss Allbery2006-06-121-2/+2
| | | | | | | Ticket: 3468 Version_Reported: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18108 dc483132-0cff-0310-8789-dd5450dbe970
* Fix minor nroff man page problems (stray space, bad cross reference)Russ Allbery2006-06-122-2/+2
| | | | | | | Ticket: 3010 Version_Reported: 1.4.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18107 dc483132-0cff-0310-8789-dd5450dbe970
* Since it appears we don't actually set the conf_tgs_ktypes field except in thisKen Raeburn2006-06-102-23/+2
| | | | | | | | | initial allocation of zero elements, it can be deleted, along with conf_tgs_ktypes_count and the associated code... ticket: 2786 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18105 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid typo in last changeKen Raeburn2006-06-101-1/+1
| | | | | | ticket: 3233 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18104 dc483132-0cff-0310-8789-dd5450dbe970
* Use new macro FILE_OWNER_OK to examine uid of .k5login file.Ken Raeburn2006-06-101-1/+8
| | | | | | | | | On Mac, define this to accept UNKNOWNUID as well as 0. ticket: 3233 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18103 dc483132-0cff-0310-8789-dd5450dbe970
* Call krb5_set_error_message any time multiple errno values are translated toKen Raeburn2006-06-091-15/+59
| | | | | | 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
* Don't use GNU linker option --as-needed yetKen Raeburn2006-06-091-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18101 dc483132-0cff-0310-8789-dd5450dbe970
* Free requested-enctype list when freeing up credentials. Reported by RainerKen Raeburn2006-06-081-0/+4
| | | | | | | | Weikusat. ticket: 3790 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18093 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed by having krb5_fcc_interpret call krb5_set_error_message to incorporateKen Raeburn2006-06-081-0/+3
| | | | | | | | | | | 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". ticket: 3438 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18091 dc483132-0cff-0310-8789-dd5450dbe970
* copyright noticeKen Raeburn2006-06-081-1/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18090 dc483132-0cff-0310-8789-dd5450dbe970
* Don't call k5_mutex_destroy when krb5_rc_resolve_type fails, because that'sKen Raeburn2006-06-081-2/+0
| | | | | | | | where the mutex would've been initialized. Reported by Shawn Emery. ticket: 3332 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18089 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid memory leak in error path. Reported by Rainer WeikusatKen Raeburn2006-06-081-1/+3
| | | | | | ticket: 3791 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18088 dc483132-0cff-0310-8789-dd5450dbe970
* Updated CCAPI version of krb4int_save_credentials_addr toAlexandra Ellwood2006-06-061-1/+1
| | | | | | | | | match the prototype in the headers. ticket: new target-version: 1.5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18084 dc483132-0cff-0310-8789-dd5450dbe970
* Update procedures for Subversion; fix some typosSam Hartman2006-06-031-9/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18081 dc483132-0cff-0310-8789-dd5450dbe970
* No longer ignore configure, autom4te.cache, config.status, config.logKen Raeburn2006-06-020-0/+0
| | | | | | | | in directories that no longer have configure.in files. (And prune blank lines previously accidentally added to the svn:ignore property while we're editing them anyways.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18079 dc483132-0cff-0310-8789-dd5450dbe970
* Re-disable python plugin configuration accidentally enabled in an earlier ↵Ken Raeburn2006-06-021-1/+1
| | | | | | checkin git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18077 dc483132-0cff-0310-8789-dd5450dbe970
* Patch from Alejandro R. Sedeno and Jeffrey Hutzelman to allow krb4 toSam Hartman2006-06-024-16/+326
| | | | | | | | | | | | | | | read 32-bit and 64-bit ticket files on 32-bit and 64-bit systems. Previously the ticket file format depended on the ABI. Significant backward compatibility is maintained; the patch works by writing alignment records that are valid (but meaningless) ticket file entries but that allow systems to get realigned. As a consequence an old library will see additional meaningless ticket file entries when it reads a ticket file produced by the new code. These entries are harmless and will be ignored. ticket: 1288 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18076 dc483132-0cff-0310-8789-dd5450dbe970
* move var decl before codeKen Raeburn2006-06-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18073 dc483132-0cff-0310-8789-dd5450dbe970
* krb5 1.5 alpha - memory leaks in krb5kdc due to not freeing error messages Ezra Peisach2006-06-014-11/+44
| | | | | | | | | | | | | | | | In the kdc and lib/kadm5/logger.c, krb5_get_error_message needs to be paired with krb5_free_error_message to release returned memory. Essentially a memory leak was introduced for every principal requested that did not exist in the database. Identified by valgrind on the kdc - running kdc_hammer and specifying more principals than are present in the db. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18072 dc483132-0cff-0310-8789-dd5450dbe970
* Missed a reference to + sizeof() vs * sizeof(). Pointed out byEzra Peisach2006-06-011-1/+1
| | | | | | | | | william fiveash. ticket: 3825 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18071 dc483132-0cff-0310-8789-dd5450dbe970
* krb5int_get_plugin_dir_data() uses + instead of * in reallocEzra Peisach2006-06-011-1/+1
| | | | | | | | | | | | | | | | In line 570, in reallocating the plugin tree - the memory allocated is (count + 1) + sizeof(*p) instead of (count +1 ) * sizeof(*p) Detected while running the krb5kdc under valgrind with memcheck. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18070 dc483132-0cff-0310-8789-dd5450dbe970
* Merge about 1/3 of the remaining configure scripts into the top level. ThisKen Raeburn2006-05-3134-390/+330
| | | | | | still leaves out appl and tests, and static library and plugin directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18068 dc483132-0cff-0310-8789-dd5450dbe970
* krb5-1.5-alpha1-postreleaseTom Yu2006-05-301-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18066 dc483132-0cff-0310-8789-dd5450dbe970
* krb5-1.5-alpha1Tom Yu2006-05-301-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18064 dc483132-0cff-0310-8789-dd5450dbe970
* Delete some bogus svn:mime-type propertiesTom Yu2006-05-302-975/+26
| | | | | | | | | * README: Update for krb5-1.5-alpha1. Update Kerberos Development Team member list. * doc/copyright.texinfo: Update copyright years. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18063 dc483132-0cff-0310-8789-dd5450dbe970
* Build lib/krb4 makefile at top levelKen Raeburn2006-05-263-26/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18046 dc483132-0cff-0310-8789-dd5450dbe970
* Add copyright noticeKen Raeburn2006-05-261-0/+29
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18045 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define MODULE_PATHKen Raeburn2006-05-251-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18044 dc483132-0cff-0310-8789-dd5450dbe970
* Properly recognize Mac environments, and set {KRB5,KDB5}_PLUGIN_BUNDLE_DIRKen Raeburn2006-05-251-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18043 dc483132-0cff-0310-8789-dd5450dbe970
* Create crypto, des425 Makefiles from top levelKen Raeburn2006-05-2519-54/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18042 dc483132-0cff-0310-8789-dd5450dbe970