summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* make lndir work with relative path invocationMark Eichin1995-02-272-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5001 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: add struct timeb and sys/timeb includes fromMark Eichin1995-02-242-0/+37
| | | | | | | | | | getdate.y. (ftime): new function, in case we don't HAVE_FTIME. Ezra's changes, since solaris needs them. kadmin.new/client may need these too; accordging to glimpse, that's the only other use of ftime... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4997 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_cmds.sh: use ${SED} not sed in backtick expressions.Mark Eichin1995-02-232-1/+7
| | | | | | | Explicitly check for ${FILE} since sed doesn't give an error if it is absent. Also set -e to catch other conditions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4996 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_cmds.sh: use ${SED} not sed in backtick expressions.Mark Eichin1995-02-232-2/+8
| | | | | | Use set -e so that if ${FILE} isn't found we actually fail. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4995 dc483132-0cff-0310-8789-dd5450dbe970
* * kprop.c Call krb5_sendauth() with new calling conventionChris Provenzano1995-02-232-25/+38
| | | | | | | * kprop.c (kerberos_authenticate()), (xmit_database()), cleaned up to not use globals. Instead use krb5_creds * args. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4994 dc483132-0cff-0310-8789-dd5450dbe970
* All to change krb5_get_credentials() ..Chris Provenzano1995-02-2311-332/+359
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * send_tgs.c (krb5_send_tgs()) Added check for a valid krb5_creds * arg. * mk_req_ext.c (krb5_mk_req_extended()) Require caller to pass in a valid krb5_creds * arg, and removed kdc_options krb5_flags and krb5_ccache from arg list. * send_tgs.c (krb5_send_tgs()) * sendauth.c (krb5_sendauth()) Fix calls to krb5_mk_req_extended() * gc_frm_kdc.c (krb5_get_cred_from_kdc()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * gc_via_tgt.c (krb5_get_cred_via_tgt()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * gc_2tgt.c (krb5_get_cred_via_2tgt()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * int-proto.h Updated prototypes for krb5_get_cred_via_tgt() and krb5_get_cred_via_2tgt(). * get_creds.c (krb5_get_credentials()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * sendauth.c (krb5_sendauth()) Routines that also require krb5_creds * in/out arg to be appropriately changed because krb5_get_credentials() changed. * gc_frm_kdc.c (krb5_get_cred_from_kdc()) * get_fcreds.c (krb5_get_for_creds()) * mk_req.c (krb5_mk_req()) Other routines that needed adjusting because krb5_get_credentials() changed but didn't need an API change. * int-proto.h Don't prototype krb5_get_cred_via_tgt() twice. Use the second to prototype krb5_get_cred_via_2tgt(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4993 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c (make_ap_req()) Use new API forChris Provenzano1995-02-232-49/+64
| | | | | | krb5_mk_req_extended() and cleanup internal processing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4992 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.c Call krb5_sendauth(), krb5_get_credentials()Chris Provenzano1995-02-232-14/+22
| | | | | | with new calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4991 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c Call krb5_sendauth() with new calling conventionChris Provenzano1995-02-232-9/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4990 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_get_credentials(), krb5_get_cred_from_kdc(),Chris Provenzano1995-02-232-4/+13
| | | | | | | | | and krb5_sendauth()) replaced krb5_cred * IN/OUT arg with a krb5_cred * IN and a krb5_cred ** OUT arg. * func-proto.h (krb5_mk_req_extended()) Remove kdc_options flag arg and krb5_ccache arg. They are no longer necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4989 dc483132-0cff-0310-8789-dd5450dbe970
* * krb_auth_su.c krb5_auth_check()) Call krb5_get_cred_from_kdc()Chris Provenzano1995-02-232-9/+16
| | | | | | with new calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4988 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c Call krb5_get_credentials() with new calling conventionChris Provenzano1995-02-233-12/+18
| | | | | | * server.c Call krb5_mk_req_extended() with new calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4987 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos5.c (kerberos5_send(), kerberos5_forward())Chris Provenzano1995-02-232-10/+20
| | | | | | | Call krb5_get_credentials() and krb5_mk_req_extended() with new calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4986 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_client.c Call krb5_sendauth() with new calling conventionChris Provenzano1995-02-232-5/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4985 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c Call krb5_sendauth() with new calling conventionChris Provenzano1995-02-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4984 dc483132-0cff-0310-8789-dd5450dbe970
* * movemail.c Call krb5_sendauth() with new calling conventionChris Provenzano1995-02-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4983 dc483132-0cff-0310-8789-dd5450dbe970
* * poplib.c (pop_init): Call krb5_sendauth() with new calling conventionChris Provenzano1995-02-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4982 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c Call krb5_sendauth() and krb5_get_credentials() withChris Provenzano1995-02-233-33/+43
| | | | | | | | | new calling convention. * krcp.c (answer_auth()) Call krb5_mk_req_extended90 with new calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4981 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb/keytab to work on the PC. Mostly just adding the windowsKeith Vetter1995-02-2224-83/+125
| | | | | | INTERFACE keyword to all functions and prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4973 dc483132-0cff-0310-8789-dd5450dbe970
* Remove call to xfree at the end. This routine now only frees theTheodore Tso1995-02-222-1/+6
| | | | | | contents of the cred_enc_part structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4972 dc483132-0cff-0310-8789-dd5450dbe970
* Fix argument type to krb5_free_cred_enc_part()Theodore Tso1995-02-222-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4971 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/des425 and krb5/asn.1 to the PCKeith Vetter1995-02-2238-407/+466
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4970 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing declarations, removed duplicate onesTheodore Tso1995-02-223-9/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4969 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) when linkingTheodore Tso1995-02-222-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4968 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) when linking. (For allowing use of Pure SoftwareTheodore Tso1995-02-222-1/+5
| | | | | | tools). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4967 dc483132-0cff-0310-8789-dd5450dbe970
* Add a new configure production which allows a special linker to beTheodore Tso1995-02-222-0/+18
| | | | | | specified. Useful for running programs like Purify, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4966 dc483132-0cff-0310-8789-dd5450dbe970
* Add line for $(LD)Theodore Tso1995-02-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4965 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: check for HAVE_FLOCK, since we may need to useMark Eichin1995-02-213-22/+95
| | | | | | | | | | | both flock and fcntl. * fcc_maybe.c: try fcntl lock, if we get EINVAL specifically, fall back to flock (if we have it.) Now kinit et. al. "just work" on sunos and solaris, even if you use tmpfs. (tested on sunos, the solaris build has recently broken elsewhere...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4964 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ets.c (krb5_init_ets): use old-style definitionMark Eichin1995-02-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4963 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h: get krb5/autoconf.h.Mark Eichin1995-02-213-3/+10
| | | | | | | | | * Makefile.in (KRB5_HEADERS): add config.h, remove rsa-md4.h and crc-32.h which aren't here anymore. (changes suggested by ezra peisach) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4962 dc483132-0cff-0310-8789-dd5450dbe970
* Updated krb5/error_tables for the PC. Makefile.in set up to run awk if oneKeith Vetter1995-02-213-13/+49
| | | | | | is available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4961 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/free to the PC. Added windows INTERFACE keyword to theKeith Vetter1995-02-2136-177/+204
| | | | | | functions and their prototypes and fixed upt the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4960 dc483132-0cff-0310-8789-dd5450dbe970
* PC'fied gssapi directories. Mostly changing Makefile.in and adding theKeith Vetter1995-02-2149-226/+317
| | | | | | windows INTERFACE keyword to functions. A few int/long fixes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4959 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Flip again. Use AC_CHECK_HEADERS, but default theJohn Gilmore1995-02-214-15/+139
| | | | | | | | | | | | symbol-setting. This is Modern Autoconf Style. * config.h: Create from stock/config.h and stock/config.win. * Makefile.in (BUILT_HEADERS): Remove config.h. (CONF_REPLACE, CONFSRC, config.h rule): Remove. Config.h is a static header file, ever since imake died. Now it really is. (clean): Don't remove config.new any more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4958 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h, config.win: Remove; merge them both into ../config.h.John Gilmore1995-02-213-144/+5
| | | | | | Now that we aren't using imake, this isn't a generated header file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4957 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-2150-184/+376
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* Renames for 8.3 uniqueness for files created by the Make processKeith Vetter1995-02-204-7/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4955 dc483132-0cff-0310-8789-dd5450dbe970
* DOS 8.3 filename changes. The make process created some files withKeith Vetter1995-02-204-7/+16
| | | | | | bad names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4954 dc483132-0cff-0310-8789-dd5450dbe970
* Experimental checkinKeith Vetter1995-02-202-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4953 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_HAVE_HEADER rather than AC_HEADER_CHECK.John Gilmore1995-02-172-2/+8
| | | | | | | (Fixes resulting #define names to HAVE_XXX rather than HAS_XXX, which is not only consistent but also matches what's in sysincl.h.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4952 dc483132-0cff-0310-8789-dd5450dbe970
* * acconfig.h: added HAS_SYS_FILE_H & HAS_SYS_PARAM_H for WindowsJohn Gilmore1995-02-152-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4950 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: made to work under WindowsJohn Gilmore1995-02-154-14/+32
| | | | | | | | | | | | | | | - added windows only make preamble - moved the all target after the objects it depends on - used $(OBJEXT) and $(EXEEXT) where needed - split crctest into unix rules and windows rules - changed file separatars into macros where needed * crctest.c: changed int to long to work on 16 bit machines * crc.c: added Windows calling convention to the function and casted the assignment of the function. [There's a minor problem -- the cast should be fixed another way -- but I'll check it in this way and then Keith will fix it.] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4949 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: added header checks for sys/param.h and sys/file.h.John Gilmore1995-02-155-9/+47
| | | | | | | | | | | | | * encryption.h: added typedef prototype for sum_func function with the windows api to make microsoft compiler happy. * sysincl.h: conditionally include sys/file.h and sys/param.h since windows doesn't have them. * Makefile.in: - changed macros with ${...} to $(...) since nmake barfs on {}. - added windows only make preamble - split the all target into unix and windows branches git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4948 dc483132-0cff-0310-8789-dd5450dbe970
* * config.win: new file--windows base template for config.hJohn Gilmore1995-02-153-0/+65
| | | | | | * config.h: added API definition default of NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4947 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Added macros for directory syntax, filename extensionsJohn Gilmore1995-02-155-2/+122
| | | | | | | | | and what system we're building on (defaults to Unix). * post.in: split clean into unix and windows branches * windows.in: new file--makefile macros and rules for windows * rm.bat: new file--DOS batch file to mimic Unix's rm command git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4946 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: add modentTom Yu1995-02-146-9/+1260
| | | | | | | | | * getdate.y: import get_date * kdbt_ed_ct.ct: add modent * configure.in: * Makefile.in: support for getdate.y git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4945 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak --- the default encryption types was not being freedTheodore Tso1995-02-142-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4944 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for libsocket and libnsl (sigh). krb5_init_ctx drags inTheodore Tso1995-02-114-4/+19
| | | | | | | | cryptoconf.c, which drags in enough of the crypto library that socket() gets called. We should to fix this eventually to make klist smaller, but the fix will be subtle. Sigh.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4943 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for libsocket and libnsl (sigh). krb5_init_ctx drags inTheodore Tso1995-02-113-3/+14
| | | | | | | | cryptoconf.c, which drags in enough of the crypto library that socket() gets called. We should to fix this eventually to make klist smaller, but the fix will be subtle. Sigh.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4942 dc483132-0cff-0310-8789-dd5450dbe970
* Remove needless #include of <krb5/asn.1/encode.h>Theodore Tso1995-02-102-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4941 dc483132-0cff-0310-8789-dd5450dbe970