summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the profile relation, since it's really a bad idea. RemovedTheodore Tso1995-10-062-33/+13
| | | | | | | the "port" and "secondary_port" relations, and replaced them with the "kdc_port" relation, which takes a list of ports. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6936 dc483132-0cff-0310-8789-dd5450dbe970
* If the log file can't be opened, print an intelligent error messageTheodore Tso1995-10-052-10/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6930 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (krb5_read_realm_params): If secure flag is set inEzra Peisach1995-10-052-0/+9
| | | | | | | | | | | | context, do not allow for environment variables to specify configuration files. Note: It is still possible to bypass the secure flag by directly calling krb5_aprof_init which only krb5kdc does. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6929 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c (krb5_secure_config_files): New function thatEzra Peisach1995-10-052-19/+60
| | | | | | | | | | | will set flag and path to prevent user from overriding configuration files with environment variables. This is intended for those pesky suid root programs so that they cannot break security as easily... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6928 dc483132-0cff-0310-8789-dd5450dbe970
* Put back in the KRB5_CONFIG getenv that was accidentally removedEzra Peisach1995-10-022-0/+6
| | | | | | in the DEFAULT_PROFILE_PATH change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6924 dc483132-0cff-0310-8789-dd5450dbe970
* * adm_conn.c (kadm_get_creds): zero out creds->server afterMark Eichin1995-10-022-1/+8
| | | | | | freeing it to protect later attempts. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6920 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_encode.c (krb5_cleanup): If asn1buf_destroy fails, don'tMark Eichin1995-10-022-1/+5
| | | | | | call it again. (Not that it can ever fail anyhow.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6917 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c (krb5_os_init_context): use profile_init_path forMark Eichin1995-10-022-4/+11
| | | | | | unix, and DEFAULT_PROFILE_PATH. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6915 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (V5_MAKE_SHARED_LIB): Change rule to installEzra Peisach1995-10-023-19/+17
| | | | | | | | | version 0.1 of the library. Pass the libcrypto and libcom_err version number to Makefile * Makefile.in (CRYPTO_VER): Get the proper libcrypto version number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6911 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
* 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@6909 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (V5_MAKE_SHARED_LIB): Change for version 0.1 ofEzra Peisach1995-10-022-17/+6
| | | | | | shared library. Remove install lines which are in aclocal.m4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6908 dc483132-0cff-0310-8789-dd5450dbe970
* #ifdef the entire file so it's not built under WindowsTheodore Tso1995-09-292-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6903 dc483132-0cff-0310-8789-dd5450dbe970
* Remove krb5_lname_file; it's not used any moreTheodore Tso1995-09-292-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6900 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up make clean procedures. The files to be removed are definedTheodore Tso1995-09-292-9/+12
| | | | | | in CLEANLIBS, for both the Unix and Mac platforms. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6895 dc483132-0cff-0310-8789-dd5450dbe970
* For MS-DOS, use the brute force method of defining the size ofTheodore Tso1995-09-292-9/+17
| | | | | | variables; we should really get an autoconf file for MS-DOS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6893 dc483132-0cff-0310-8789-dd5450dbe970
* #include autoconf.h instead of osconf.h, because that's the file weTheodore Tso1995-09-292-1/+6
| | | | | | really care about. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6888 dc483132-0cff-0310-8789-dd5450dbe970
* Only check the returned starttime to make sure it matches theTheodore Tso1995-09-292-1/+8
| | | | | | requested starttime if we requested a postdated ticket. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6885 dc483132-0cff-0310-8789-dd5450dbe970
* Rename verify.c to t_verify.c to remove conflict withKeith Vetter1995-09-293-3/+8
| | | | | | gssapi/krb5/verify.c on the Mac. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6884 dc483132-0cff-0310-8789-dd5450dbe970
* Only convert instances which don't have a '.' in them. If they have aTheodore Tso1995-09-292-1/+7
| | | | | | '.', assume that they are fully qualified already. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6883 dc483132-0cff-0310-8789-dd5450dbe970
* Misc Mac cleanupsKeith Vetter1995-09-294-24/+53
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6881 dc483132-0cff-0310-8789-dd5450dbe970
* Working telnet authentication module and project consolidationsKeith Vetter1995-09-284-1/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6878 dc483132-0cff-0310-8789-dd5450dbe970
* alt_prof.c (krb5_read_realm_params): On an error, initialize theTheodore Tso1995-09-272-2/+8
| | | | | | returned rparams pointer to NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6867 dc483132-0cff-0310-8789-dd5450dbe970
* Systematic rework of all the cleanup code to make the generated objectTheodore Tso1995-09-272-143/+155
| | | | | | | | | file subtatially (40% on the i386 platform) smaller. The cleanup is now handled with a "goto error_out" statement, which prevents the cleanup statements from being replicated many, many, many times throughout the entire file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6863 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-252-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6862 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-2526-57/+69
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6860 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-2512-28/+39
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6859 dc483132-0cff-0310-8789-dd5450dbe970
* Fix tabbing in prototypes. (Just to clear up a conflict)Theodore Tso1995-09-251-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6858 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-2510-29/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6857 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-253-9/+9
| | | | | | | | configure.in: Remove custom MAKE_SUBDIRS line with the standard DO_SUBDIRS rule, which works now that we're revamping how the foo-$(WHAT) system works. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6853 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-253-7/+9
| | | | | | | configure.in: Don't include "all:: all-$(WHAT)" at the end of the Makefile. That's now included at the very beginning by pre.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6852 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed kb_seal_size prototypeKeith Vetter1995-09-252-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6847 dc483132-0cff-0310-8789-dd5450dbe970
* Change password for the MacKeith Vetter1995-09-246-13/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6845 dc483132-0cff-0310-8789-dd5450dbe970
* (change has no real effect, but I found the inconsistency when looking forMark Eichin1995-09-242-2/+6
| | | | | | | | a real problem which wasn't here...) * write_msg.c (krb5_write_message): check the real length variable, not the net version. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6842 dc483132-0cff-0310-8789-dd5450dbe970
* * logger.c (klog_com_err_proc): pass whoami in failure messagesMark Eichin1995-09-242-2/+7
| | | | | | for error log failures to match format string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6841 dc483132-0cff-0310-8789-dd5450dbe970
* Define PROTOTYPE if it is not defined elsewhereTheodore Tso1995-09-232-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6838 dc483132-0cff-0310-8789-dd5450dbe970
* keysalt.c: 16/32 bit integer mismatch.Theodore Tso1995-09-233-10/+22
| | | | | | | | str_conv.c: sftime_format_table is conditional upon HAVE_STRFTIME, cast some constants to long so that math wouldn't overflow, 16/32 bit integer size mismatch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6836 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the (int) cast, since you can't take address of a value whichTheodore Tso1995-09-233-3/+11
| | | | | | | has been casted. Instead we change the underlying type in the structure to be an int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6834 dc483132-0cff-0310-8789-dd5450dbe970
* acquire_.c: changed int to size_t.Theodore Tso1995-09-237-5/+76
| | | | | | | | | | | gssapip_.h: added prototype for kg_seal_size. k5seal.c: 16/32 bit mismatch and removed unused variables. seal.c: 16/32 bit mismatch. sign.c: 16/32 bit mismatch. ser_sctx.c: added prototypes for all functions since they get assigned into a structure that has been prototyped. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6833 dc483132-0cff-0310-8789-dd5450dbe970
* oid_ops.c: signed/unsigned mismatch, removed unused variablesTheodore Tso1995-09-233-5/+10
| | | | | | util_oid.c: changed int to a size_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6832 dc483132-0cff-0310-8789-dd5450dbe970
* Put back in all:: all-$(WHAT) rule--PC needs itTheodore Tso1995-09-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6831 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ^M's from DOS integration. (Oops!)Theodore Tso1995-09-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6830 dc483132-0cff-0310-8789-dd5450dbe970
* Put back in all:: all-$(WHAT) rule--PC needs itTheodore Tso1995-09-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6829 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: PC needs sscanf.cTheodore Tso1995-09-233-8/+16
| | | | | | | sscanf.c: cleanup to compile cleanly on the PC, mostly fixing signed/unsigned mismatches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6828 dc483132-0cff-0310-8789-dd5450dbe970
* had to define away DBFLAGS for the PCTheodore Tso1995-09-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6827 dc483132-0cff-0310-8789-dd5450dbe970
* get_in_t.c: removed unused variable.Theodore Tso1995-09-235-5/+14
| | | | | | | | rd_cred.c: removed INTERFACE keyword. ser_auth.c: passing int32 where a size_t is wanted. ser_ctx.c: 16/32 bit int size mismatch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6826 dc483132-0cff-0310-8789-dd5450dbe970
* Added MSDOS to wherever MACINTOSH was usedTheodore Tso1995-09-232-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6825 dc483132-0cff-0310-8789-dd5450dbe970
* signed/unsigned mismatchTheodore Tso1995-09-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824 dc483132-0cff-0310-8789-dd5450dbe970
* 32 bit word being passed as an intTheodore Tso1995-09-235-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6823 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: moved shared rule to all-unix:: targetTheodore Tso1995-09-235-4/+12
| | | | | | | des_crc.c, des_md5.c, raw_des.c: had a volatile/const mismatch which needs a cast to resolve. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6822 dc483132-0cff-0310-8789-dd5450dbe970