summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Extensive reworking of the structure of this file to make it possibleTheodore Tso1995-10-282-203/+333
| | | | | | to support preauthentication. (interim checkin) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7002 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to properly malloc password buffer, instead of returning a pointerTheodore Tso1995-10-252-6/+18
| | | | | | to an automatic variable(!). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6999 dc483132-0cff-0310-8789-dd5450dbe970
* Change the input type of do_mutual to be OM_int32 instead of an int,Theodore Tso1995-10-252-1/+8
| | | | | | | to prevent lossage under windows, since the passed in type size is a OM_int32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6998 dc483132-0cff-0310-8789-dd5450dbe970
* For the windows, add the oldnames library to the link lines forTheodore Tso1995-10-252-2/+7
| | | | | | gssapi.dll and libkrb5.dll. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6997 dc483132-0cff-0310-8789-dd5450dbe970
* For compatibility with older .conf files, keep the domain name checkRichard Basch1995-10-241-4/+6
| | | | | | | | | being done in lower case, and if necessary, convert it to upper case if the domain is being used as the default realm. In addition, there was an extra free without an associated *alloc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6994 dc483132-0cff-0310-8789-dd5450dbe970
* Added new error code KRB5_GET_IN_TKT_LOOPTheodore Tso1995-10-242-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6991 dc483132-0cff-0310-8789-dd5450dbe970
* Try to do a best realm match for a hostname, trying all the domain components.Richard Basch1995-10-241-30/+60
| | | | | | | | For example, the realm search for a host A.B.C.D will include A.B.C.D .B.C.D B.C.D .C.D C.D .D D If all of them fail, assume the realm is B.C.D (as was previously the case). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6988 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req_dec.c (krb5_rd_req_decoded): For heirarchal cross-realm,Ezra Peisach1995-10-233-2/+14
| | | | | | | | | | set the length after initializing string. rd_req.c (krb5_rd_req): If a new auth_context is created and then there is an error, make sure return pointer is not looking at freed memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6981 dc483132-0cff-0310-8789-dd5450dbe970
* Added the "/nod" option to the gssapi.dll and libkrb5.dll linkerTheodore Tso1995-10-112-2/+11
| | | | | | | | | commands. This prevents the linker from searching the llibcew.lib library for some externals which are already in ldllcew.lib. This is what we want since we are building a DLL. Without the "/nod" option we get a bunch of duplicate definitions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6959 dc483132-0cff-0310-8789-dd5450dbe970
* If secure_profile is set in the context, do not allow the defaultEzra Peisach1995-10-102-2/+8
| | | | | | keytab file to be overridden by an environment variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6953 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ##DOS!include of config/windows.in. config/windows.in is nowTheodore Tso1995-10-0746-25/+113
| | | | | | included by wconfig. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6944 dc483132-0cff-0310-8789-dd5450dbe970
* Change types of krb5_max_enctype and krb5_max_cksumtype to beTheodore Tso1995-10-062-2/+8
| | | | | | krb5_enctype and krb5_cksumtype, to fix some gcc -Wall flames. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6940 dc483132-0cff-0310-8789-dd5450dbe970
* Make the logs less verbose, by omitting the hostname, pid, etc.Theodore Tso1995-10-062-1/+14
| | | | | | information. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6938 dc483132-0cff-0310-8789-dd5450dbe970
* 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