summaryrefslogtreecommitdiffstats
path: root/src/krb524
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in (install-unix): Install krb524d manpageTom Yu2004-09-082-0/+5
| | | | | | ticket: 2539 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16730 dc483132-0cff-0310-8789-dd5450dbe970
* Added man page for krb524dAlexandra Ellwood2004-09-082-0/+78
| | | | | | ticket: 2539 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16726 dc483132-0cff-0310-8789-dd5450dbe970
* fix MITKRB5-SA-2004-002Tom Yu2004-08-312-1/+7
| | | | | | | | | | Fix double-free vulnerabilities [MITKRB5-SA-2004-002]. ticket: new target_version: 1.3.5 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16701 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c (do_connection): Use socklen_t for the size of the address from ↵Ken Raeburn2004-08-092-1/+7
| | | | | | recvfrom git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16652 dc483132-0cff-0310-8789-dd5450dbe970
* make dependTom Yu2004-06-161-13/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16470 dc483132-0cff-0310-8789-dd5450dbe970
* updated dependenciesKen Raeburn2004-04-241-16/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16269 dc483132-0cff-0310-8789-dd5450dbe970
* Change subdir processing so that SUBDIRS will contain the configuredKen Raeburn2004-03-082-1/+4
| | | | | | | | | | | | | | subdirs only for the makefile in the directory with the configure script, and will have only $(LOCAL_SUBDIRS) elsewhere. Drop the use of "MY_SUBDIRS=." to override SUBDIRS in favor of this way of keeping SUBDIRS empty. Drop other uses of MY_SUBDIRS in favor of LOCAL_SUBDIRS or (in one case, the top level) overriding the SUBDIRS setting from pre.in. One less thing to keep tweaking as configure scripts get reorganized and merged. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16158 dc483132-0cff-0310-8789-dd5450dbe970
* Merge configuration of kdc, krb524, and slave directories into topKen Raeburn2004-03-053-10/+10
| | | | | | level configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16147 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't invoke macros for library build support. Don't look ↵Ken Raeburn2004-03-042-3/+5
| | | | | | for awk git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16146 dc483132-0cff-0310-8789-dd5450dbe970
* Move daemon.c into a new library of utility routines for linking our programsKen Raeburn2004-02-242-3/+8
| | | | | | | | | | | | against but which we don't want to install as a separate library. Change Kerberos and application servers to link against the library if they might need the replacement daemon() function. Add a dummy file to the library in case daemon() is not needed, so we don't have an empty library, which we may not handle properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16118 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2003-12-151-17/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15928 dc483132-0cff-0310-8789-dd5450dbe970
* krb524 subdirectory does not get fully cleaned due to change introduced by 1491Ezra Peisach2003-12-152-1/+7
| | | | | | | | | | * Makefile.in (clean-unix): Clean up more files now that STLIBOBS is not used (introduced in 1491). Some files were missed. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15923 dc483132-0cff-0310-8789-dd5450dbe970
* Apply patch from Cesar Garcia to fix lifetime computation in 524Tom Yu2003-09-022-1/+6
| | | | | | | | | | | ticket conversion. ticket: 1712 tags: pullup version_reported: 1.3.1 target_version: 1.3.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15808 dc483132-0cff-0310-8789-dd5450dbe970
* Copy and build daemon.c in whatever directories need it, instead of building itKen Raeburn2003-08-303-4/+8
| | | | | | | | | | | | | | | | | | into the krb5 library. * aclocal.m4 (KRB5_AC_NEED_DAEMON): New macro. * appl/bsd/configure.in, kadmin/configure.in, kdc/configure.in, krb524/configure.in, slave/configure.in: Use it. Don't directly check if prototype for daemon() is needed. * kadmin/server/Makefile.in (OBJS), kadmin/v5passwdd/Makefile.in (SERV_OBJS), kdc/Makefile.in (OBJS, fakeka), krb524/Makefile.in (SERVER_OBJS), slave/Makefile.in (SERVEROBJS): Use LIBOBJS. * config/post.in (daemon.c): New rule for copying daemon.c locally from lib/krb5/posix. ticket: 1791 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15801 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c (krb524_convert_tkt_skey): Call krb_create_ticketTom Yu2003-08-122-238/+34
| | | | | | | | | | | | | | | instead of local version. Remove local version of krb_create_ticket. This file no longer gets included into a krb524 library, so accessing internal functions isn't that big of an issue anymore. ticket: 1714 version_reported: 1.3.1 target_version: 1.3.2 tags: pullup component: krb5-kdc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15765 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: krb524_init_ets() takes one argumentTom Yu2003-06-122-4/+9
| | | | | | | | | | | * krb524.c (krb524_convert_creds_kdc, krb524_init_ets): Mark as KRB5_CALLCONV_WRONG. (krb524_init_ets): Takes a krb5_context. ticket: 1596 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15615 dc483132-0cff-0310-8789-dd5450dbe970
* oops, fix up ChangeLog attributionTom Yu2003-06-091-1/+1
| | | | | | ticket: 1568 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15601 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524.c: Fix copyright noticeTom Yu2003-06-092-17/+24
| | | | | | ticket: 1568 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15600 dc483132-0cff-0310-8789-dd5450dbe970
* pullup of changes previously committed to branch firstTom Yu2003-06-053-4/+56
| | | | | | | | | ticket: 1568 version_fixed: 1.3 target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15578 dc483132-0cff-0310-8789-dd5450dbe970
* remove debugging printf accidentally left in krb524initKen Raeburn2003-06-052-1/+4
| | | | | | | | | | * k524init.c (main): Remove debugging printf. ticket: new target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15575 dc483132-0cff-0310-8789-dd5450dbe970
* krb524d.h: removed invalid Mac pragmas [RT 1533]Alexandra Ellwood2003-05-292-7/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15520 dc483132-0cff-0310-8789-dd5450dbe970
* Rename interface to krb5_524_convert_creds, export it from krb5 library.Ken Raeburn2003-05-283-2/+10
| | | | | | | | | | | | Provide old names as functions for UNIX/MacOS binary compatibility, and deprecated macros for source code compatibility. (For Windows, we'll still need a krb524.dll, and it can worry about providing the old names.) Enable support on Windows always. ticket: 1491 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15513 dc483132-0cff-0310-8789-dd5450dbe970
* Big step towards integrating libkrb524 into libkrb5:Ken Raeburn2003-05-2416-818/+125
| | | | | | | | | | | | | | | | | | | | | | | Move libkrb524 code, including error table, into libkrb5. Now libkrb5 initialization pulls in the krb524 error table, so krb524_init_ets is gone; all calls deleted. Move krb4 life/time conversion functions into libkrb5 under new names, using accessor hooks to get at them from libkrb4. Move declarations from krb524.h into krb5.h, k5-int.h, or krb524d.h; the last doesn't get copied into the include directory. Changed inclusions of krb524.h to the appropriate files, if any were needed. Rebuilt dependencies in Makefiles. These changes are likely to break the Windows build; I'll look into that soon. ticket: 1491 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15491 dc483132-0cff-0310-8789-dd5450dbe970
* make-depend updatesKen Raeburn2003-05-241-19/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15490 dc483132-0cff-0310-8789-dd5450dbe970
* Red Hat's krb5_princ_size fixesKen Raeburn2003-04-012-1/+6
| | | | | | | | ticket: 1397 status: open tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15312 dc483132-0cff-0310-8789-dd5450dbe970
* Disable krb4 cross-realm in krb524d and krb5kdc. Provide an option toSam Hartman2003-03-173-34/+30
| | | | | | | | | | | | | | | | | | | reenable (-X) which prints a warning that you are creating a security hole. Remove support for generating krb4 tickets encrypted using 3DES service keys as it is insecure. They are still accepted however. The KDc is much more strict about accepting only tickets that it would have issued in the current configuration. In particular if the KDC would choose some enctype for writing a TGT, other enctypes will not be accepted when using a TGT. Ticket: 1385 Target_Version: 1.3 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15286 dc483132-0cff-0310-8789-dd5450dbe970
* Fix unaligned access found in alpha-linux testing:Ken Raeburn2003-03-122-2/+7
| | | | | | | * cnv_tkt_skey.c (krb524_convert_tkt_skey): Extract source IP address in its proper size, not as 'long'. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15275 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c, conv_creds.c, conv_princ.c, encode.c, sendmsg.c: Removed ↵Alexandra Ellwood2003-03-068-30/+24
| | | | | | Mac-specific includes. * conv_creds.c: If we are on the Mac and using the CCAPI, set the string_to_key type to MIT. * krb524.h: Removed enumsalwaysint because there are no enums in this header. Also include krb524_err with <> because on Mac OS X both are public headers and should not be included with "". * Makefile.in: set KRB524_PRIVATE while building so that Darwin builds see these prototypes. Otherwise the Darwin build will fail git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15244 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-windows): Remove $(GENS).Ken Raeburn2003-02-012-0/+9
| | | | | | (krb524_err.c): Depend on krb524_err.et. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15140 dc483132-0cff-0310-8789-dd5450dbe970
* Search for ar, ranlib, install in KRB5_BUILD_LIBRARY* macros rather thanKen Raeburn2003-01-102-1/+2
| | | | | | explicitly in directories using those macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15111 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-102-0/+8
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* Replace dependencies on generated krb524 and krb4 headers withTom Yu2002-12-231-9/+9
| | | | | | | | | variables, to allow correct behavior when krb4 is disabled. ticket: 1276 owner: tlyu git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15070 dc483132-0cff-0310-8789-dd5450dbe970
* * sendmsg.c (krb524_sendto_kdc): Update calls to locate_server()Tom Yu2002-12-072-2/+9
| | | | | | | | | and locate_kdc() to restrict protocol family to IPv4. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15039 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesTom Yu2002-11-271-9/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15016 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (EXTRADEPSRCS): New variableKen Raeburn2002-09-242-0/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14896 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-09-111-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14840 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-08-291-5/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14791 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-292-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-291-0/+5
| | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for using the encrypted part of a krb5 ticket as an AFS token--Sam Hartman2002-08-273-56/+227
| | | | | | af krb5-encpart-only (kvno 213) and enable this support by default. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14777 dc483132-0cff-0310-8789-dd5450dbe970
* Quote targets of some copy operations within the build tree. NeededKen Raeburn2002-08-272-2/+7
| | | | | | | now for Windows since we use "/" as a directory separator in places where Windows would also look for command options. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14776 dc483132-0cff-0310-8789-dd5450dbe970
* Remove release notes as the content is 100% incorrect.Sam Hartman2002-08-261-16/+0
| | | | | | Changelog batch with future commit git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14769 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-232-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c (kdc_get_server_key): Check for DISALLOW_ALL_TIX andTom Yu2002-08-152-1/+12
| | | | | | DISALLOW_SVR when looking up server key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14728 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524.h: Need to include port-sockets.h before socket-utils.hEzra Peisach2002-07-242-0/+6
| | | | | | for windows for struct sockaddr_in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14668 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524.h: Include socket-utils.h instead of port-sockets.h forEzra Peisach2002-07-232-1/+6
| | | | | | socklen_t definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14666 dc483132-0cff-0310-8789-dd5450dbe970
* reimplement macosx v4-local-addr changes; untestedKen Raeburn2002-07-224-4/+39
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14665 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-07-131-12/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14638 dc483132-0cff-0310-8789-dd5450dbe970
* Don't install port-sockets.h, and don't include it from <kerberosIV/krb.h>.Ken Raeburn2002-07-123-5/+10
| | | | | | Instead, include it in the source files that need it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14627 dc483132-0cff-0310-8789-dd5450dbe970
* Put # for cpp directives in first columnKen Raeburn2002-07-092-18/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14624 dc483132-0cff-0310-8789-dd5450dbe970