summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * kdc5_hammer.c (usage): Change usage to refelect realityEzra Peisach1998-03-302-24/+29
| | | | | | | | Add parenthesis around assignements in conditionals. gcc -Wall cleanups git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10509 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c: Declare main() as int instead of void.Ezra Peisach1998-03-302-29/+37
| | | | | | | | Add parentheses around assignements in conditionals. More gcc -Wall cleanups git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10508 dc483132-0cff-0310-8789-dd5450dbe970
* * t_inetd.c: Include stdlib.h (if present) for atoi() prototype,Ezra Peisach1998-03-302-0/+15
| | | | | | | | Include unistd.h (if present) for dup() prototype. More gcc -Wall cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10507 dc483132-0cff-0310-8789-dd5450dbe970
* * ktest_equal.h: Add prototypes for ktest_equal_sam_challenge andEzra Peisach1998-03-305-4/+19
| | | | | | | | | | | ktest_equal_sam_response * ktest.c (ktest_make_sample_sam_response): Remove unused variable. * krb5_decode_test.c, krb5_decode_test.c (main): Declare main as int not void. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10506 dc483132-0cff-0310-8789-dd5450dbe970
* * resolve.c: Include unistd.h if present on system (forEzra Peisach1998-03-302-1/+9
| | | | | | gethostname prototype). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10505 dc483132-0cff-0310-8789-dd5450dbe970
* gcc -Wall cleanups. Mainly adding prototypes andEzra Peisach1998-03-3010-4/+35
| | | | | | | | | | | | | | | | | | | | | | making sure that functions have return types declared. * ss_internal.h: Add ss_pager_create prototype. * ss.h: Add ss_list_requests prototype. * request_tbl.c (ss_add_request_table, ss_delete_request_table): Declare function types as void. * prompt.c (ss_set_prompt): Declare function as void. * listen.c (ss_quit): Int function should return a value. * list_rqs.c (ss_list_requests): Fix arguments to match proper prototype for a ss type handler. * execute_cmd.c (ss_execute_command): Declare as returning int git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10504 dc483132-0cff-0310-8789-dd5450dbe970
* * seteuid.c (krb5_setegid): Fix typo: seteuid -> setegidTom Yu1998-03-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10503 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.c (add_to_transited): Check lengths, fix up commaTom Yu1998-03-202-28/+103
| | | | | | quoting somewhat (though things are still way broken). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10502 dc483132-0cff-0310-8789-dd5450dbe970
* * chk_trans.c (krb5_check_transited_list): Check lengths whenTom Yu1998-03-172-4/+25
| | | | | | appending to next and prev. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10501 dc483132-0cff-0310-8789-dd5450dbe970
* oops... add PR numberTom Yu1998-03-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10500 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): Fix bogus entry ofTom Yu1998-03-122-3/+11
| | | | | | PTY_LOGIN_PROCESS types on BSD-ish systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10499 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y (getline): Don't syslog passwords! (or newlines)Dan Winship1998-03-052-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10498 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (krb5_free_realm_params): Free realm_acl_file portionEzra Peisach1998-03-052-0/+7
| | | | | | of structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10497 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Enable v4 kadmin tests only if athenaEzra Peisach1998-03-032-1/+6
| | | | | | compatibility is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10496 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Enable v4 kadmin tests only if athenaEzra Peisach1998-03-032-0/+12
| | | | | | compatibility is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10495 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_BUILD_PROGRAMEzra Peisach1998-03-033-6/+14
| | | | | | | * Makefile.in (verify): Use CC_LINK and proper Makefile variables for library dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10494 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_cksum): Do not depend on libkrb5.a, useEzra Peisach1998-03-034-4/+20
| | | | | | | | KRB5_BASE_DEPLIBS. This allows configuration --enable-shared --disable-static to work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10493 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Integrate in the krb5 build tree rules.Ezra Peisach1998-03-023-5/+16
| | | | | | | | | | | (use CC_LINK, etc). * configure.in: Add AC_BUILD_PROGRAM for test programs. These changes allow --enable-profiled combined with --disable-static to function in the build tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10492 dc483132-0cff-0310-8789-dd5450dbe970
* pre.in: Define AUTOCONF and CONFIG_RELTOPDIR from the autoconfTheodore Tso1998-03-023-3/+13
| | | | | | | | | | substitution macros. post.in: Fix the call to autoconf to use $(AUTOCONF) and $(CONFIG_RELTOPDIR), so that configure regeneration rule works even in a subdirectory below the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10491 dc483132-0cff-0310-8789-dd5450dbe970
* aclocal.m4: Remove unused variables BUILDTOP and SRCTOP (now definedTheodore Tso1998-03-022-2/+29
| | | | | | | | | | in the individual Makefile.in file. Define @AUTOCONF@ to have the appropriate pathname (either internal to our source tree, or in the user's path). Set @CONFIG_RELTOPDIR@ to contain the relative path to the top of the build directory from the directory containing the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10490 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Clean up configure script. Check $cross_compilingTheodore Tso1998-03-024-26/+18
| | | | | | | | | | | instead of (no longer correct) cache variable; remove obsolete AC_C_CROSS. Use AC_CHECK_FUNCS instead of individual AC_FUNC_CHECK calls for speed. Change checks for strsave and utimes to use AC_CHECK_FUNCS krcp.c, v4rcp.c: Change usages of HAS_STRSAVE and HAS_UTIMES to HAVE_*. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10489 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (env-setup.stmp): If env-setup.stamp needs to be rebuilt,Theodore Tso1998-03-023-3/+15
| | | | | | | | | set CONFIG_FILES so that we only regenerate that one file. env-setup.shin: Rename SRCTOPDIR to S_TOP, which has been fixed to deal with absolute source paths. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10488 dc483132-0cff-0310-8789-dd5450dbe970
* Define S_TOP to contain an absolute pathname to the top of the sourceTheodore Tso1998-03-022-5/+12
| | | | | | tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10487 dc483132-0cff-0310-8789-dd5450dbe970
* Remove check for the regular expression functions, since they aren'tTheodore Tso1998-03-022-1/+5
| | | | | | used in lib/kdb. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10486 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin (STOP): SRCTOP -> SRCTOPDIRTom Yu1998-03-012-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10485 dc483132-0cff-0310-8789-dd5450dbe970
* document previousTom Yu1998-03-011-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10484 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix up somewhat (SRCTOP -> SRCTOPDIR) and also getTom Yu1998-03-011-1/+2
| | | | | | directory correct. (`pwd`/..) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10483 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (env-setup.stamp): Fix up to use $(thisconfigdir)Tom Yu1998-02-282-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10482 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse all configure.in files under the kadmin directory into theTheodore Tso1998-02-2840-142/+156
| | | | | | kadmin directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10481 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Replace @SHLIB_GEN@ with @GEN_LIB@Tom Yu1998-02-282-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10480 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse all of lib/kadm5's configure scripts into a single top-levelTheodore Tso1998-02-2812-61/+69
| | | | | | configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10479 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Move the regular expression function tests intoTheodore Tso1998-02-282-24/+6
| | | | | | | aclocal.m4, since they also need to be shared by lib/kadm5's configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10478 dc483132-0cff-0310-8789-dd5450dbe970
* aclocal.m4 (KRB5_AC_REGEX_FUNCS): Take the regular expression functionTheodore Tso1998-02-282-0/+41
| | | | | | | code from lib/krb5/os/configure.in and turn it into a generalized regular expression function tester. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10477 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse lib/krb5's configure.in files into a single top-levelTheodore Tso1998-02-2840-117/+170
| | | | | | configure.in file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10476 dc483132-0cff-0310-8789-dd5450dbe970
* export_name.c (krb5_gss_export_name): Fix bug in gss_export_name. TheTheodore Tso1998-02-282-1/+7
| | | | | | | 2nd length field in the ASN.1 was 2 bytes bigger than it should have been. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10475 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c (process_chpw_request): Free memory of allocated forEzra Peisach1998-02-253-4/+20
| | | | | | | | | local address. * ovsec_kadmd.c (do_schpw): Call krb5_kt_close to free memory allocated in keytab routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10474 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Add production "nonguest" to catch things thatTom Yu1998-02-252-5/+22
| | | | | | | | anonymous users aren't supposed to do. Replace "check_login" with "nonguest" in a few places to prevent w4r3z d00dz from being lame with world-writable incoming directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10473 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c: Integrate ghudson's changes for client-side krb4Tom Yu1998-02-247-1233/+875
| | | | | | | | | | | | | | | | | | | | | compatibility. [krb5-appl/483] * krcp.c: Integrate ghudson's changes for client-side krb4 compatibility. [krb5-appl/483] * krlogin.c: Integrate ghudson's changes for client-side krb4 compatibility. [krb5-appl/483] * krlogind.c: Integrate ghudson's changes for client-side krb4 compatibility. [krb5-appl/483] * krsh.c: Integrate ghudson's changes for client-side krb4 compatibility. [krb5-appl/483] * krshd.c: Integrate ghudson's changes for client-side krb4 compatibility. [krb5-appl/483] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10472 dc483132-0cff-0310-8789-dd5450dbe970
* * utility.c (ptyflush, netflush): Explicitly reset SIGCHLD handlerTom Yu1998-02-244-0/+15
| | | | | | | | | | | | before calling cleanup(). [telnet/546] * telnetd.c (telnet): Explicitly reset SIGCHLD handler before calling cleanup(). [telnet/546] * state.c (dooption): Explicitly reset SIGCHLD handler before calling cleanup(). [telnet/546] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10471 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: Use krb5_seteuid() and krb5_setegid(). [krb5-libs/505]Tom Yu1998-02-233-18/+20
| | | | | | | * Makefile.in (ftpd): Fix up KRB4COMPAT_LIBS (was KRB5_BASE_LIBS), and add UTIL_LIB. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10470 dc483132-0cff-0310-8789-dd5450dbe970
* * v4rcp.c: Punt nastiness to redefine setreuid, as we don't useTom Yu1998-02-233-28/+18
| | | | | | | | | it. * krcp.c: Use krb5_seteuid(). [krb5-libs/505] Fix up inclusions to use <> rather than "". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10469 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add checks for set{re,e,res}gid()Tom Yu1998-02-233-6/+34
| | | | | | | * seteuid.c: Include k5-util.h rather than k5-int.h. Add krb5_setegid(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10468 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-util.h: New file. Add krb5_seteuid in order to allowTom Yu1998-02-233-4/+51
| | | | | | | | applications to use it without including k5-int.h. * k5-int.h: Remove krb5_seteuid, as it is moving to k5-util.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10467 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_preauth.c (get_preauth_hint_list): Don't add the pseudo preauthTheodore Tso1998-02-202-1/+12
| | | | | | | | type KRB5_PADATA_PW_SALT to the hint list of supported preauthentication systems, since it doesn't help to send it. (And it may screw up Cygnus KerbNet clients.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10466 dc483132-0cff-0310-8789-dd5450dbe970
* * recvauth.c (krb5_recvauth): Add some bookkeeping flags so weTom Yu1998-02-202-3/+16
| | | | | | | know how much stuff to free upon cleanup. Fix the up cleanup code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10465 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-18198-208/+691
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* * windows.in: Rewrite some of the directory syntaxTom Yu1998-02-184-10/+39
| | | | | | | | * pre.in: Rewrite some of the directory syntax. * mac-pre.in: Rewrite some of the directory syntax. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10463 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (kadm_svc_run): Fix naming of _rpc_dtablesize()Tom Yu1998-02-152-1/+6
| | | | | | that was missed earlier. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10462 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove USE_ANAME, and the defines for ANAME_DBDEP andEzra Peisach1998-02-143-10/+8
| | | | | | | | ANAME_DBLIB as they are no longer used. * Makefile.in: Remove unused ANAME_DBDEP and ANAME_DBLIB definitions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10461 dc483132-0cff-0310-8789-dd5450dbe970
* Remove USE_ANAMEEzra Peisach1998-02-142-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10460 dc483132-0cff-0310-8789-dd5450dbe970