summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unneded Includes lineTheodore Tso1998-07-021-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10614 dc483132-0cff-0310-8789-dd5450dbe970
* Update Macintosh changes to ChangeLog which Marshall made on 1/13/98Theodore Tso1998-07-021-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10613 dc483132-0cff-0310-8789-dd5450dbe970
* Update Macintosh changes to ChangeLogTheodore Tso1998-07-021-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10612 dc483132-0cff-0310-8789-dd5450dbe970
* Add new GSSAPI functionsTheodore Tso1998-07-023-6/+80
| | | | | | Also comment out __terminate and __initialize functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10611 dc483132-0cff-0310-8789-dd5450dbe970
* Update Mac resource file to say 1.0.4b1Theodore Tso1998-07-022-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10610 dc483132-0cff-0310-8789-dd5450dbe970
* KerberosHeaders.h: Removed #endif with no matching initial #ifTheodore Tso1998-07-012-2/+5
| | | | | | statement. (How did this compile before?) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10609 dc483132-0cff-0310-8789-dd5450dbe970
* win-mac.h: Make size_t to be an unsigned long instead of unsigned intTheodore Tso1998-07-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10608 dc483132-0cff-0310-8789-dd5450dbe970
* chk_trans.c (krb5_check_transited_list): Fix use of an uninitalizedTheodore Tso1998-07-012-2/+7
| | | | | | | variable; apparently the code was depending on the stack garbage being non-zero(!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10607 dc483132-0cff-0310-8789-dd5450dbe970
* Fix obvious bug where we were returning a pointer to an automaticTheodore Tso1998-07-012-1/+8
| | | | | | | variable which should have been a static. Fortunately nothing in the Mac tree was using inet_ntoa().... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10606 dc483132-0cff-0310-8789-dd5450dbe970
* Committed sarac's changes which make the mpw dependencies more saneTheodore Tso1998-07-012-73/+254
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10605 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_priv.c (krb_mk_priv): Fix up call to pcbc_encrypt(). ByTom Yu1998-06-242-1/+18
| | | | | | | | | | | | | | | | | | taking the address of key, the 5th arg to pcbc_encrypt() was actually a (char **) cast to a (C_Block *). The reason for this is that a C_Block (actually a des_cblock) is typedef'ed from a char[8], which by being in the parameters of the definition of krb_mk_priv() becomes of type (char *). This means that using the address operator on key resulted in a pointer to a pointer to a char rather than a pointer to a des_cblock, which would have been innocuous in this case because pcbc_encrypt() actually takes a (des_cblock *) as the 5th (ivec) argument. The moral is to never pass around naked arrays as function arguments; instead, pass around pointers to arrays to avoid spontaneous conversions to pointers sneaking up. Note that CNS actually uses a (C_Block *) everywhere, and maybe we should as well. *whew* git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10603 dc483132-0cff-0310-8789-dd5450dbe970
* Tue Jun 23 06:28:51 1998 Matthew D Hancher <mdh@mit.edu>Matthew Hancher1998-06-231-1/+6
| | | | | | | * aclocal.m4: added a kluge to get shared libraries to build with gcc under Irix 6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10602 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c (krb524_convert_tkt_skey): Handle null addressTom Yu1998-06-173-23/+26
| | | | | | | | | fields; actually use saddr (the address from the UDP header) to generate the ticket address rather than just checking against it. * conv_creds.c (krb524_convert_creds_plain): Punt address checks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10601 dc483132-0cff-0310-8789-dd5450dbe970
* Don't depend on $(RM) macro being defined when building kerbsrc-nt.zipTheodore Tso1998-05-272-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10600 dc483132-0cff-0310-8789-dd5450dbe970
* Folded in enhancements from Cygnus's Kerbnet-1.2 (plus our changesTheodore Tso1998-05-2713-607/+678
| | | | | | | made since Cygnus's last snapshot). See ChangeLog from Cygnus (included in the ChangeLog file) for more details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10598 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Add ccache/memory as a directory to be recursively builtTheodore Tso1998-05-272-3/+17
| | | | | | by this makefile under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10597 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Update Makefile so that it can be built under WindowsTheodore Tso1998-05-272-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10596 dc483132-0cff-0310-8789-dd5450dbe970
* mkbin.bat: Added convenience batch file which copies all of theTheodore Tso1998-05-273-2/+25
| | | | | | | | | appropriate files out of the build tree into a single kbin directory Makefile.in: Add the windows/lib directory to the list of directories to be built (and cleaned). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10595 dc483132-0cff-0310-8789-dd5450dbe970
* logwtmp.c: Include paths.h if present, and use _PATH_WTMP to determineTheodore Tso1998-05-272-1/+14
| | | | | | WTMPFILE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10594 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add check for paths.hTheodore Tso1998-05-272-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10593 dc483132-0cff-0310-8789-dd5450dbe970
* sys_term.c: #include utmp.h if present, and use _PATH_WTMP andTheodore Tso1998-05-273-2/+23
| | | | | | | | | _PATH_UTMP if defined to determine location of the wtmp and utmp files. configure.in: Add check for utmp.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10592 dc483132-0cff-0310-8789-dd5450dbe970
* windows.in: Remove -DLEHMAN, which doesn't do anything. (A grepTheodore Tso1998-05-272-1/+7
| | | | | | through the whole source tree shows no instances of #ifdef LEHMAN) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10591 dc483132-0cff-0310-8789-dd5450dbe970
* srv_rcache.c (krb5_get_server_rcache):Theodore Tso1998-05-273-2/+8
| | | | | | auth_con.c (krb5_auth_con_setrcache): Export this function in Windows DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10590 dc483132-0cff-0310-8789-dd5450dbe970
* Check in files from Kerbnet-1.2 release. This is an auxiliary libraryTheodore Tso1998-05-278-0/+972
| | | | | | used by some of the windows programs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10589 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: include krb5/ccache/memory and windows/lib in the list ofTheodore Tso1998-05-273-7/+39
| | | | | | | | | | | | directories built by the Windows build. When building kerbsrc-nt.zip, put a copy of mkbin.bat in the top-level build directory. Fix bug in kerbsrc-nt.zip building where it wasn't creating the initial Makefile (although the dos-zipfiles target did the right thing). aclocal.m4 (KRB5_LIB_PARAMS): Remove "untested" comment from freebsd. Add section for openbsd. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10588 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Declare krb5_auth_con_setrcache and krb5_get_server_rcacheTheodore Tso1998-05-272-2/+7
| | | | | | to be exported by the DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10587 dc483132-0cff-0310-8789-dd5450dbe970
* login.c (dolastlog): BSD 4.4 systems don't have lastlog.h, but stillTheodore Tso1998-05-275-8/+55
| | | | | | | | | | | | | | | | | | define struct lastlog somewhere. Included from Dima Ruban's FreeBSD patches. krlogin.c: Include sys/ioctl_compat.h if it is present (instead of just for 386BSD). loginpaths.h (LPATH): If the OS provides _PATH_DEFPATH, use it to define LPATH and RPATH. login.c: #include paths.h if present, and use it to set the pathnames for certain common files. configure.in (withval): Check for <sys/ioctl_compat.h> and <paths.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10586 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_32.def: Change the DLL export list to includeTheodore Tso1998-05-272-5/+31
| | | | | | | | | krb5_auth_con_setrcache, krb5_get_server_rcache, krb5_cc_default_name, krb5_change_password, krb5_mcc_ops, and all of the Cygnus krb5_get_init_creds functions. Remove the old libkadm functions, as they are no longer available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10585 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Re-order check for setupterm to avoid lossage ifTom Yu1998-05-262-1/+6
| | | | | | setupterm is defined in libtermcap or libcurses. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10584 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (CLEANLIBS): Remove lib/kadm from the list of directoriesTheodore Tso1998-05-252-9/+7
| | | | | | built in the windows build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10583 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Remove lib/kadm and lib/krb5/free from the list ofTheodore Tso1998-05-252-8/+8
| | | | | | directories supported by windows (since they have since gone away). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10582 dc483132-0cff-0310-8789-dd5450dbe970
* aclocal.m4: Added suggested changes to improve HP-UX's support forTheodore Tso1998-05-252-3/+18
| | | | | | shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10581 dc483132-0cff-0310-8789-dd5450dbe970
* util_buffer.c (g_make_string_buffer): Don't include the trailingTheodore Tso1998-05-252-2/+7
| | | | | | NULL of the string in the gss buffer's length. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10580 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo which caused import_name to incorrectly import names producedTheodore Tso1998-05-252-1/+7
| | | | | | by gss_export_name(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10579 dc483132-0cff-0310-8789-dd5450dbe970
* copy_ccache.c (gss_krb5_copy_ccache): Fix bugs in copy_ccache.c, whichTheodore Tso1998-05-254-10/+19
| | | | | | | | | never compiled cleanly (since it wasn't added to the Makefile correctly originally). k5seal.c (make_seal_token): Clean up -Wall flames git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10578 dc483132-0cff-0310-8789-dd5450dbe970
* inq_cred.c (krb5_gss_inquire_cred):Theodore Tso1998-05-2510-37/+58
| | | | | | | | | | | | | inq_context.c (krb5_gss_inquire_context): import_name.c (krb5_gss_import_name): export_name.c (krb5_gss_export_name): disp_name.c (krb5_gss_display_name): context_time.c (krb5_gss_context_time): acquire_cred.c (krb5_gss_acquire_cred): Clean up -Wall flames. indicate_mechs.c (krb5_gss_indicate_mechs): Return a dynamic OID set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10577 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_order_free):Theodore Tso1998-05-255-14/+44
| | | | | | | | | | rel_oid_set.c (generic_gss_release_oid_set): disp_major_status.c: General lint cleanup. util_oid.c (g_copy_OID_set): Copy the OID set with entirely dynamic memory (don't alias the contents of the OID set). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10576 dc483132-0cff-0310-8789-dd5450dbe970
* Use double backslashes for the path separators to workaround MicrosoftTheodore Tso1998-05-252-3/+14
| | | | | | | | | | | NMAKE brain damaging. Sometimes backslashes are treated as a quoting characters, and sometimes not, with no rhyme or reason that I can determine. Fortunatelly double backslashes in pathanmes don't seem to hurt (for the times when the backslash isn't treated as a quoating character). Whoever decided Windows should use backslash as a path separator should be shot. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10575 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_err.et: Clarify error for REALM_CANT_RESOLVETom Yu1998-05-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10574 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c: Replace strcpy with strncpy in places. Add nulTom Yu1998-05-162-12/+31
| | | | | | termination to some existing invocations of strncpy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10572 dc483132-0cff-0310-8789-dd5450dbe970
* telnetd.c (main):Theodore Tso1998-05-146-27/+37
| | | | | | | | | | | | | | | | | | | | | | telnetd-ktd.c (main): POSIX states that getopt returns -1 when it is done parsing options, not EOF. configure.in: Rename HAS_* to HAVE_* for the following tests: sac.h, sys/ptyvar.h, sys/filio.h, sys/stream.h, gettosbyname(), and make appropriate adjustments in the rest of the .c files. Remove tests which aren't being used anymore: vhangup, utmpx.h, utmp.h, etc. defs.h: Use HAVE_SYS_FILIO_H instead of FILIO_H sys_term.c: Use HAVE_SAC_H and HAVE_SYS_STREAM_H instead of HAS_SAC and STREAMS. telnetd.c, telnetd-ktd.c: Use HAVE_GETTOSBYNAME instead of HAS_GETTOS telnetd.c: Use HAVE_SYS_PTYVAR_H instead of HAS_PTYVAR. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10571 dc483132-0cff-0310-8789-dd5450dbe970
* main.c (main): POSIX states that getopt returns -1 when it is doneTheodore Tso1998-05-146-14/+20
| | | | | | | | | | | | | | parsing options, not EOF. configure.in: Use standard autoconf test names. Change tests to define standard autoconf CPP macro names, not the non-standard HAS_GETTOS, etc. main.c, commands.c: Use HAVE_GETTOSBYNAME instead of HAS_GETTOS ring.c, externs.h: Use HAVE_SYS_FILIO_H instead of FILIO_H git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10570 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Change test for cgetent to use HAVE_ instead of HAS_,Theodore Tso1998-05-144-6/+15
| | | | | | | | | | and add a test for gettosbyname(). getent.c: Use HAVE_CGETENT instead of HAS_CGETENT parsetos.c: Use HAVE_GETTOSBYNAME instead of HAS_GETTOS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10569 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the date string printed uses 4 digit yearsTheodore Tso1998-05-142-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10568 dc483132-0cff-0310-8789-dd5450dbe970
* This is now obsolete; superceded by src/lib/kadm5Tom Yu1998-05-1117-6565/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10567 dc483132-0cff-0310-8789-dd5450dbe970
* Remove extraneous stuff, as this actually belongs inTom Yu1998-05-1118-3954/+0
| | | | | | src/kadmin/v4server, etc. now git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10566 dc483132-0cff-0310-8789-dd5450dbe970
* str_conv.c (krb5_string_to_timestamp, strptime): Fix routines to beTheodore Tso1998-05-094-22/+98
| | | | | | | | able to properly parse Y2K dates. t_kerb.c: Add ability to test krb5_string_to_timestamp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10559 dc483132-0cff-0310-8789-dd5450dbe970
* stime.c (krb_stime):Theodore Tso1998-05-094-8/+14
| | | | | | | log.c (krb_new_log, krb_log): klog.c (klog): Print the year using 4 digits to avoid Y2K issues. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10558 dc483132-0cff-0310-8789-dd5450dbe970
* Print the year as 4 digits to avoid Y2K problemsTheodore Tso1998-05-082-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10557 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.c (krb_log): Print the year using 4 digit to avoidTheodore Tso1998-05-082-2/+7
| | | | | | Y2K issues. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10556 dc483132-0cff-0310-8789-dd5450dbe970