summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Manually defined PROVIDE_* for Macintosh and MS-DOS so that libcryptoTheodore Tso1995-10-242-0/+25
| | | | | | | knows which encryption systems to include. Otherwise, we would be building an exportable (and useless) krb5 library for the Mac and PC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6992 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
* Rather than displaying the master key version twice, display the actualRichard Basch1995-10-241-1/+1
| | | | | | | key version for the "Key version" field. (It only displays the version for the first key in the database.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6990 dc483132-0cff-0310-8789-dd5450dbe970
* Read the V4 Kerberos master key from /.k. Only prompt the user for theRichard Basch1995-10-241-2/+17
| | | | | | | V4 master key if the command-line option so indicates, or the key cannot be read from /.k. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6989 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
* 1. Do not end syslog messages with \n (it messes up the logs).Richard Basch1995-10-231-24/+21
| | | | | | | | 2. Prototyped envvarok() to ensure proper usage. 3. Prohibit the change of ELF_LD_* environment variables (Linux) 4. Syslog attempts to pass bad environment variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6987 dc483132-0cff-0310-8789-dd5450dbe970
* Print messages using \r\n so that the display in binary mode will be correct.Richard Basch1995-10-231-129/+129
| | | | | | Additionally, perror should not be using \n as it appends the error message. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6986 dc483132-0cff-0310-8789-dd5450dbe970
* Print all statements using \r\n so that they will be properly formattedRichard Basch1995-10-232-7/+7
| | | | | | when binary mode is being used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6985 dc483132-0cff-0310-8789-dd5450dbe970
* syslog statements should not be called with \nRichard Basch1995-10-232-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6984 dc483132-0cff-0310-8789-dd5450dbe970
* Add new option 's' which automatically stashes the master key in theTheodore Tso1995-10-232-1/+26
| | | | | | | key stash file. This eliminates the need for the admin to type kdb5_stash right after kdb5_create. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6983 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typoSam Hartman1995-10-232-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6982 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
* Minor fix to last commitSam Hartman1995-10-222-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6980 dc483132-0cff-0310-8789-dd5450dbe970
* Incorperate utmpx patch to take advantage of longer utmpx host namesSam Hartman1995-10-215-5/+59
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6979 dc483132-0cff-0310-8789-dd5450dbe970
* Integrate patch including functionality from David Borman's latestSam Hartman1995-10-212-0/+29
| | | | | | telnet, adapted for krb5. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6978 dc483132-0cff-0310-8789-dd5450dbe970
* Go into config-files subdir in order to install the manual pages sitting thereEzra Peisach1995-10-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6977 dc483132-0cff-0310-8789-dd5450dbe970
* Install the manual pages and fix typo in kdc.conf.MEzra Peisach1995-10-216-1/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6976 dc483132-0cff-0310-8789-dd5450dbe970
* Install in ADMIN_BINDIR/ADMIN_MANDIR for concistency with other v5 adminEzra Peisach1995-10-212-2/+6
| | | | | | client programs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6975 dc483132-0cff-0310-8789-dd5450dbe970
* ----------------------------------------------------------------------Sam Hartman1995-10-162-1/+6
| | | | | | | | | | | automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- login.krb5: Don't display warning about no tickets being obtained if -F, -f or -k specified. CVS: git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6971 dc483132-0cff-0310-8789-dd5450dbe970
* pre.in: KRB5_LIBDIR, ADMIN_BINDIR, KRB5_SHLIBDIR, KRB5_INCDIREzra Peisach1995-10-162-4/+9
| | | | | | are all based on exec_prefix (architecture dependent) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6970 dc483132-0cff-0310-8789-dd5450dbe970
* Add return statementSam Hartman1995-10-152-27/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6969 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed signed/unsigned -Wall flameTheodore Tso1995-10-152-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6968 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed location where usage() wasn't being called with an argumentTheodore Tso1995-10-152-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6967 dc483132-0cff-0310-8789-dd5450dbe970
* * gss-misc.c (recv_token): When continuing partial read, decreaseEzra Peisach1995-10-122-1/+7
| | | | | | number of bytes to read. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6966 dc483132-0cff-0310-8789-dd5450dbe970
* Remove spaces introduced into shell variable assignmentsSam Hartman1995-10-121-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6965 dc483132-0cff-0310-8789-dd5450dbe970
* Fix handling of index so db test compiles on AIXSam Hartman1995-10-122-3/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6964 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to do shared library versioning under AIXSam Hartman1995-10-118-22/+59
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6963 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_preauth.c (get_preauth_hint_list): Fix missing indirection inTheodore Tso1995-10-114-14/+11
| | | | | | | | | | | | | get_hint_list. kdc_util.c (validate_as_request): Remove preauthentication check; this is handled in do_as_req.c do_as_req.c (process_as_request): Pass e_data to prepare_as_error so that the proper preauthentication hint list can be passed back to the client. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6960 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
* Use win-post.in instead of post.inTheodore Tso1995-10-112-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6958 dc483132-0cff-0310-8789-dd5450dbe970
* Moved .c -> .obj rule to win-post.in, since we need it after theTheodore Tso1995-10-113-8/+53
| | | | | | LIBNAME makefile variable is defined in the main body of the Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6957 dc483132-0cff-0310-8789-dd5450dbe970
* Handle case when ticket cache name does not include a colonEzra Peisach1995-10-102-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6956 dc483132-0cff-0310-8789-dd5450dbe970
* Fix handling of session key for Kerberos5. I don't think this shouldSam Hartman1995-10-103-0/+10
| | | | | | | | | | | | | | fix the mutual authentication bug with beta 4, but this should help forwarding credentials and should also help if someone actually defines ENCRYPTION. If user defines ENCRYPTION, telnetd has the nasty behavior of encrypting one side of the conversation, without telling the user; in particular, only server output is encrypted. Fixed by sending a do encrypt if encryption defined; fix taken from Athena telnetd. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6955 dc483132-0cff-0310-8789-dd5450dbe970
* Fix handling of session key for Kerberos5. I don't think this shouldSam Hartman1995-10-102-30/+44
| | | | | | | | fix the mutual authentication bug with beta 4, but this should help forwarding credentials and should also help if someone actually defines ENCRYPTION. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6954 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
* For NetBSD convert flags designed for cc to those used by ldEzra Peisach1995-10-092-0/+8
| | | | | | | | (in particular those dealing with library paths) NetBSD requires that the path be stored in the library and the executables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6952 dc483132-0cff-0310-8789-dd5450dbe970
* For NetBSD shlibs turn back on shlibs_use_dirsEzra Peisach1995-10-092-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6951 dc483132-0cff-0310-8789-dd5450dbe970
* extract_v4_srvtab: Version number is only one byte long (warlord)Ezra Peisach1995-10-092-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6950 dc483132-0cff-0310-8789-dd5450dbe970
* Change test to krb524test - otherwise if built and "." is in the users path,Ezra Peisach1995-10-092-4/+9
| | | | | | reruns configure, then they will execute the wrong test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6949 dc483132-0cff-0310-8789-dd5450dbe970
* (recv_token): When continuning a partial read over the network, putEzra Peisach1995-10-082-1/+6
| | | | | | | | | | | the incomming data into the middle of the token - not back at the start. Now, can someone explain why under NetBSD, in one direction 400+ bytes could be sent at one time, but in the reverse, 102 had to be broken down into 100 + 2? Anyways, this fixes the NetBSD problem with the tests. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6948 dc483132-0cff-0310-8789-dd5450dbe970
* Work around bug in NetBSD expect. This is the same fix asEzra Peisach1995-10-072-1/+10
| | | | | | is found in gssapi.exp for dealing with AIX... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6947 dc483132-0cff-0310-8789-dd5450dbe970
* Change kdc port specifications in kdc.conf to match currentEzra Peisach1995-10-072-4/+7
| | | | | | implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6946 dc483132-0cff-0310-8789-dd5450dbe970
* Include the file windows.in instead of pre.inTheodore Tso1995-10-072-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6945 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ##DOS!include of config/windows.in. config/windows.in is nowTheodore Tso1995-10-0758-31/+143
| | | | | | included by wconfig. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6944 dc483132-0cff-0310-8789-dd5450dbe970
* * ksu.M: Document authorization changesEzra Peisach1995-10-067-646/+35
| | | | | | | | | | | | | | | | | * ksu.1: Remove as was out of date. * Makefile.in (DEFINES): Remove LOCAL_REALM definition. * ksu.h: Remove local_realm from krb5_authorization. * authorization.c (krb5_authorization): Remove old copied code that is in krb5 library and is out of date. Use the configurable aname to localname methods. * main.c (main): Add krb5_secure_config_files so that users cannot override system config files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6943 dc483132-0cff-0310-8789-dd5450dbe970
* Build the list of files *after* building files using awk-windows-macTheodore Tso1995-10-062-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6942 dc483132-0cff-0310-8789-dd5450dbe970
* Documented kdc_ports, and removed references to primary_port andTheodore Tso1995-10-063-44/+20
| | | | | | secondary_port, which are no longer used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6941 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
* do_tgs_req.c (process_tgs_req): Use a slightly more compressed loggingTheodore Tso1995-10-064-118/+116
| | | | | | | | | | format. do_as_req.c (process_as_req): Unify the logging and error packet production, to make sure that both logging and an error packet is returned for each error condition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6939 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