krb5.git
29 years ago * rcp.exp (rcp_test()): Pass -c and -C args to encrypted rcp.
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

29 years ago * default.exp : Removed FILE: part of env(KRB5CCNAME)
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

29 years ago * krcp.c (answer_auth()): Requires two new args that are passed
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

29 years agoRemove all files in ZIPCLEANUP after building kerbsrc.zip. This keeps
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

29 years agoFix spelling typo
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

29 years agokrb5.conf: Add example of the new [realms]/<realm>/v4_instance_convert/
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

29 years agoprof_init.c (profile_get_values): Return PROF_NO_PROFILE if the
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

29 years agoconv_princ.c (krb5_425_conv_principal): Use new calling
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

29 years agoprof_tree.c (profile_free_node): Copy child->next to a scratch
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

29 years ago * krcp.c (answer_auth()): Don't destroy the credential cache
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

29 years agoUpdate .Sanitize file to reflect new files that have been added and deleted
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

29 years agoNew .Sanitize file for the windows/gss directory
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

29 years agoUpdate Sanitize file to reflect file additions, deletions
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

29 years agoReorganized some sections
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

29 years ago * put_svc_key.c (put_svc_key): remove spurious & in front of fkey
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

29 years ago * Makefile.in: new includes target to install krb_err.h in
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

29 years ago * klist.c : Changed progname to argv[0] for consistancy with
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

29 years ago * kdestroy.c : Added #include <string.h>
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

29 years agov5 database..
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

29 years ago * klist.c : #include <string.h>, a must for prototypes of various
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

29 years ago * krcp.c (answer_auth()): Set auth_context = NULL before using it
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

29 years ago * telnetd.c: respect HAVE_SYS_TTY_H
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

29 years agoFix reversed sense of #ifdef OLD_SIGNALS to prevent use of calling signal()
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

29 years ago * krb5.tex (subsubsection{The krb5_auth_context}): Added
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

29 years agoAdded prototype for krb5_auth_con_getkey
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

29 years agoAdded missing prototype for krb5_auth_con_setports
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

29 years ago * kpropd.c: (krb5_recvauth()): No longer needs the rc_type arg
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

29 years ago * recvauth.c, compat_recv.c (krb5_recvauth()):
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

29 years ago * adm_process.c: (krb5_recvauth()): No longer needs the rc_type arg
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

29 years ago * krb5.h: (krb5_recvauth()): No longer needs the rc_type arg
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

29 years ago * client.c: (krb5_recvauth()): No longer needs the rc_type arg
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

29 years ago * sserver.c: (krb5_recvauth()): No longer needs the rc_type arg
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

29 years ago * pop_init.c: (krb5_recvauth()): No longer needs the rc_type arg
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

29 years ago * krlogind.c, krshd.c: (krb5_compat_recvauth()):
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

29 years agoImakefile : Removed
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

29 years agoUp to date API specs
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

29 years agoDon't try to play uid swapping games if the effective uid is not zero
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

29 years agonevermind..
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

29 years agonevermind..
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

29 years agoFix memory leaks in this function. The krb5_donot_replay structure
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

29 years agokadmin.c (main): Fix really broken way client and client_name
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

29 years agoBug fix to jik's bug fix. (Caused by our code drift since jik's
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

29 years ago * Makefile.in: nuke spurious whitespace in blank line
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

29 years ago * Makefile.in: nuke spurious whitespace from blank line
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

29 years ago * Makefile.in: remove spurious whitespace from blank line
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

29 years ago * .rconf: copy kadmin.old as well
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

29 years agoFix lots of typos in krb5_make_fulladdrs() patch. (Lots of places where
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

29 years ago * get_krbhst.c (krb5_get_krbhst): look in KRB5_ENV_KDC
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

29 years ago * osconf.h (KRB5_ENV_KDC): add KERBEROS_SERVER environment
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

29 years ago * mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), mk_safe.c (mk_safe()),
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

29 years agoclean-unix: Remove the installed krb_err.h in the include directory
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

29 years agokrb5_set_config_files needs a const in the declaration to match call
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

29 years agoAdd const to prototype for krb5_set_config_files
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

29 years agoUse tests/resolve/resolve to get the fully qualified domain name of
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

29 years agoAdd --quiet option which only prints the fully qualified domain name.
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

29 years ago * genaddrs.c (krb5_auth_con_genaddrs()),
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

29 years ago * auth_con.c (krb5_auth_con_free()) :
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

29 years ago * init_sec_context.c (krb5_gss_init_sec_context()) :
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

29 years ago * client.c (main()): Changes to auth_context to better
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

29 years ago * sim_server.c (main()): Changes to auth_context to better
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

29 years ago * sim_client.c (main()): Changes to auth_context to better
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

29 years ago * kcmd.c (kcmd()): Bug fixes from jik
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

29 years agoAdded README file to the krb425 library
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

29 years agoCheck the return code from kdb5_init_context()
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

29 years agokrb5.h (krb5_set_config_files): Added new function prototype
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

29 years agoinit_os_ctx.c (krb5_set_config_files): New function. Provides a
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

29 years agoTemporary hack for the alpha. Undefine STREAMSPTY if defined.
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

29 years agoCall to krb5_read_password takes as an argument an int* not an int to represent the...
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

29 years agoFormatting fixes.
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

29 years agoUpdated API's on all of these
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

29 years agoGlobal variables krb5_config_file and krb5_trans_file definitions
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

29 years agoDo not redefine PROTOTYPE if it is already defined
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

29 years agoFix spacing in configure --help for the krb4 options
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

29 years agoRemove the unused argument to aggree with the expected calling
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

29 years agoLink the libraries twice due to circular dependency in the libraries.
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

29 years agoFix fencepost error which caused an access beyond the allocated memory
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

29 years agoUse Posix sigaction() instead of signal() to set signal handlers.
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

29 years ago * g_phost.c: removed references to sys/param.h and netdb.h
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

29 years agoCall krb5_free_priv_enc_part to free the entire privenc_msg structure
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

29 years agokadmin.c (main): Don't free the credentials cache twice in case
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

29 years agoUse $(LD) instead of $(CC) so that we can do purify checking
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

29 years agoadm_network.c (setup_network): Use sigaction() instead of
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

29 years agokdc_util.c (kdc_process_tgs_req): Make sure apreq->ticket gets
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

29 years agoDon't use setreuid() to play games with the real uid, since not all
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

29 years agoWindows gssapi demo now works. The UI isn't great but hey
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

29 years ago * Makefile.in (KLIB): put KRB4_LIB inside KLIB
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

29 years ago * Makefile.in (LOCAL_LIBRARIES): put KRB4_LIB inside KLIB, and put
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

29 years agoDisable command recognition for not-fully-implemented commands
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

29 years ago * Makefile.in (KLIB): include KRB4_LIB directly, to satisfy both
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

29 years agosignal.h, not sys/signal.h
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

29 years agoSorry - reinstate <sys/signal.h> for srv_net and proto_serv
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

29 years ago * srv_net.c: include <signal.h>
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

29 years agoAdded check for POSIX_FILE_LOCK to enable POSIX file locking
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

29 years agoAdd new document describing kadmin extensions to admin protocol
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

29 years agoMake links work with both --with-krb4 and --with-krb4=/usr/athena
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

29 years ago * kparse.h (strutol, strsave): are only static in this module
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

29 years agoFix bug in lang_init_slist() which would not return that it had
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

29 years agooops. s/CHECK/PROG/
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

29 years agoconfigure.in: Add check for KRB5_POSIX_LOCKS
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

29 years agoAdd #include of fcntl.h
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