summaryrefslogtreecommitdiffstats
path: root/src/windows
Commit message (Collapse)AuthorAgeFilesLines
...
* Because of the failure of Windows 2000 and Windows XP to perform properJeffrey Altman2003-10-212-2/+28
| | | | | | | | | | | | | | | | | | | | ticket expiration time management, the MS Kerberos LSA will return tickets to a calling application with lifetimes as short as one second. Tickets with lifetimes less than five minutes can cause problems for most apps. Tickets with lifetimes less than 20 minutes will trigger the Leash ticket lifetime warnings. Instead of accepting whatever tickets are returned by MS LSA from the cache, if the ticket lifetime is less than 20 minutes force a retrieval operation bypassing the LSA ticket cache. ticket: 1962 target_version: 1.3.2 tags: pullup owner: jaltman@mit.edu status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15843 dc483132-0cff-0310-8789-dd5450dbe970
* * README: Revert previous change, as it was in error; socklen_tTom Yu2003-07-222-3/+10
| | | | | | | | | | was introduced in Aug 2001 Platform SDK, and the actual problem reported was very probably a compilation environment misconfiguration. ticket: 1675 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15721 dc483132-0cff-0310-8789-dd5450dbe970
* Windows build needs Feb 2003 Platform SDKTom Yu2003-07-192-3/+8
| | | | | | | | | | | | | * README: Note requirement for Feb 2003 Platform SDK. Thanks to Doug Engert and Rodney Dyer. ticket: 1675 component: krb5-doc version_reported: 1.3 target_version: 1.3.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15698 dc483132-0cff-0310-8789-dd5450dbe970
* * ms2mit.c:Jeffrey Altman2003-07-182-75/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functional changes: (1) do not restrict ourselves to DES-CBC-CRC instead support any ticket with an enctype we support. as of this date (rev 1.3) this includes all but RC4-MD4. (2) do not accept invalid tickets (3) when attempting to retrieve tickets do not specify either the enctype or cache options (if possible). doing so will force a TGS request and prevent the results from being stored into the cache. (4) when the LSA cache contains a TGT which has expired Microsoft will not perform a new TGS request until the cache has been purged. Instead the expired ticket continues to be used along with its embedded authorization data. When PURGE_ENABLED is defined, if the tickets are expired, the cache will be purged before requesting new tickets, else we ignore the contents of the cache and force a new TGS request. (5) when the LSA cache is empty do not abort. On XP or 2003, use the SecurityLogonSessionData to determine the Realm (UserDnsDomain in MS-speak) and request an appropriate TGT. On 2000, check the Registry for the HKCU\"Volatile Environment":"USERDNSDOMAIN" instead. This will allow ms2mit to be used to repopulate the LSA cache. If the current session is not Kerberos authenticated an appropriate error message will be generated. Code changes: (1) several memory leaks plugged (2) several support functions copied from the Leashw32.dll sources (3) get_STRING_from_registry() uses the ANSI versions of the Registry functions and should at a later date be converted to use the Unicode versions. Notes: an ms2mit.exe based on the Leash_import() function should be considered. Leash_import() not only imports the TGT from the LSA but also performs the krb524 conversion and AFS token retrieval. Of course, that version of ms2mit.exe could not exist within the krb5 source tree. ticket: 1667 target_version: 1.3.1 tags: pullup owner: jaltman@mit.edu status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15696 dc483132-0cff-0310-8789-dd5450dbe970
* apply patch from jaltman:Tom Yu2003-06-242-5/+12
| | | | | | | | | | | | * ms2mit.c: Windows Credentials are addressless. Do not store the credentials in the MIT cache with addresses since they do not contain addresses in the encrypted portion of the credential. Instead generate a valid empty address list. ticket: 1618 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15648 dc483132-0cff-0310-8789-dd5450dbe970
* Handle NULL result_string->data returned from error inTom Yu2003-02-252-1/+7
| | | | | | | | | | | | krb5_change_password(). The SAMDATA() macro in lib/krb5/krb/preauth2.c seems to already be fixed. KfM's kpasswd equivalent still needs to be dealt with. ticket: 1055 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15204 dc483132-0cff-0310-8789-dd5450dbe970
* ver.h to winver.h ver.h has become depricated by MS. Using winver.h will ↵Paul Hill2002-10-162-2/+2
| | | | | | support MSVC 6 and 7 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14929 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define DEFINE_SOCKADDR, since nothing tests it any moreKen Raeburn2002-07-132-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14644 dc483132-0cff-0310-8789-dd5450dbe970
* Document SDK requirementSam Hartman2002-07-121-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14626 dc483132-0cff-0310-8789-dd5450dbe970
* Use ws2_32.lib instead of wsock32.libKen Raeburn2002-06-148-4/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14505 dc483132-0cff-0310-8789-dd5450dbe970
* * cns.c: Do not use krb_get_notification_message() orTom Yu2002-06-122-0/+12
| | | | | | | krb5_get_notification_message(). [pullup from 1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14495 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Build ms2mit.Danilo Almeida2002-04-114-2/+18
| | | | | | | * version.rc: 1.3 (TEST) beta. * README: Note on building ms2mit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14372 dc483132-0cff-0310-8789-dd5450dbe970
* * ms2mit.c: Make sure we get a des-cbc-crc session key instead ofDanilo Almeida2001-11-282-27/+207
| | | | | | | | | potentially getting whatever happens to be in the cache. Remove unnecessary static variables. Make function headers use a consistent format. Rename ShowLastError() to ShowWinError() and ShowNTError() to ShowLsaError(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14024 dc483132-0cff-0310-8789-dd5450dbe970
* * intern.c (ScreenInsChar): Return BOOLDanilo Almeida2001-10-117-81/+98
| | | | | | | | | | | | | | | | | | | | * enc_des.h: Remove undefined encrypt_send_supprt(). * encrypt.h: Fix parameters in declaration for encrypt_init(). Remove undefined encrypt_send_supprt(). * screen.h: HANDLE -> HINSTANCE. ScreenInsChar() returns BOOL. * wt-proto.h: Remove WinMain declaration since that is already in the standard Windows headers. Update declarations to current Microsoft Platform SDK definitions. Remove some undefined functions. * telnet.c: Update declarations to use definitions in current Microsoft Platform SDK (HANDLE -> HINSTANCE, and others). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13798 dc483132-0cff-0310-8789-dd5450dbe970
* Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;Ken Raeburn2001-10-105-148/+137
| | | | | | don't worry about restoring them when importing new versions of code.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-0615-23/+42
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo says we can get rid of the DLLIMP stuff nowKen Raeburn2001-10-042-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
* Add ms2mit utilityDanilo Almeida2000-07-192-0/+410
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12563 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2.1 releaseKen Raeburn2000-07-012-19/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-07-019-38/+80
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12499 dc483132-0cff-0310-8789-dd5450dbe970
* cacheapi.h: Update to v2Danilo Almeida2000-04-182-217/+242
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12175 dc483132-0cff-0310-8789-dd5450dbe970
* Add documentation about debug vs. release buildsDanilo Almeida2000-02-072-5/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12007 dc483132-0cff-0310-8789-dd5450dbe970
* Pull src/windows changes from krb5-1-1 branch (rename readme -> README)Danilo Almeida1999-12-041-0/+132
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11937 dc483132-0cff-0310-8789-dd5450dbe970
* Pull src/windows changes from krb5-1-1 branchDanilo Almeida1999-12-0415-81/+79
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11936 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-243-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* Boost version to 1.0.8Danilo Almeida1999-06-212-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11524 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unncessary LIBCMD definition from recursive make invocationsDanilo Almeida1999-05-192-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11465 dc483132-0cff-0310-8789-dd5450dbe970
* These are a bunch of intertwined changes to the windows build.Danilo Almeida1999-05-193-22/+46
| | | | | | | | | | | | | | | | | | | | | | | | This log message includes all of the different changes across several Makefile.in files (and win-pre.in and win-post.in): - Remove "-" from recursive windows make invocations so that we can bail on a build error. New MIGNORE option restores the previous bailing behavior. - Update windows readme to reflect current practices. - Add NO_OUTDIR synonym for NO_OUTPRE in windows build. - Top-level windows Makefile now builds util which now builds util/windows, util/et, and util/profile (instead of building them directly). - Remove trailing backslash from rule that creates the windows output dir. This backslash would cause the rule to always be invoked. - Move WCONFIG and WCONFIG_EXE definitions into win-pre.in. - Remove rules in include directory that blindly copy include header files from gssapi, et, and profile. Instead, use/add build rules to the components that generate them that copy only when the file changes. - Use dependencies in include/krb5 to copy header files instead of blindly copying them. Add !if 0/!endif wrapper to Unix version of the rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11464 dc483132-0cff-0310-8789-dd5450dbe970
* Add included version resouce script to resource file dependencyDanilo Almeida1999-05-186-1/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11461 dc483132-0cff-0310-8789-dd5450dbe970
* Boost version to 1.0.6Danilo Almeida1999-05-182-5/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11460 dc483132-0cff-0310-8789-dd5450dbe970
* Remove win16 stuff. Fix resource dependencies. Link resource fileDanilo Almeida1999-05-176-101/+70
| | | | | | directly instead of explicitly converting it to an object file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11455 dc483132-0cff-0310-8789-dd5450dbe970
* Uncomment BUILDTOP since we always want itDanilo Almeida1999-05-172-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11454 dc483132-0cff-0310-8789-dd5450dbe970
* Reflect that we only build this under win32Danilo Almeida1999-05-172-9/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11453 dc483132-0cff-0310-8789-dd5450dbe970
* Add NO_OUTPRE flag to prevent creation of output directory under win32.Danilo Almeida1999-05-172-7/+15
| | | | | | | Add clean-windows target. Reflect that we only build this under win32 by removing wconfig tags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11452 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KrbCC32.lib since we dynamically load the DLLDanilo Almeida1999-05-172-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11445 dc483132-0cff-0310-8789-dd5450dbe970
* screen.c (DeleteTopLine): Free the top line before when we allow it toTheodore Tso1999-05-142-0/+7
| | | | | | | scroll out of the Scrollback buffer. Bugfix suggested by Craig Huckabee <huck@cs.wisc.edu>. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11442 dc483132-0cff-0310-8789-dd5450dbe970
* Do win32 build in subdirDanilo Almeida1999-05-1010-86/+98
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
* gic.c (gic_prompter), vardlg.c (vardlg_build), gic.h, vardlg.h: UpdateTheodore Tso1999-04-105-8/+19
| | | | | | | to use new prompter prototype which takes an extra argument for the window titlebar name. (From Frank Cusack) [krb5-kdc/662] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11350 dc483132-0cff-0310-8789-dd5450dbe970
* Add information for the profile library (which is now a separate library)Theodore Tso1999-03-231-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11303 dc483132-0cff-0310-8789-dd5450dbe970
* Don't blow away Krbcc32.lib by accidentTheodore Tso1999-03-122-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11274 dc483132-0cff-0310-8789-dd5450dbe970
* Commit the Windows version of the ccache dll and its interface headerTheodore Tso1999-02-182-0/+437
| | | | | | file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11180 dc483132-0cff-0310-8789-dd5450dbe970
* enc_des.c (fb64_session): Call des_init_random_number_generatorTheodore Tso1999-02-092-1/+7
| | | | | | | instead of des_set_random_generator_seed, since the compatibility library no longer supports the latter call. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11163 dc483132-0cff-0310-8789-dd5450dbe970
* information in it. (It's still not perfect!)Theodore Tso1999-02-092-10/+14
| | | | | | readme: Update readme file so that it doesn't have obviously incorrect git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11152 dc483132-0cff-0310-8789-dd5450dbe970
* auth.c (auth_send): Increase size of buf so we can handle mongo-gramTheodore Tso1999-02-042-1/+6
| | | | | | sized tickets from Microsoft. [telnet/686] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11144 dc483132-0cff-0310-8789-dd5450dbe970
* cns.c (position_dialog): If the registry position for the window isTheodore Tso1999-01-052-2/+8
| | | | | | all zeros, then default to centering the window in the correct place. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11103 dc483132-0cff-0310-8789-dd5450dbe970
* add back mistakenly deleted filesMarc Horowitz1998-10-308-0/+972
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11002 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-308-972/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Folded in enhancements from Cygnus's Kerbnet-1.2 (plus our changesTheodore Tso1998-05-2713-607/+678
| | | | | | | made since Cygnus's last snapshot). See ChangeLog from Cygnus (included in the ChangeLog file) for more details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10598 dc483132-0cff-0310-8789-dd5450dbe970