summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * profile.swg: Only include tclsh.i if building for Tcl.Ken Raeburn2004-09-232-3/+26
| | | | | | | | | (Tcl_SetResult, my_tcl_setresult): Compile hack only if building for Tcl. (%typemap SWIGTYPE *OUTPUT): Initialization is not specific to the scripting language. Add Python code. (%typemap errcode_t, errcode_t*): Add placeholders for Python support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16782 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Delete @SHARED_RULE@ line.Ken Raeburn2004-09-232-3/+6
| | | | | | (thisconfigdir): Fix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16781 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (T_STD_CONF_OBJS): Include dnsglue.oKen Raeburn2004-09-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16780 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (binutils.versions, osf1.exports): New file targets.Ken Raeburn2004-09-234-3/+27
| | | | | | | | | | | (clean-libs): Delete them. * pre.in (SHLIB_EXPORT_FILE_DEP): Use @SHLIB_EXPORT_FILE_DEP@. * shlib.conf: Set it to $(SHLIB_EXPORT_FILE) by default. (alpha*-dec-osf*): Use osf1.exports instead of adding commands to generate a temporary file. (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Use binutils.versions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16779 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): If the config info set by tclConfig.shKen Raeburn2004-09-232-0/+11
| | | | | | | doesn't produce a working executable, set TCL_LIBS to be empty explicitly. (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute SHLIB_EXPORT_FILE_DEP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16778 dc483132-0cff-0310-8789-dd5450dbe970
* Better support for using libutil on systems that need it for variousTom Yu2004-09-2216-8/+51
| | | | | | pty-related functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16777 dc483132-0cff-0310-8789-dd5450dbe970
* Only use -Wl,-oldstyle_liblookup if using native linker. Check forTom Yu2004-09-224-1/+20
| | | | | | | | native linker if using gcc. ticket: 927 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16776 dc483132-0cff-0310-8789-dd5450dbe970
* * libgssrpc.exports: Export svc_maxfdTom Yu2004-09-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16775 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Don't use the linkerKen Raeburn2004-09-212-1/+7
| | | | | | option --retain-symbols-file, it doesn't work for shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16774 dc483132-0cff-0310-8789-dd5450dbe970
* Don't assume that presence of res_nsearch() means we have ns_initparse()Tom Yu2004-09-214-7/+22
| | | | | | ticket: 2710 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16773 dc483132-0cff-0310-8789-dd5450dbe970
* memory leak in rd_cred.cTom Yu2004-09-212-1/+10
| | | | | | | | | * rd_cred.c (decrypt_credencdata): Clear and free ppart to avoid leak. Reported by Derrick Schommer. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16772 dc483132-0cff-0310-8789-dd5450dbe970
* memory leak in arcfour string_to_keySam Hartman2004-09-212-0/+6
| | | | | | | | | | | Derrick Schommer reports that arcfour's string_to_key function leaks memory. This is true; it copies the password to convert to utf16 and never frees the copy. It does memset the copy to 0 when done. ticket: new requestors: schommer@gmail.com git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16771 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sockaddr_in.sin_len andTom Yu2004-09-2115-119/+193
| | | | | | | | | | | | | | | | | | | | | | sockaddr.sa_len. Check for sys/param.h in case we need NBBY somewhere. * auth.h, svc_auth.h: Namespace cleanup. * svc.h, rpc_commondata.c: New global svc_maxfd. * svc.c (svc_getreqset): Break inner part of loop out into local function svc_do_xprt(). Don't use rpc_dtablesize(); instead, use svc_maxfd. * svc_run.c: Don't use rpc_dtablesize(). * clnt_generic.c, clnt_simple.c, getrpcport.c: * svc_tcp.c, svc_udp.c: Set sockaddr_in.sin_len when available. * ovsec_kadmd.c (kadm_svc_run): Don't use rpc_dtablesize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16770 dc483132-0cff-0310-8789-dd5450dbe970
* Add DNS resolver glue layer. Use itTom Yu2004-09-2110-378/+615
| | | | | | ticket: 2710 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16769 dc483132-0cff-0310-8789-dd5450dbe970
* * libgssrpc.exports: Don't export internalsTom Yu2004-09-1743-912/+697
| | | | | | | | | | | | | | | | | | | | | | | * svc.c (svc_getreqset): * svc_tcp.c (readtcp): Don't intersperse preprocessor conditionals with braces. * auth_gssapi.c, auth_gssapi_misc.c, auth_none.c: * auth_unix.c, authunix_prot.c, bindresvport.c: * clnt_generic.c, clnt_perror.c, clnt_raw.c * clnt_simple.c, clnt_tcp.c, clnt_udp.c, get_myaddress.c: * getrpcent.c, getrpcport.c, pmap_clnt.c: * pmap_getmaps.c, pmap_getport.c, pmap_prot.c, pmap_prot2.c: * pmap_rmt.c, rpc_callmsg.c, rpc_prot.c: * svc.c, svc_auth.c, svc_auth_gss.c: * svc_auth_gssapi.c, svc_auth_unix.c, svc_raw.c: * svc_run.c, svc_simple.c, svc_tcp.c: * svc_udp.c, xdr.c, xdr_alloc.c, xdr_array.c: * xdr_float.c, xdr_mem.c, xdr_rec.c, xdr_reference.c: * xdr_stdio.c: Protoize, to avoid potential problems when fixed-width types are not ints on some platforms. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16768 dc483132-0cff-0310-8789-dd5450dbe970
* Use a new variable, $(INSTALL_SCRIPT) to install scripts, so theyTom Yu2004-09-176-2/+14
| | | | | | | | | | | won't get stripped when someone does "make install-strip". ticket: new tags: pullup target_version: 1.3.6 component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16767 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Look for res_search() prototype,Tom Yu2004-09-172-11/+32
| | | | | | | then for symbol in library, in case there's symbol renaming happening in the headers. Clean up some style nits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16766 dc483132-0cff-0310-8789-dd5450dbe970
* * kfw-fixed.nsi:Jeffrey Altman2004-09-172-0/+63
| | | | | | | | | | | The version of MSIEXEC which ships with Windows 2000 does not accept the /passive and /promptreboot command line options. On Windows 2000 only, do not specify them. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16763 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from PATHJeffrey Altman2004-09-173-23/+190
| | | | | | | | | | | Minimize Leash32.exe on startup Update msi-deployment guide to explain how to replace the configuration files in greater detail ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16761 dc483132-0cff-0310-8789-dd5450dbe970
* Fix error code returned for empty sequences and check the errorJeffrey Altman2004-09-172-2/+10
| | | | | | | | | in krb5_lcc_initialize ticket: 2705 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16760 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Only look for res_search() inTom Yu2004-09-152-1/+6
| | | | | | libraries, not headers, in case it's present but not prototyped. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16759 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for h_errno declaration in netdb.hTom Yu2004-09-153-0/+23
| | | | | | | | * port-sockets.h: Explicitly declare h_errno if it's missing. ticket: 1044 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16758 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Export ACLOCAL=true to environmentKen Raeburn2004-09-152-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16757 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Require the BIND_8_COMPAT checkTom Yu2004-09-142-0/+8
| | | | | | | | prior to looking for prototypes, as BIND 9 (at least on Panther) turns off some prototypes and typedefs if BIND_8_COMPAT is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16756 dc483132-0cff-0310-8789-dd5450dbe970
* Enable default installation of documentationJeffrey Altman2004-09-142-1/+5
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16754 dc483132-0cff-0310-8789-dd5450dbe970
* * dnssrv.c:Tom Yu2004-09-144-0/+10
| | | | | | | | * hst_realm.c: * locate_kdc.c: Include netinet/in.h as a prerequisite for resolv.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16753 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: Fix check for resolv.h; some platforms haveTom Yu2004-09-142-2/+15
| | | | | | prerequisite headers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16752 dc483132-0cff-0310-8789-dd5450dbe970
* * kfw-fixed.nsi:Jeffrey Altman2004-09-132-3/+99
| | | | | | | | | Detect the Wix MSI, the SWRT MSI, and the Pismere MSI If found, uninstall the MSI before installing NSIS ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16749 dc483132-0cff-0310-8789-dd5450dbe970
* Add msi-deployment-guide.txtJeffrey Altman2004-09-132-0/+371
| | | | | | ticket: 2707 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16744 dc483132-0cff-0310-8789-dd5450dbe970
* Updates to WiX to satisfy the needs of MIT SWRTJeffrey Altman2004-09-136-6/+299
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16743 dc483132-0cff-0310-8789-dd5450dbe970
* utils.nsi: Fix RestartRequired function to actually determineJeffrey Altman2004-09-112-33/+112
| | | | | | | | | | | | | | if a restart is required kfw-fixed.nsi: - Add support for compiler version 1400 - Fix terminal server key deletions - Delete leash32.exe on uninstall - Correct the logic of the call of RestartRequired ticket: 2702 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16742 dc483132-0cff-0310-8789-dd5450dbe970
* Support building on x86_64Sam Hartman2004-09-102-10/+19
| | | | | | | | Include resolv.h when looking for res_nsearch and res_search. Ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16741 dc483132-0cff-0310-8789-dd5450dbe970
* * port-sockets.h: Remove _XOPEN_SOURCE_EXTENDED hack for netdb.h,Tom Yu2004-09-102-9/+7
| | | | | | | | | as it can cause inconsistencies between headers. It significantly broke HP-UX 10.20 anyway. ticket: 2379 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16740 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_mslsa.c: Implement krb5_lcc_initialize()Jeffrey Altman2004-09-102-6/+35
| | | | | | | | | Remove all tickets from the cache which have a client principal that matches the input principal. ticket: 2705 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16737 dc483132-0cff-0310-8789-dd5450dbe970
* cc_mslsa.c: Correct test for KerbQueryTicketCacheEx2MessageJeffrey Altman2004-09-102-3/+6
| | | | | | ticket: 2705 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16736 dc483132-0cff-0310-8789-dd5450dbe970
* 2004-09-10 Jeffrey Altman <jaltman@mit.edu>Jeffrey Altman2004-09-102-8/+374
| | | | | | | | | | | | | | * cc_mslsa.c: The following functionality is being committed but commented out because it is not presently available in public Microsoft SDKs - support for KerbSubmitTicket which allows a KERB_CRED message to be forwarded to the LSA. (KERB_SUBMIT_TICKET) - support for the KerbQueryTicketCacheEx2Message which adds the Session Key Enctype to the contents of the response from KerbQueryTicketCacheExMessage. (HAVE_CACHE_INFO_EX2) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16735 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: add new krb5_ccache flag, KRB5_TC_NOTICKETJeffrey Altman2004-09-092-0/+5
| | | | | | | | | when set, a krb5_ccache does not have to return a ticket within the returned credential ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16734 dc483132-0cff-0310-8789-dd5450dbe970
* ms2mit.c: Apply KRB5_TC_NOTICKET to MSLSA: while searching for theJeffrey Altman2004-09-092-0/+19
| | | | | | | | presence of an initial ticket to copy to the MIT cache ticket: 2688 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16733 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): Don't overwrite "PATH" environment variable ifTom Yu2004-09-082-1/+6
| | | | | | | | | it's already set. ticket: 427 version_reported: 1.0.1 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16731 dc483132-0cff-0310-8789-dd5450dbe970
* * 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
* * Makefile.in: Install krb5-config manpageTom Yu2004-09-082-0/+5
| | | | | | ticket: 2694 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16729 dc483132-0cff-0310-8789-dd5450dbe970
* Added man pages for krb524d and krb5-configAlexandra Ellwood2004-09-081-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16728 dc483132-0cff-0310-8789-dd5450dbe970
* Added a man page for krb5-configAlexandra Ellwood2004-09-082-0/+78
| | | | | | ticket: 2694 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16727 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
* Include all subdirectories of KFW_INSTALL_DIR in the SDKJeffrey Altman2004-09-072-1/+6
| | | | | | | ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16723 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_mslsa.c:Jeffrey Altman2004-09-022-23/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | - Fix MITPrincToMSPrinc to prevent writing to the output buffer if the input won't fit. - Add internal UnicodeStringToMITPrinc function - Rename internal MSPrincToMITPrinc to ExternalNameToMITPrinc - Rename internal PurgeMSTGT to PurgeAllTickets - Add internal PurgeTicket2000 - Add internal PurgeTicketXP - Since tickets can only be requested via KDC Opt Flags it is not possible to specifically request the Initial ticket. If more than one ticket exists which matching service names, enctypes, and ticket flags the initial ticket flag may not be set. If the caller requested the initial ticket, set the flag manually. - Add preliminary support for krb5_lcc_set_flags - Modify krb5_lcc_initialize to return success - Modify krb5_lcc_get_principal to support an LSA cache which does not contain a TGT when krb5_lcc_resolve is called. - Implement krb5_lcc_remove_cred ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16714 dc483132-0cff-0310-8789-dd5450dbe970
* * ms2mit.c: add -c ccache command line optionJeffrey Altman2004-09-024-4/+198
| | | | | | | | | * mit2ms.c: new command. Copies contents of the mit ccache to the MSLSA: ccache ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16713 dc483132-0cff-0310-8789-dd5450dbe970
* * kvno.M: Update usageTom Yu2004-08-313-4/+13
| | | | | | | | * kvno.c (xusage): Update usage message. ticket: 2677 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16709 dc483132-0cff-0310-8789-dd5450dbe970
* oops, forgot changelogTom Yu2004-08-311-0/+5
| | | | | | ticket: 2686 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16703 dc483132-0cff-0310-8789-dd5450dbe970
* fix MITKRB5-SA-2004-003Tom Yu2004-08-312-0/+4
| | | | | | | | | | Fix for ASN.1 decoder denial-of-service. [MITKRB5-SA-2004-003] ticket: new target_version: 1.3.5 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16702 dc483132-0cff-0310-8789-dd5450dbe970