summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * init_sec_context.c: KLUDGE!! Add global variableTom Yu1998-02-122-1/+11
| | | | | | | krb5_gss_dbg_client_expcreds to allow the client library to send expired credentials for testing and debugging purposes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10426 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add commented out AC_OUTPUT to force autoreconf toTom Yu1998-02-1218-7/+54
| | | | | | rebuild the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10425 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-12269-720/+1140
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos_v4.c: Move macro definition of klog earlier so that itTom Yu1998-02-062-1/+6
| | | | | | actually gets used inside process_v4(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10423 dc483132-0cff-0310-8789-dd5450dbe970
* popen.c (ftpd_popen): Make sure you can't overrun the argv[] andTheodore Tso1998-02-062-4/+13
| | | | | | gargv[] arrays. (Patch submitted by dima@best.net). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10419 dc483132-0cff-0310-8789-dd5450dbe970
* rd_cred.c (krb5_rd_cred):Theodore Tso1998-02-064-6/+15
| | | | | | | | | rd_safe.c (krb5_rd_safe): rd_priv.c (krb5_rd_priv): Use the remote_subkey first, since the mk_* routines try to use their local_subkey first. Otherwise, the wrong keys will get used if subkeys are used in both directions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10415 dc483132-0cff-0310-8789-dd5450dbe970
* Add a comment about the low 128 error codes being defined by the Krb5Theodore Tso1998-02-062-0/+12
| | | | | | protocol spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10414 dc483132-0cff-0310-8789-dd5450dbe970
* wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix bug where if theTheodore Tso1998-02-062-2/+15
| | | | | | | output header size is greater than the maximum requested output size, return 0 rather than a very large unsigned number. :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10413 dc483132-0cff-0310-8789-dd5450dbe970
* * krb_auth_su.c (krb5_verify_tkt_def): If using a pre-existingTom Yu1998-02-052-1/+17
| | | | | | | credential cache, ensure that the host ticket has not yet expired. Patch from vwelch@ncsa.uiuc.edu [krb5-clients/545]. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10404 dc483132-0cff-0310-8789-dd5450dbe970
* kerberos_v4.c (process_v4): Check the length of the incoming V4 packetTheodore Tso1998-02-052-8/+40
| | | | | | | | | before copying it into the KTEXT_ST variable. (kerberos_v4): Make sure the strings in the V4 request structures aren't no longer than they are allowed to be. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10402 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to call Universal Headers 3.0.1Marshall Vale1998-02-021-14/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10401 dc483132-0cff-0310-8789-dd5450dbe970
* Updated from most recent MacTCP SDKMarshall Vale1998-02-021-15/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10400 dc483132-0cff-0310-8789-dd5450dbe970
* fix some formatting problemsDan Winship1998-02-011-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10399 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Fix to deal with new kpasswd programTom Yu1998-01-312-9/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10398 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add kpasswd_server to krb5.confTom Yu1998-01-312-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10397 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c (krb5_gss_init_sec_context): ActuallyTom Yu1998-01-312-5/+10
| | | | | | initialize now before calling make_ap_req. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10396 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add new directory for kpasswdTom Yu1998-01-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10395 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.c:Tom Yu1998-01-305-0/+258
| | | | | | | | * kpasswd.M: * Makefile.in: * configure.in: New: Cygnus kpasswd client. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10394 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove install rulesTom Yu1998-01-302-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10393 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c (krb5_change_password): KRB5_USE_INET ->Tom Yu1998-01-302-3/+8
| | | | | | HAVE_NETINET_IN_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10392 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (clean-unix): Remove EXPORTED_BUILT_HEADERS as wellEzra Peisach1998-01-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10391 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data): Accept forwarded credentials and dispose ofDan Winship1998-01-302-16/+41
| | | | | | them properly. (And fix some indentation bugs.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10390 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (rd_and_store_for_creds): Don't mess withDan Winship1998-01-305-3/+74
| | | | | | | | | | | | krb5_cc_default--use a new mem-based ccache. * Makefile.in: * gssapi_krb5.h: * copy_ccache.c (gss_krb5_copy_ccache): Routine to copy a gss_cred_id_t (such as a forwarded creds) into an existing krb5_ccache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10389 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: fix #define of krb5_cc_gen_new (takes a krb5_ccache *,Dan Winship1998-01-302-1/+6
| | | | | | not a krb5_ccache) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10388 dc483132-0cff-0310-8789-dd5450dbe970
* Add -x (automatically encrypt) and -f (forward credentials) optionsDan Winship1998-01-306-14/+43
| | | | | | | Don't complain about missing ftp/hostname principal if there's a usable host/hostname. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10387 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c (doit): additional fix for previous terminaltype changeDan Winship1998-01-282-1/+5
| | | | | | (fixes a bug that caused TERM to be set to "") git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10384 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc.conf.M: Document the v4_mode option. [krb5-kdc/464]Ezra Peisach1998-01-282-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10383 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5kdc.M: Document V4 mode handling [krb5-kdc/464].Ezra Peisach1998-01-282-14/+25
| | | | | | | Also removed references to kdb5_create and kdb5_stash replacing with kdb5_util. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10382 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c (getterminaltype): Null-terminate strings and avoid aDan Winship1998-01-275-16/+29
| | | | | | | | | | | buffer overrun. * ext.h: make terminaltype a char[] instead of a char * for telnetd.c change * state.c (suboption): redo handling of terminaltype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10380 dc483132-0cff-0310-8789-dd5450dbe970
* Add definition of GSS_C_NO_NAME (per draft-ietf-cbind-04.txt)Theodore Tso1998-01-272-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10379 dc483132-0cff-0310-8789-dd5450dbe970
* Add AC_PROG_INSTALL since it's need by the install rulesTheodore Tso1998-01-242-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10377 dc483132-0cff-0310-8789-dd5450dbe970
* telnetd.c (telnet, get_default_IM): Instead of using a hardcoded IMTheodore Tso1998-01-243-20/+31
| | | | | | | | | variable, use one which is dynamically generated from the uname() system call. ext.h: Remove definition of DEFAULT_IM, since it's no longer used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10376 dc483132-0cff-0310-8789-dd5450dbe970
* accept_sec_context.c (krb5_gss_accept_sec_context): Will now obtainTheodore Tso1998-01-242-25/+38
| | | | | | default credentials if no credentials are given. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10375 dc483132-0cff-0310-8789-dd5450dbe970
* init_sec_context.c (make_ap_req): Enforce a stricter requirement onTheodore Tso1998-01-242-2/+27
| | | | | | | | | | the ticket expiration time of the credentials, since accept_sec_context doesn't use the timeskew fudge for checking ticket expirations. (krb5_gss_init_sec_context): Return GSS_S_NO_CRED when appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10374 dc483132-0cff-0310-8789-dd5450dbe970
* prof_parse.c (parse_std_line, parse_quoted_string, need_double_quotes,Theodore Tso1998-01-243-8/+122
| | | | | | | | | | output_quoted_string, dump_profile, dump_profile_to_file): Vastly improved the profile parsing; whitespace at the end of lines are now ignored. Added quoted string parsing, complete with backquote processing. Strings which need to be quoted are properly quoted on output. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10373 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): Bump minor version due to internalTom Yu1998-01-222-1/+6
| | | | | | structure change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10372 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapiP_krb5.h: Add rcache member to the credsTom Yu1998-01-226-2/+46
| | | | | | | | | | | | | | | | | | | structure. [krb5-libs/370] * accept_sec_context.c (krb5_gss_accept_sec_context): Actually set an rcache in auth context from the one saved in the creds structure. [krb5-libs/370] * acquire_cred.c (acquire_accept_cred): Set up an rcache for use later. [krb5-libs/370] * delete_sec_context.c (krb5_gss_delete_sec_context): Don't delete the rcache when freeing the auth_context. [krb5-libs/370] * rel_cred.c (krb5_gss_release_cred): Properly close the rcache. [krb5-libs/370] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10371 dc483132-0cff-0310-8789-dd5450dbe970
* main returns int, not void. ANSI X3.159-1989Ezra Peisach1998-01-213-2/+7
| | | | | | 2.1.2.2.1 says so, and gcc now warns about it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10370 dc483132-0cff-0310-8789-dd5450dbe970
* main returns int, not void. ANSI X3.159-1989 2.1.2.2.1 says so, andEzra Peisach1998-01-212-1/+6
| | | | | | gcc now warns about it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10369 dc483132-0cff-0310-8789-dd5450dbe970
* main returns int, not void. ANSI X3.159-1989Ezra Peisach1998-01-216-3/+18
| | | | | | 2.1.2.2.1 says so, and gcc now warns about it. (eichin@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10368 dc483132-0cff-0310-8789-dd5450dbe970
* * bindresvport.c: Include string.h for memset prototypeEzra Peisach1998-01-212-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10367 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc.conf.proto: Add kpasswd_port line so kadmind can start asEzra Peisach1998-01-212-0/+6
| | | | | | non-root for testing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10366 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Added kpasswd_port variable to kdc.conf creation.Ezra Peisach1998-01-212-0/+6
| | | | | | (proven@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10365 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_open.c: Added O_BINARY for __CYGWIN32__.Ezra Peisach1998-01-2121-31/+67
| | | | | | | | | | | | | | | | | | | | | | | | | * clib/mkstemp.c: Added O_BINARY for __CYGWIN32__. * db/db.c: Added O_BINARY for __CYGWIN32__. * hash/dbm.c: Added O_BINARY for __CYGWIN32__. * hash/hash.c: Added O_BINARY for __CYGWIN32__. * hash/hsearch.c: Added O_BINARY for __CYGWIN32__. * include/db-int.h: Added O_BINARY for __CYGWIN32__. * recno/rec_open.c: Added O_BINARY for __CYGWIN32__. * test/dbtest.c: Added O_BINARY for __CYGWIN32__. * test/SEQ_TEST/t.c: Added O_BINARY for __CYGWIN32__. * test/btree.tests/main.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/driver2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tcreat3.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tdel.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/thash4.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tread2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tseq.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tverify.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/bigtest.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/passtest.c: Added O_BINARY for __CYGWIN32__. Changes originally by Jeremy Allison (jra@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10364 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c: New file. Support for Cygnus chpw.Tom Yu1998-01-211-0/+372
| | | | | | [oops forgot this earlier] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10359 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c: New file. Support for Cygnus chpwTom Yu1998-01-213-3/+173
| | | | | | | | * ovsec_kadmd.c: Add support for Cygnus chpw. * Makefile.in (OBJS): Add schpw.o. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10358 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (kadm5_get_config_params): Add support for Cygnus chpwTom Yu1998-01-213-1/+26
| | | | | | * admin.h: Add support for Cygnus chpw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10357 dc483132-0cff-0310-8789-dd5450dbe970
* * osconf.h: Add DEFAULT_KPASSWD_PORT to support Cygnus chpwTom Yu1998-01-212-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10356 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (protocol): Declare pibuf and fibuf as being BUFSIZTom Yu1998-01-212-1/+6
| | | | | | bytes long, rather than 1024. Fixes an Irix bug. [krb5-appl/527] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10354 dc483132-0cff-0310-8789-dd5450dbe970
* * do_tgs_req.c: Add some explicit settings of errcode so that theTom Yu1998-01-162-0/+9
| | | | | | | cleanup code doesn't try to construct a bogus error reply, which was causing coredumps in the lookaside code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10352 dc483132-0cff-0310-8789-dd5450dbe970