aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-29CCAPI changes to the mac-specific code to use new kipc changesAlexandra Ellwood1-11/+16
ticket: 5878 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20212 dc483132-0cff-0310-8789-dd5450dbe970
2008-01-23Windows: avoid use of cygwin mkdir and rmdir commandsJeffrey Altman2-4/+4
Microsoft's nmake versions 8.x and 9.x prefer executables over internal shell commands. This is a change from previous versions. Cygwin's mkdir and rmdir commands do not have the same semantics as the cmd.exe shell versions. Change the definitions of MKDIR and RMDIR to use 'md' and 'rd' in order to avoid the use of the cygwin versions. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20211 dc483132-0cff-0310-8789-dd5450dbe970
2008-01-23Update build instructions to indicate PATH ordering; add troubleshooting tip ↵Kevin Koch1-9/+20
about nmake versions Target_Version: 1.7 Ticket: 5859 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20210 dc483132-0cff-0310-8789-dd5450dbe970
2008-01-22Correct makefile so pingtest buildsKevin Koch1-10/+21
TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20204 dc483132-0cff-0310-8789-dd5450dbe970
2008-01-22Windows CCAPI snapshot. Should build & pass ping testKevin Koch51-69/+6514
TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20203 dc483132-0cff-0310-8789-dd5450dbe970
2008-01-22Windows debug message line endings were already correct; revert cci_debugging.c.Kevin Koch3-16/+4
Declare cci_thread_init__auxinit instead of defining a new function. TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20202 dc483132-0cff-0310-8789-dd5450dbe970
2008-01-22Make windows debug message line endings match the Mac endings.Kevin Koch5-6/+30
Windows needs k5-platform helper function declared explicitly. Change definition of ccs_pipe_t for windows. #define strdup -- it's now deprecated on windows. TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20201 dc483132-0cff-0310-8789-dd5450dbe970
2008-01-15Add ccs_pipe_compareAlexandra Ellwood6-2/+39
Added a pipe comparison function. Forgot it when I was adding support for non-integer pipe types (such as used by Windows). ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20200 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-30improve debugging of ticket verification in ksuRuss Allbery1-5/+5
When ksu is built with debugging support and -D is used, print out the principals being compared before doing the verification rather than afterwards so that the principals will be printed when the verification fails. ticket: new Component: krb5-appl Version_Reported: 1.6.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20196 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-22Wrap krb5_db_get_principal function with get_principal (which willKen Raeburn6-16/+50
eventually release the global lock and reacquire it) and get_principal_locked (which will retain the global lock), and change callers to use the wrappers, so we can simplify some ugliness at the call sites. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20195 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-22Implement SWAP16 for Mac without compiler warningKen Raeburn1-1/+9
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20194 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-19Rename krb4_sendto to set_response since that's what it doesKen Raeburn1-4/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20193 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-19Remove unused args to krb4_sendto and unused global. Use byte-order macros ↵Ken Raeburn1-20/+14
defined elsewhere git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20192 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-19Remove excess parameters in formatting log callsKen Raeburn1-14/+12
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20191 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-19Make some stuff static that we don't need accessible outside kerberos_v4.cKen Raeburn1-5/+5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20190 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-17Add the CCAPI design sketch to the new directoryKevin Koch1-0/+148
TargetVersion: 1.7 Component: krb5-libs Ticket: new Subj: Create doc directory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20188 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-14fix CVE-2007-5894: apparent uninit length in ftpd.c:reply()Tom Yu1-1/+1
ticket: 5853 target_version: 1.6.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20182 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-14fix CVE-2007-5902: integer overflow in svcauth_gss_get_principal()Tom Yu1-1/+1
ticket: 5855 target_version: 1.6.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20181 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-14fix CVE-2007-5971: double-free in gss_krb5int_make_seal_token_v3()Tom Yu1-1/+0
ticket: 5856 target_version: 1.6.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20180 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-14fix CVE-2007-5972: double fclose() in krb5_def_store_mkey()Tom Yu1-2/+1
ticket: 5857 target_version: 1.6.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20179 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-14fix CVE-2007-5971: free of non-heap pointer in gss_indicate_mechs()Tom Yu1-1/+1
ticket: 5856 tags: pullup target_version: 1.6.4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20178 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-14Remove Mac-specific bit unused in KfM that causes test failures nowKen Raeburn1-8/+0
under Darwin UNIXy builds. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20177 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-12KFW: BUG: KRB5CRED: Set identity data before sending notificationJeffrey Altman1-1/+1
Call tc_set_ident_data() before kcdb_credset_collect(). Make sure the identity data is set before the credentials change notification is broadcast. ticket: new component: windows tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20176 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-12copy correct key for lucid context acceptor_subkeyKevin Coffman1-1/+1
Copy the correct key (acceptor_subkey) to lucid context's acceptor_subkey. ticket: new component: krb5-libs Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20175 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-12KFW BUG: WIX: 64-bit installer attempts to uninstall 32-bit NSIS Jeffrey Altman1-2/+3
The 64-bit MSI must examine Win64 registry keys and not the 32-bit registry keys which is where the 32-bit NSIS installation will be detected. ticket: new component: windows tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20174 dc483132-0cff-0310-8789-dd5450dbe970
2007-12-03Remove no-longer-needed include of Kerberos.hKevin Koch31-31/+0
TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20173 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-21Conditionalize #pragma mark with TARGET_OS_MAC; remove any Windows #pragma ↵Kevin Koch2-19/+35
disable TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20168 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-20Disable warnings about #pragma markKevin Koch2-0/+8
TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 Subj: Tweaks for 1.7 build on Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20167 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-15On Windows, UINT64_MAX isn't defined; define itKevin Koch1-0/+4
TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20166 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-15On Windows, UINT64_MAX isn't defined; get it from k5-platform.hKevin Koch1-0/+4
TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20165 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-14The khm_show_main_window() function is no longer calledJeffrey Altman1-7/+18
at startup with khm_nCmdShow == SW_SHOWMINIMIZED in order to hide the main application by calling khm_hide_main_window(). Instead, the main application window is simply never shown. As a result, khm_show_main_window() needs to respond to khm_nCmdShow == SW_SHOWMINIMIZED not by hiding the window but by changing the khm_nCmdShow state to SW_SHOW and then calling ShowWindow(). This change will address the problem whereby "Show NIM Window" had to be triggered twice by the user when the process was started in a minimized state. ticket: 5842 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20164 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-04Include k5-platform.hKen Raeburn1-0/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20163 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-01Use 0 and 1 instead of relying on TRUE/FALSE being defined everywhereKen Raeburn1-2/+3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20162 dc483132-0cff-0310-8789-dd5450dbe970
2007-11-01Conditionalize "#pragma mark" on TARGET_OS_MAC.Ken Raeburn18-20/+114
Don't use "#pragma warning" when not on Windows. (In fact, the just-added uses shouldn't be needed if the above conditional is done right, so one of them was deleted.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20161 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-31On Windows, disable a pragma warning; add comment about what a pipe isKevin Koch1-0/+5
TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 Subj: Work on compiling the CCAPI test suite on Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20160 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-31Set GNU warning options in CFLAGS and CXXFLAGS separately, avoiding optionsKen Raeburn2-5/+16
in CXXFLAGS that G++ doesn't support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20159 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-31Add some dependenciesKen Raeburn1-1/+20
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20158 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-31Correct the filenames in commentsKen Raeburn2-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20157 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-31Test more installed headers for C++ compatibilityKen Raeburn3-1/+21
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20156 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-31Set CXX_LINK, CXX_LINK_STATIC, and CXX_LINK_SHARED, parallel to CC_ versions.Ken Raeburn4-1/+45
Assumes for now that libpath, rpath, ldflags, pthread flags and such apply to both C and C++ compilers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20155 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-31Use ac_cv_c_compiler_gnu instead of copying it to krb5_cv_prog_gccKen Raeburn3-11/+10
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20154 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-30Include k5-platform.hKen Raeburn1-0/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20153 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-30Don't use GNU make featuresKen Raeburn1-2/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20152 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-29Define htonll, ntohll using k5_ versions if needed. Drop Mac-specific bitsKen Raeburn1-8/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20151 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-29On Mac, include TargetConditionals.h and architecture/byte_order.h,Ken Raeburn1-0/+28
and use OSSwapInt{16,32,64} for SWAP* macros. Add k5_htonll and k5_ntohll functions. (Implementation assumes the swapping is its own reverse on all platforms we support.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20150 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-29Test that C++ code can use our installed headersKen Raeburn5-3/+53
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20149 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-29CredentialsCache.h needs uint32_t and other definitions which aren't in ↵Kevin Koch1-0/+1
Windows. Get the definitions from win-mac.h TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 Subj: Work on compiling the CCAPI test suite on Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20148 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-26Checkpoint some incomplete UNIX makefilesKen Raeburn8-0/+303
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20147 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-23delete unused configure.inTom Yu1-19/+0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20145 dc483132-0cff-0310-8789-dd5450dbe970
2007-10-23Include time.h for time()Alexandra Ellwood1-0/+1
ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20144 dc483132-0cff-0310-8789-dd5450dbe970