summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Imakefile : RemovedChris Provenzano1995-05-032-35/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5699 dc483132-0cff-0310-8789-dd5450dbe970
* Don't try to play uid swapping games if the effective uid is not zeroTheodore Tso1995-05-032-8/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5697 dc483132-0cff-0310-8789-dd5450dbe970
* nevermind..Mark Eichin1995-05-032-7/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5696 dc483132-0cff-0310-8789-dd5450dbe970
* nevermind..Mark Eichin1995-05-032-25/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5695 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leaks in this function. The krb5_donot_replay structureTheodore Tso1995-05-032-19/+20
| | | | | | was not being freed properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5694 dc483132-0cff-0310-8789-dd5450dbe970
* kadmin.c (main): Fix really broken way client and client_nameTheodore Tso1995-05-033-5/+26
| | | | | | | | | | were being handled. Memory was being leaked, and then memory blocks which were allocated to small where then overrun. kadmin_add.c (kadm_add_user): Fix memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5693 dc483132-0cff-0310-8789-dd5450dbe970
* Bug fix to jik's bug fix. (Caused by our code drift since jik'sTheodore Tso1995-05-032-3/+8
| | | | | | | changes went in, and not sufficiently careful checking of jik's patches before applying it.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5692 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: nuke spurious whitespace in blank lineTom Yu1995-05-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5691 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: nuke spurious whitespace from blank lineTom Yu1995-05-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5690 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: remove spurious whitespace from blank lineTom Yu1995-05-034-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5689 dc483132-0cff-0310-8789-dd5450dbe970
* * .rconf: copy kadmin.old as wellTom Yu1995-05-033-1/+8
| | | | | | * Makefile.in: nuke spurious whitespace on blank line git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5688 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lots of typos in krb5_make_fulladdrs() patch. (Lots of places whereTheodore Tso1995-05-035-55/+7
| | | | | | remote_addr was used where remote_port should have been used instead.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5687 dc483132-0cff-0310-8789-dd5450dbe970
* * get_krbhst.c (krb5_get_krbhst): look in KRB5_ENV_KDCMark Eichin1995-05-032-0/+25
| | | | | | | | (KERBEROS_SERVER) for a REALM:SERVER string. This overrides anything else for that realm and is intended for un-installed client use, testsuite use, and diagnostic use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5686 dc483132-0cff-0310-8789-dd5450dbe970
* * osconf.h (KRB5_ENV_KDC): add KERBEROS_SERVER environmentMark Eichin1995-05-032-0/+7
| | | | | | variable, both for user and testsuite convenience. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5685 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), mk_safe.c (mk_safe()),Chris Provenzano1995-05-027-79/+150
| | | | | | | * rd_cred.c (rd_cred()), rd_priv.c (rd_priv()), rd_safe.c (rd_safe()): Don't call krb5_make_fulladdrs() if a port isn't specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5684 dc483132-0cff-0310-8789-dd5450dbe970
* clean-unix: Remove the installed krb_err.h in the include directoryEzra Peisach1995-05-022-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5683 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_set_config_files needs a const in the declaration to match callEzra Peisach1995-05-022-1/+7
| | | | | | to profile_init git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5682 dc483132-0cff-0310-8789-dd5450dbe970
* Add const to prototype for krb5_set_config_filesEzra Peisach1995-05-022-4/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5681 dc483132-0cff-0310-8789-dd5450dbe970
* Use tests/resolve/resolve to get the fully qualified domain name ofTheodore Tso1995-05-022-1/+13
| | | | | | | the local host. Needed for systems where gethostname() doesn't return the FQDN. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5680 dc483132-0cff-0310-8789-dd5450dbe970
* Add --quiet option which only prints the fully qualified domain name.Theodore Tso1995-05-022-7/+32
| | | | | | | This will allow this routine to be used in the deja gnu tests to determine the FQDN of the local host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5679 dc483132-0cff-0310-8789-dd5450dbe970
* * 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