summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * genaddrs.c (krb5_auth_con_genaddrs()),Chris Provenzano1995-05-014-43/+58
| | | | | | | * mk_faddr.c (krb5_make_fulladdr()), os-proto.h : Changes to auth_context to better support full addresses. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5678 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_con.c (krb5_auth_con_free()) :Chris Provenzano1995-05-0112-45/+343
| | | | | | | | | | | | | | | | | Free all the data associated with the auth_context. * auth_con.c (krb5_auth_con_setkey()) : Removed. * mk_rep.c (mk_rep()), The krb5_mk_rep() routine must always encode the data in the keyblock of the ticket, not the subkey. * cleanup.h, auth_con.c (krb5_auth_con_setports()) : Added. * auth_con.h, mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), * mk_safe.c (mk_safe()), rd_cred.c (rd_cred()), * rd_priv.c (rd_priv()), rd_safe.c (rd_safe()) : Changes to auth_context to better support full addresses. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5677 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c (krb5_gss_init_sec_context()) :Chris Provenzano1995-05-012-10/+41
| | | | | | | The krb5_mk_rep() routine must always encode the data in the keyblock of the ticket, not the subkey. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5676 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main()): Changes to auth_context to betterChris Provenzano1995-05-012-10/+7
| | | | | | support full addresses, for mk_safe() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5675 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_server.c (main()): Changes to auth_context to betterChris Provenzano1995-05-012-25/+27
| | | | | | support full addresses, for mk_safe() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5674 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_client.c (main()): Changes to auth_context to betterChris Provenzano1995-05-012-13/+24
| | | | | | support full addresses, for mk_safe() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5673 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (kcmd()): Bug fixes from jikChris Provenzano1995-05-013-25/+23
| | | | | | | * krlogind.c (recvauth()): Changes to auth_context to better support full addresses, for rd_cred() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5672 dc483132-0cff-0310-8789-dd5450dbe970
* Added README file to the krb425 libraryTheodore Tso1995-05-011-0/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5671 dc483132-0cff-0310-8789-dd5450dbe970
* Check the return code from kdb5_init_context()Theodore Tso1995-05-012-1/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5670 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.h (krb5_set_config_files): Added new function prototypeTheodore Tso1995-05-012-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5669 dc483132-0cff-0310-8789-dd5450dbe970
* init_os_ctx.c (krb5_set_config_files): New function. Provides aTheodore Tso1995-05-012-1/+34
| | | | | | | | | | way to set a new set of config files for a particular OS context. init_os_ctx.c (krb5_os_init_context): Don't return an error if profile_init() returns an error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5668 dc483132-0cff-0310-8789-dd5450dbe970
* Temporary hack for the alpha. Undefine STREAMSPTY if defined.Ezra Peisach1995-05-012-0/+9
| | | | | | | This will be removed when configure does the right thing for this platform. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5667 dc483132-0cff-0310-8789-dd5450dbe970
* Call to krb5_read_password takes as an argument an int* not an int to ↵Ezra Peisach1995-05-012-2/+8
| | | | | | represent the length of the buffer git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5666 dc483132-0cff-0310-8789-dd5450dbe970
* Global variables krb5_config_file and krb5_trans_file definitionsEzra Peisach1995-04-302-0/+7
| | | | | | conditionalized on OLD_CONFIG_FILES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5663 dc483132-0cff-0310-8789-dd5450dbe970
* Do not redefine PROTOTYPE if it is already definedEzra Peisach1995-04-302-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5662 dc483132-0cff-0310-8789-dd5450dbe970
* Fix spacing in configure --help for the krb4 optionsEzra Peisach1995-04-292-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5661 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the unused argument to aggree with the expected callingEzra Peisach1995-04-294-107/+10
| | | | | | prototype from main. (fixes coredump in dejagnu tests) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5660 dc483132-0cff-0310-8789-dd5450dbe970
* Link the libraries twice due to circular dependency in the libraries.Theodore Tso1995-04-292-1/+11
| | | | | | | (read_password in libdes425.a depends on krb5_read_password in libkrb5.a) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5659 dc483132-0cff-0310-8789-dd5450dbe970
* Fix fencepost error which caused an access beyond the allocated memoryTheodore Tso1995-04-292-1/+4
| | | | | | of piece->data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5658 dc483132-0cff-0310-8789-dd5450dbe970
* Use Posix sigaction() instead of signal() to set signal handlers.Theodore Tso1995-04-292-23/+42
| | | | | | | This allows us not to worry about System V signal semantics. Make the code use POSIX_SIGNALS by default. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5657 dc483132-0cff-0310-8789-dd5450dbe970
* * g_phost.c: removed references to sys/param.h and netdb.hTom Yu1995-04-293-4/+5
| | | | | | * realmofhost.c: ditt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5656 dc483132-0cff-0310-8789-dd5450dbe970
* Call krb5_free_priv_enc_part to free the entire privenc_msg structureTheodore Tso1995-04-292-6/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5655 dc483132-0cff-0310-8789-dd5450dbe970
* kadmin.c (main): Don't free the credentials cache twice in caseTheodore Tso1995-04-293-2/+9
| | | | | | | | | of an error! Makefile.in (kadmin): Use $(LD) instead of $(CC) so that we can do purify checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5654 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) so that we can do purify checkingTheodore Tso1995-04-292-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5653 dc483132-0cff-0310-8789-dd5450dbe970
* adm_network.c (setup_network): Use sigaction() instead ofTheodore Tso1995-04-294-2/+39
| | | | | | | | | | | | signal() to setup the signal handlers. This means we don't need to worry about System V signal semantics. adm_server.c (kdc_com_err_proc): Free nfmt after done using it. Makefile.in (kadmind): Use $(LD) instead of $(CC) so that we can do purify checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5652 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_util.c (kdc_process_tgs_req): Make sure apreq->ticket getsTheodore Tso1995-04-294-2/+17
| | | | | | | | | | | | | freed, since it isn't being passed back to the caller (anymore). do_tgs_req.c (process_tgs_req): Free header_ticket when we're done with it. (Prevents massive memory leak). Makefile.in (depend): Use $(LD) instead of $(CC) so that we can do purify checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5651 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use setreuid() to play games with the real uid, since not allTheodore Tso1995-04-292-19/+14
| | | | | | | | | systems have setreuid(). This method of communicating to in_tkt what the correct owner of the ticket file is completely broken, anyway. We skip the setreuid() entirely, and then chown the ticket file to the correct owner and group afterwards. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5650 dc483132-0cff-0310-8789-dd5450dbe970
* Windows gssapi demo now works. The UI isn't great but heyKeith Vetter1995-04-296-81/+229
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5648 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KLIB): put KRB4_LIB inside KLIBMark Eichin1995-04-288-8/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5647 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCAL_LIBRARIES): put KRB4_LIB inside KLIB, and putMark Eichin1995-04-284-4/+14
| | | | | | KDB4_LIB ahead of them both. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5646 dc483132-0cff-0310-8789-dd5450dbe970
* Disable command recognition for not-fully-implemented commandsPaul Park1995-04-282-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5645 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KLIB): include KRB4_LIB directly, to satisfy bothMark Eichin1995-04-282-4/+8
| | | | | | versions of the dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5644 dc483132-0cff-0310-8789-dd5450dbe970
* signal.h, not sys/signal.hMark Eichin1995-04-283-4/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5643 dc483132-0cff-0310-8789-dd5450dbe970
* Sorry - reinstate <sys/signal.h> for srv_net and proto_servPaul Park1995-04-283-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5642 dc483132-0cff-0310-8789-dd5450dbe970
* * srv_net.c: include <signal.h>Mark Eichin1995-04-282-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5641 dc483132-0cff-0310-8789-dd5450dbe970
* Added check for POSIX_FILE_LOCK to enable POSIX file lockingTheodore Tso1995-04-283-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5640 dc483132-0cff-0310-8789-dd5450dbe970
* Make links work with both --with-krb4 and --with-krb4=/usr/athenaPaul Park1995-04-282-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5638 dc483132-0cff-0310-8789-dd5450dbe970
* * kparse.h (strutol, strsave): are only static in this moduleMark Eichin1995-04-282-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5637 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug in lang_init_slist() which would not return that it hadPaul Park1995-04-282-1/+7
| | | | | | successfully initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5636 dc483132-0cff-0310-8789-dd5450dbe970
* oops. s/CHECK/PROG/Mark Eichin1995-04-282-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5635 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add check for KRB5_POSIX_LOCKSTheodore Tso1995-04-283-8/+17
| | | | | | | krb_dbm.c: Add #include of fcntl.h; if POSIX_FILE_LOCKS is defined, use POSIX-style locking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5634 dc483132-0cff-0310-8789-dd5450dbe970
* Add #include of fcntl.hTheodore Tso1995-04-282-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5633 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (PATH): use internal AC_CHECK_ECHO_N because changeMark Eichin1995-04-282-0/+9
| | | | | | | | | | in path might change behavior of echo (example: solaris, native shell, with GNU echo (-n) in user path, but only Solaris echo (\c) in path here.) (AC_PATH_PROG should probably get fixed, to deal with this possibility. Later.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5632 dc483132-0cff-0310-8789-dd5450dbe970
* * lndir (ls): use ls -a to get dotfiles tooMark Eichin1995-04-282-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5631 dc483132-0cff-0310-8789-dd5450dbe970
* Don't try to strip an empty line. This causes memory reference errorTheodore Tso1995-04-282-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5630 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) when trying to link. (So purify works).Theodore Tso1995-04-282-1/+7
| | | | | | | Note: to get things to work on the Mac, just put LD=$(CC) in the Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5629 dc483132-0cff-0310-8789-dd5450dbe970
* Add kadm to list of subdirectories to be builtPaul Park1995-04-284-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5628 dc483132-0cff-0310-8789-dd5450dbe970
* Oops, checked in wrote version of gss-miscTheodore Tso1995-04-281-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5627 dc483132-0cff-0310-8789-dd5450dbe970
* gss-server.c (main, sign_server): Make changes to allowTheodore Tso1995-04-283-17/+79
| | | | | | | | | | | | | gss-server to be fired out of inetd. New options: -inetd and -logfile. The -logfile allows the output of gss-server to be redirected to a file. gss-misc.c (send_token, recv_token, display_status_1): Add support for -logfile option. If the external FILE *display_file is set, redirect error messages to display_file instead of stderr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5626 dc483132-0cff-0310-8789-dd5450dbe970
* Fix aclocal.m4 with --with-krb4 has a value. KDB4_LIB is now $withval/Paul Park1995-04-282-1/+6
| | | | | | lib/libkdb4.a. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5625 dc483132-0cff-0310-8789-dd5450dbe970