summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Print 4 digit years in Krb4 log entries to avoid Y2K issuesTheodore Tso1998-05-082-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10555 dc483132-0cff-0310-8789-dd5450dbe970
* ftpcmd.y (cmd): Fix Y2K problem in the MDTM commandTheodore Tso1998-05-082-3/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10554 dc483132-0cff-0310-8789-dd5450dbe970
* Add a check for the header file krb4-proto.h. Replace file existenceTheodore Tso1998-05-062-37/+6
| | | | | | tests for /etc/environment and /etc/TIMEZONE with K5_AC_CHECK_FILES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10553 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-062-1/+6
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10552 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for generic file existence tests (used to simplify someTheodore Tso1998-05-062-0/+50
| | | | | | configure.in files.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10551 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-0649-30/+146
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550 dc483132-0cff-0310-8789-dd5450dbe970
* t_ser.c (main): POSIX states that getopt returns -1 when it is doneTheodore Tso1998-05-063-5/+24
| | | | | | | | | | parsing options, not EOF. get_in_tkt.c (krb5_get_init_creds): If libdefaults/{REALM}/noaddresses is true, then don't put any addresses in the ticket request. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10549 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-062-1/+6
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10548 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-064-3/+10
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10547 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c: Add prototype for make_preauth_listTom Yu1998-05-042-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10545 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): Add missing argument to call toTom Yu1998-05-032-1/+6
| | | | | | make_preauth_list to avoid stack smashing. Pointed out by lxs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10544 dc483132-0cff-0310-8789-dd5450dbe970
* Fix -n so that it doesn't disable authentication but does disable login. [38]Sam Hartman1998-04-254-2/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10543 dc483132-0cff-0310-8789-dd5450dbe970
* * glob.c (ftpglob): Always allocate new storage, even if no magic globKen Raeburn1998-04-222-2/+17
| | | | | | characters were found, because the caller will always free the storage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10539 dc483132-0cff-0310-8789-dd5450dbe970
* oops add PR numberTom Yu1998-04-171-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10536 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Search for /var/tmp first when determining rcacheTom Yu1998-04-172-1/+6
| | | | | | directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10535 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_encode.c (asn1_encode_generaltime): Sanity check the returnTom Yu1998-04-172-1/+16
| | | | | | from gmtime() to avoid overruns. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10534 dc483132-0cff-0310-8789-dd5450dbe970