Chris Provenzano [Fri, 5 May 1995 13:27:37 +0000 (13:27 +0000)]
* rcp.exp (rcp_test()): Pass -c and -C args to encrypted rcp.
These are necessary for the test realm because krshd
nukes all environement variables before execing rcp.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5733
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 5 May 1995 13:27:15 +0000 (13:27 +0000)]
* default.exp : Removed FILE: part of env(KRB5CCNAME)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5732
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 5 May 1995 13:19:24 +0000 (13:19 +0000)]
* krcp.c (answer_auth()): Requires two new args that are passed
from the command line. The first -c is to pass the filename
of the remote credential cache. The second -C is to pass
the filename of the remote krb5.conf file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5731
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 5 May 1995 05:56:44 +0000 (05:56 +0000)]
Remove all files in ZIPCLEANUP after building kerbsrc.zip. This keeps
the source directory clean after building a Windows source
distribution.
Remove miscellaneous targets left over from the bad old imake days.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5730
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 5 May 1995 05:16:52 +0000 (05:16 +0000)]
Fix spelling typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5729
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 5 May 1995 05:13:43 +0000 (05:13 +0000)]
krb5.conf: Add example of the new [realms]/<realm>/v4_instance_convert/
<instance> form used by krb5_425_convert_principal.
krb5.conf.M: Document new v4_instance_convert subsection.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5728
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 5 May 1995 04:57:03 +0000 (04:57 +0000)]
prof_init.c (profile_get_values): Return PROF_NO_PROFILE if the
passed-in profile variable is NULL (instead of core dumping).
prof_err.et (PROF_NO_PROFILE): Defined new error code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5727
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 5 May 1995 04:56:00 +0000 (04:56 +0000)]
conv_princ.c (krb5_425_conv_principal): Use new calling
convention of krb5_get_realm_domain, which is that it
returns the realm *without* the leading dot.
Also use the profile code to look up individual instance
conversions using [realms]/<realm>/v4_instance_convert/<inst>
This allows special case handling of mit.edu and
lithium.lcs.mit.edu.
t_kerb.c: New file for testing krb library functions. Currently
only tests krb5_425_conv_principal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5726
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 5 May 1995 03:58:57 +0000 (03:58 +0000)]
prof_tree.c (profile_free_node): Copy child->next to a scratch
pointer before freeing the node; otherwise we have to
dereference a freed object.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5725
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 5 May 1995 03:54:58 +0000 (03:54 +0000)]
* krcp.c (answer_auth()): Don't destroy the credential cache
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5724
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 4 May 1995 20:19:50 +0000 (20:19 +0000)]
Update .Sanitize file to reflect new files that have been added and deleted
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5723
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 4 May 1995 19:53:59 +0000 (19:53 +0000)]
New .Sanitize file for the windows/gss directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5722
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 4 May 1995 19:50:13 +0000 (19:50 +0000)]
Update Sanitize file to reflect file additions, deletions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5721
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 4 May 1995 18:40:12 +0000 (18:40 +0000)]
Reorganized some sections
Added missing functions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5720
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 4 May 1995 14:51:18 +0000 (14:51 +0000)]
* put_svc_key.c (put_svc_key): remove spurious & in front of fkey
(it's a char[] and takint address of it is redundant)
* recvauth.c (krb_recvauth): remove spurious & in front of
reference to kdata->session
* rd_req.c (krb_rd_req): remove spurious & in front of reference
to ad->session
* g_in_tkt.c(decrypt_tkt): remove spurious & in front of reference
to key (it is a C_Block and taking address of it is
redundant)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5719
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 4 May 1995 14:06:24 +0000 (14:06 +0000)]
* Makefile.in: new includes target to install krb_err.h in
$(BUILDTOP)/include; includes depends on krb_err.h.
Previously, it was attempting to install a header that had
not yet been generated!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5718
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 4 May 1995 08:58:13 +0000 (08:58 +0000)]
* klist.c : Changed progname to argv[0] for consistancy with
kdestroy, and to cleanup the code some.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5717
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 4 May 1995 08:57:45 +0000 (08:57 +0000)]
* kdestroy.c : Added #include <string.h>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5716
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 4 May 1995 02:03:40 +0000 (02:03 +0000)]
v5 database..
get_hostname: Needs to set the hostname to all lowercase for entry into the
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5715
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 4 May 1995 00:28:53 +0000 (00:28 +0000)]
* klist.c : #include <string.h>, a must for prototypes of various
string routines on systems where int != void *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5714
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 4 May 1995 00:11:40 +0000 (00:11 +0000)]
* krcp.c (answer_auth()): Set auth_context = NULL before using it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5713
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 3 May 1995 23:52:11 +0000 (23:52 +0000)]
* telnetd.c: respect HAVE_SYS_TTY_H
(sgi build now completes, though rshd doesn't work.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5712
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 May 1995 21:00:41 +0000 (21:00 +0000)]
Fix reversed sense of #ifdef OLD_SIGNALS to prevent use of calling signal()
from within a signal handler; it's not needed if you're using sigaction(), and
it tickles a bug in Solaris.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5711
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 3 May 1995 15:38:47 +0000 (15:38 +0000)]
* krb5.tex (subsubsection{The krb5_auth_context}): Added
auth_context routines.
* free.tex: Add krb5_xfree and krb5_free_data.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5710
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 3 May 1995 15:23:07 +0000 (15:23 +0000)]
Added prototype for krb5_auth_con_getkey
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5709
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 3 May 1995 14:38:25 +0000 (14:38 +0000)]
Added missing prototype for krb5_auth_con_setports
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5708
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:49:10 +0000 (07:49 +0000)]
* kpropd.c: (krb5_recvauth()): No longer needs the rc_type arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5707
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:48:48 +0000 (07:48 +0000)]
* recvauth.c, compat_recv.c (krb5_recvauth()):
* compat_recv.c (krb5_compat_recvauth()):
No longer needs the rc_type arg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5706
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:48:10 +0000 (07:48 +0000)]
* adm_process.c: (krb5_recvauth()): No longer needs the rc_type arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5705
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:47:50 +0000 (07:47 +0000)]
* krb5.h: (krb5_recvauth()): No longer needs the rc_type arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5704
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:47:23 +0000 (07:47 +0000)]
* client.c: (krb5_recvauth()): No longer needs the rc_type arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5703
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:46:59 +0000 (07:46 +0000)]
* sserver.c: (krb5_recvauth()): No longer needs the rc_type arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5702
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:46:35 +0000 (07:46 +0000)]
* pop_init.c: (krb5_recvauth()): No longer needs the rc_type arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5701
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 07:46:08 +0000 (07:46 +0000)]
* krlogind.c, krshd.c: (krb5_compat_recvauth()):
No longer needs the rc_type arg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5700
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 3 May 1995 06:26:53 +0000 (06:26 +0000)]
Imakefile : Removed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5699
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 3 May 1995 05:57:32 +0000 (05:57 +0000)]
Up to date API specs
Still needed:
a) Some formatting fixing
b) Final check of all prototypes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5698
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 May 1995 02:57:02 +0000 (02:57 +0000)]
Don't try to play uid swapping games if the effective uid is not zero
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5697
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 3 May 1995 02:41:50 +0000 (02:41 +0000)]
nevermind..
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5696
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 3 May 1995 02:31:53 +0000 (02:31 +0000)]
nevermind..
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5695
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 May 1995 02:31:31 +0000 (02:31 +0000)]
Fix memory leaks in this function. The krb5_donot_replay structure
was not being freed properly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5694
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 May 1995 02:31:01 +0000 (02:31 +0000)]
kadmin.c (main): Fix really broken way client and client_name
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
Theodore Tso [Wed, 3 May 1995 02:14:11 +0000 (02:14 +0000)]
Bug fix to jik's bug fix. (Caused by our code drift since jik's
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
Tom Yu [Wed, 3 May 1995 01:43:07 +0000 (01:43 +0000)]
* Makefile.in: nuke spurious whitespace in blank line
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5691
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 3 May 1995 01:41:31 +0000 (01:41 +0000)]
* Makefile.in: nuke spurious whitespace from blank line
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5690
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 3 May 1995 01:36:28 +0000 (01:36 +0000)]
* Makefile.in: remove spurious whitespace from blank line
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5689
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 3 May 1995 01:28:37 +0000 (01:28 +0000)]
* .rconf: copy kadmin.old as well
* Makefile.in: nuke spurious whitespace on blank line
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5688
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 May 1995 01:18:57 +0000 (01:18 +0000)]
Fix lots of typos in krb5_make_fulladdrs() patch. (Lots of places where
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
Mark Eichin [Wed, 3 May 1995 00:54:34 +0000 (00:54 +0000)]
* get_krbhst.c (krb5_get_krbhst): look in KRB5_ENV_KDC
(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
Mark Eichin [Wed, 3 May 1995 00:53:54 +0000 (00:53 +0000)]
* osconf.h (KRB5_ENV_KDC): add KERBEROS_SERVER environment
variable, both for user and testsuite convenience.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5685
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Tue, 2 May 1995 23:31:45 +0000 (23:31 +0000)]
* 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()):
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
Ezra Peisach [Tue, 2 May 1995 13:33:10 +0000 (13:33 +0000)]
clean-unix: Remove the installed krb_err.h in the include directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5683
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 2 May 1995 03:19:24 +0000 (03:19 +0000)]
krb5_set_config_files needs a const in the declaration to match call
to profile_init
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5682
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 2 May 1995 03:17:33 +0000 (03:17 +0000)]
Add const to prototype for krb5_set_config_files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5681
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 2 May 1995 01:36:14 +0000 (01:36 +0000)]
Use tests/resolve/resolve to get the fully qualified domain name of
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
Theodore Tso [Tue, 2 May 1995 01:27:45 +0000 (01:27 +0000)]
Add --quiet option which only prints the fully qualified domain name.
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
Chris Provenzano [Mon, 1 May 1995 21:09:37 +0000 (21:09 +0000)]
* genaddrs.c (krb5_auth_con_genaddrs()),
* 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
Chris Provenzano [Mon, 1 May 1995 20:49:56 +0000 (20:49 +0000)]
* auth_con.c (krb5_auth_con_free()) :
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
Chris Provenzano [Mon, 1 May 1995 20:48:26 +0000 (20:48 +0000)]
* init_sec_context.c (krb5_gss_init_sec_context()) :
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
Chris Provenzano [Mon, 1 May 1995 20:47:52 +0000 (20:47 +0000)]
* client.c (main()): Changes to auth_context to better
support full addresses, for mk_safe() and friends.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5675
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Mon, 1 May 1995 20:47:18 +0000 (20:47 +0000)]
* sim_server.c (main()): Changes to auth_context to better
support full addresses, for mk_safe() and friends.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5674
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Mon, 1 May 1995 20:46:56 +0000 (20:46 +0000)]
* sim_client.c (main()): Changes to auth_context to better
support full addresses, for mk_safe() and friends.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5673
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Mon, 1 May 1995 20:46:24 +0000 (20:46 +0000)]
* kcmd.c (kcmd()): Bug fixes from jik
* 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
Theodore Tso [Mon, 1 May 1995 18:13:32 +0000 (18:13 +0000)]
Added README file to the krb425 library
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5671
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 1 May 1995 17:37:45 +0000 (17:37 +0000)]
Check the return code from kdb5_init_context()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5670
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 1 May 1995 17:32:30 +0000 (17:32 +0000)]
krb5.h (krb5_set_config_files): Added new function prototype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5669
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 1 May 1995 17:29:03 +0000 (17:29 +0000)]
init_os_ctx.c (krb5_set_config_files): New function. Provides a
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
Ezra Peisach [Mon, 1 May 1995 15:35:15 +0000 (15:35 +0000)]
Temporary hack for the alpha. Undefine STREAMSPTY if defined.
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
Ezra Peisach [Mon, 1 May 1995 15:32:10 +0000 (15:32 +0000)]
Call to krb5_read_password takes as an argument an int* not an int to represent the length of the buffer
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5666
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 1 May 1995 01:49:45 +0000 (01:49 +0000)]
Formatting fixes.
Makefile: Include free.tex
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5665
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 1 May 1995 01:47:15 +0000 (01:47 +0000)]
Updated API's on all of these
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5664
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 30 Apr 1995 20:07:25 +0000 (20:07 +0000)]
Global variables krb5_config_file and krb5_trans_file definitions
conditionalized on OLD_CONFIG_FILES.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5663
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 30 Apr 1995 03:10:55 +0000 (03:10 +0000)]
Do not redefine PROTOTYPE if it is already defined
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5662
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sat, 29 Apr 1995 18:15:07 +0000 (18:15 +0000)]
Fix spacing in configure --help for the krb4 options
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5661
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sat, 29 Apr 1995 17:18:42 +0000 (17:18 +0000)]
Remove the unused argument to aggree with the expected calling
prototype from main. (fixes coredump in dejagnu tests)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5660
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 29 Apr 1995 05:28:26 +0000 (05:28 +0000)]
Link the libraries twice due to circular dependency in the libraries.
(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
Theodore Tso [Sat, 29 Apr 1995 04:44:39 +0000 (04:44 +0000)]
Fix fencepost error which caused an access beyond the allocated memory
of piece->data.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5658
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 29 Apr 1995 04:35:37 +0000 (04:35 +0000)]
Use Posix sigaction() instead of signal() to set signal handlers.
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
Tom Yu [Sat, 29 Apr 1995 04:35:12 +0000 (04:35 +0000)]
* g_phost.c: removed references to sys/param.h and netdb.h
* realmofhost.c: ditt
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5656
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 29 Apr 1995 04:33:04 +0000 (04:33 +0000)]
Call krb5_free_priv_enc_part to free the entire privenc_msg structure
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5655
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 29 Apr 1995 04:32:04 +0000 (04:32 +0000)]
kadmin.c (main): Don't free the credentials cache twice in case
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
Theodore Tso [Sat, 29 Apr 1995 04:31:18 +0000 (04:31 +0000)]
Use $(LD) instead of $(CC) so that we can do purify checking
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5653
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 29 Apr 1995 04:30:45 +0000 (04:30 +0000)]
adm_network.c (setup_network): Use sigaction() instead of
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
Theodore Tso [Sat, 29 Apr 1995 04:16:10 +0000 (04:16 +0000)]
kdc_util.c (kdc_process_tgs_req): Make sure apreq->ticket gets
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
Theodore Tso [Sat, 29 Apr 1995 00:36:13 +0000 (00:36 +0000)]
Don't use setreuid() to play games with the real uid, since not all
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
Keith Vetter [Sat, 29 Apr 1995 00:09:05 +0000 (00:09 +0000)]
Windows gssapi demo now works. The UI isn't great but hey
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5648
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 22:09:45 +0000 (22:09 +0000)]
* Makefile.in (KLIB): put KRB4_LIB inside KLIB
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5647
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 22:05:14 +0000 (22:05 +0000)]
* Makefile.in (LOCAL_LIBRARIES): put KRB4_LIB inside KLIB, and put
KDB4_LIB ahead of them both.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5646
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 22:03:54 +0000 (22:03 +0000)]
Disable command recognition for not-fully-implemented commands
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5645
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 22:01:21 +0000 (22:01 +0000)]
* Makefile.in (KLIB): include KRB4_LIB directly, to satisfy both
versions of the dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5644
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 21:49:24 +0000 (21:49 +0000)]
signal.h, not sys/signal.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5643
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 21:43:03 +0000 (21:43 +0000)]
Sorry - reinstate <sys/signal.h> for srv_net and proto_serv
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5642
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 21:39:35 +0000 (21:39 +0000)]
* srv_net.c: include <signal.h>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5641
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 21:39:20 +0000 (21:39 +0000)]
Added check for POSIX_FILE_LOCK to enable POSIX file locking
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5640
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 21:00:51 +0000 (21:00 +0000)]
Add new document describing kadmin extensions to admin protocol
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5639
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 20:56:55 +0000 (20:56 +0000)]
Make links work with both --with-krb4 and --with-krb4=/usr/athena
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5638
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 20:41:31 +0000 (20:41 +0000)]
* kparse.h (strutol, strsave): are only static in this module
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5637
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 20:39:44 +0000 (20:39 +0000)]
Fix bug in lang_init_slist() which would not return that it had
successfully initialized.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5636
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 20:38:05 +0000 (20:38 +0000)]
oops. s/CHECK/PROG/
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5635
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 20:36:57 +0000 (20:36 +0000)]
configure.in: Add check for KRB5_POSIX_LOCKS
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
Theodore Tso [Fri, 28 Apr 1995 20:23:10 +0000 (20:23 +0000)]
Add #include of fcntl.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5633
dc483132-0cff-0310-8789-
dd5450dbe970