summaryrefslogtreecommitdiffstats
path: root/src/lib/krb4
Commit message (Collapse)AuthorAgeFilesLines
...
* * tf_util.c (tf_get_cred): Issue date is written out as a long,Ezra Peisach1996-03-192-1/+8
| | | | | | | | | | | | read back in as same. I have kept the size as a long to be compatible with the Cygnus V4 distribution. The problem was introduced when we changed the include/kerberosIV structures to use 32 bit ints for timestamps. So, under OSF/1, tf_util would write out a 64 bit issue date, and then try reading back in a 32 bit one. Since Cygnus uses sizeof(long) we will too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7667 dc483132-0cff-0310-8789-dd5450dbe970
* Declare krb__get_srvtabname()Ezra Peisach1996-02-245-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7518 dc483132-0cff-0310-8789-dd5450dbe970
* * kuserok.c: use HAVE_SETEUID and HAVE_SETRESUID to figure out howMark Eichin1996-01-273-4/+11
| | | | | | | | to emulate seteuid instead of assuming hpux. * configure.in: test for seteuid as well; fold some tests into a single AC_HAVE_FUNCS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7401 dc483132-0cff-0310-8789-dd5450dbe970
* Always include <fcntl.h> instead of checking for <sys/fcntl.h>Richard Basch1996-01-044-12/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7269 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Shared library depends on krb5 library nowEzra Peisach1995-12-063-3/+15
| | | | | | * configure.in: Pass krb5 library version number to Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7173 dc483132-0cff-0310-8789-dd5450dbe970
* * *.c (*): initialize lock_arg to a copy of a staticMark Eichin1995-11-162-0/+8
| | | | | | | | | | | | | | (thus zero) struct flock, to avoid panic'ing sunos 4.1.4. If you call fcntl F_SETLKW with l_type == F_UNLCK and l_xxx == 15 (GRANT_LOCK_FLAG) you'll panic sunos 4.1.4 with assertion failed: ld->l_xxx != GRANT_LOCK_FLAG, file: ../../ufs/ufs_lockf.c, line: 995 Since automatic structs like these have random values in uninitialized fields, we initialize from a static struct (since using memset in this case is abhorrent, and naming l_xxx is non POSIX.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7109 dc483132-0cff-0310-8789-dd5450dbe970
* * g_cnffile.c (krb__get_srvtabname): new function, looks upMark Eichin1995-11-132-4/+76
| | | | | | | | | | | | [libdefaults]krb4_srvtab for use where KEYFILE used to be. * g_cnffile.c (krb__v5_get_file): new function, looks up argument in [libdefaults] and tries to open it as a filename. Returns filehandle (or NULL, if fopen failed.) (krb__get_cnffile, krb__get_realmsfile): use krb__v5_get_file to look up "krb4_config" or "krb4_realms" respectively. Also add $KRB_REALMS override for realms file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7096 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (V5_MAKE_SHARED_LIB): Change rule to installEzra Peisach1995-10-023-17/+13
| | | | | | | | | version 0.1 of the library. Pass the libcrypto version number to Makefile * Makefile.in (CRYPTO_VER): Get the proper libcrypto version number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6910 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-252-5/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6859 dc483132-0cff-0310-8789-dd5450dbe970
* * DNR.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-062-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6719 dc483132-0cff-0310-8789-dd5450dbe970
* Include $(NETIO_SRCS) in the list of source files, instead ofTheodore Tso1995-08-072-1/+4
| | | | | | $(NETIO_OBJS) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6450 dc483132-0cff-0310-8789-dd5450dbe970
* tf_util.c (utimes): If __SVR4 is defined, #include <utime.h>, just asTheodore Tso1995-08-073-2/+13
| | | | | | | | | | | | we do if __svr4__ is defined. g_pw_in_tkt.c: If __SVR4 is defined, #include <sgtty.h>, just as we do if __svr4__ is defined. (WARNING: This code still assumes that the BSD ioctl's are being supported, at least in compatibility mode. We should really upgrade this code to use POSIX termios calls.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6444 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Macintosh implementationKeith Vetter1995-07-061-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_req.c (krb_rd_req): from_addr is an address, so use unsignedMark Eichin1995-06-282-1/+6
| | | | | | KRB4_32 instead of long. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6177 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_safe.c (krb_rd_safe): use KRB4_32 for address comparisonMark Eichin1995-06-282-3/+8
| | | | | | and checksum swapping. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6176 dc483132-0cff-0310-8789-dd5450dbe970
* Compiler warning cleanupPaul Park1995-06-272-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6171 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to make sure all the right include files are includedSam Hartman1995-06-265-2/+16
| | | | | | under AIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6160 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: fix Sam's typo so libkrb4.a gets symlinkedTom Yu1995-06-232-1/+6
| | | | | | properly git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6157 dc483132-0cff-0310-8789-dd5450dbe970
* Convert to new handling of static librariesSam Hartman1995-06-233-6/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6146 dc483132-0cff-0310-8789-dd5450dbe970
* Add install target for shared librariesPaul Park1995-06-162-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6076 dc483132-0cff-0310-8789-dd5450dbe970
* Change ./DONE to DONEPaul Park1995-06-161-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6075 dc483132-0cff-0310-8789-dd5450dbe970
* Shared library Makefile/configure changes and cleanupPaul Park1995-06-153-0/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-092-5/+5
| | | | | | now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6021 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: use CopyHeader rather than hand-codedTom Yu1995-06-093-7/+6
| | | | | | header install rule. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5995 dc483132-0cff-0310-8789-dd5450dbe970
* Remove backward compatibility code for Kerberos V3 (!) which wasTheodore Tso1995-05-274-1/+35
| | | | | | | causing problems for shared libraries. Library code shouldn't try to reference global variables defined by the calling application! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5905 dc483132-0cff-0310-8789-dd5450dbe970
* Handle problem of O_SYNC not existing on a platform. (for netbsd)Ezra Peisach1995-05-213-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5834 dc483132-0cff-0310-8789-dd5450dbe970
* in_tkt.c: Use HAVE_SETREUID and HAVE_SETRESUID to define setreuid properlyEzra Peisach1995-05-183-3/+13
| | | | | | configure.in: Check for setreuid and setresuid git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5824 dc483132-0cff-0310-8789-dd5450dbe970
* Add string.h if necessary to define strlen, etc.Ezra Peisach1995-05-0910-4/+42
| | | | | | | | | Add stdlib.h if present & necessary for malloc definition. (otherwise define ourselves) - based on other code present. Change ifdef POSIX to ifdef HAS_STDLIB_H Check for stdlib.h in configure.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5757 dc483132-0cff-0310-8789-dd5450dbe970
* Fix .Sanitize files to reflect new added filesTheodore Tso1995-05-051-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5736 dc483132-0cff-0310-8789-dd5450dbe970
* * put_svc_key.c (put_svc_key): remove spurious & in front of fkeyTom Yu1995-05-045-4/+17
| | | | | | | | | | | | | | | | (it's a char[] and takint address of it is redundant) * recvauth.c (krb_recvauth): remove spurious & in front of reference to kdata->session * rd_req.c (krb_rd_req): remove spurious & in front of reference to ad->session * g_in_tkt.c(decrypt_tkt): remove spurious & in front of reference to key (it is a C_Block and taking address of it is redundant) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5719 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: new includes target to install krb_err.h inTom Yu1995-05-042-8/+14
| | | | | | | | $(BUILDTOP)/include; includes depends on krb_err.h. Previously, it was attempting to install a header that had not yet been generated! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5718 dc483132-0cff-0310-8789-dd5450dbe970
* clean-unix: Remove the installed krb_err.h in the include directoryEzra Peisach1995-05-022-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5683 dc483132-0cff-0310-8789-dd5450dbe970
* * g_phost.c: removed references to sys/param.h and netdb.hTom Yu1995-04-293-4/+5
| | | | | | * realmofhost.c: ditt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5656 dc483132-0cff-0310-8789-dd5450dbe970
* Added check for POSIX_FILE_LOCK to enable POSIX file lockingTheodore Tso1995-04-283-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5640 dc483132-0cff-0310-8789-dd5450dbe970
* Add #include of fcntl.hTheodore Tso1995-04-282-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5633 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unnecessary include of conf.hTheodore Tso1995-04-283-8/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5607 dc483132-0cff-0310-8789-dd5450dbe970
* * kuserok.c: HAS_UNISTD_H instead of USE_.Mark Eichin1995-04-283-1/+7
| | | | | | * configure.in: test for HAVE_STRSAVE (for kparse.c). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5597 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use AC_CHECK_SIZEOF(int) to set BITS16/BITS32.Mark Eichin1995-04-282-0/+31
| | | | | | Use AC_TRY_RUN test to set MSBFIRST or LSBFIRST. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5596 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: make links for libkrb4 and libkdb4Mark Eichin1995-04-271-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5565 dc483132-0cff-0310-8789-dd5450dbe970
* normal .Sanitize and .cvsignoreMark Eichin1995-04-273-546/+132
| | | | | | fix accidental inclusion of TAGS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5538 dc483132-0cff-0310-8789-dd5450dbe970
* add CNS V4 library to tree for compatibility use. Installs as libkrb4.aMark Eichin1995-04-27100-0/+16292
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5537 dc483132-0cff-0310-8789-dd5450dbe970