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
Mark Eichin [Fri, 28 Apr 1995 20:18:19 +0000 (20:18 +0000)]
* configure.in (PATH): use internal AC_CHECK_ECHO_N because change
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
Mark Eichin [Fri, 28 Apr 1995 20:15:12 +0000 (20:15 +0000)]
* lndir (ls): use ls -a to get dotfiles too
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5631
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 19:58:06 +0000 (19:58 +0000)]
Don't try to strip an empty line. This causes memory reference error
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5630
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 19:51:42 +0000 (19:51 +0000)]
Use $(LD) instead of $(CC) when trying to link. (So purify works).
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
Paul Park [Fri, 28 Apr 1995 19:36:27 +0000 (19:36 +0000)]
Add kadm to list of subdirectories to be built
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5628
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 19:35:24 +0000 (19:35 +0000)]
Oops, checked in wrote version of gss-misc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5627
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 19:34:56 +0000 (19:34 +0000)]
gss-server.c (main, sign_server): Make changes to allow
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
Paul Park [Fri, 28 Apr 1995 19:29:47 +0000 (19:29 +0000)]
Fix aclocal.m4 with --with-krb4 has a value. KDB4_LIB is now $withval/
lib/libkdb4.a.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5625
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 19:25:55 +0000 (19:25 +0000)]
Use new library libkadm.
Cleanup some type conflicts.
Allow for case-insensitivity for protocol commands.
Cleanup some include files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5624
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 19:18:09 +0000 (19:18 +0000)]
Use new library libkadm. Compilation cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5623
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 19:16:55 +0000 (19:16 +0000)]
Moved these administrative protocol functions out of libkrb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5622
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 19:15:28 +0000 (19:15 +0000)]
Remove INTERFACE from prototype definitions in adm_proto.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5621
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 19:13:20 +0000 (19:13 +0000)]
Moving adm_conn out of libkrb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5620
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 28 Apr 1995 19:12:32 +0000 (19:12 +0000)]
Remove adm_rw from libkrb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5619
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 19:07:39 +0000 (19:07 +0000)]
* krb4-proto.h: #if 0, not #ifdef 0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5618
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 18:57:49 +0000 (18:57 +0000)]
Don't try to include osconf.h
Remove osconf.h, and older version of lsb_addr_cmp.h (it was renamed, and
the old file wasn't deleted.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5617
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 28 Apr 1995 18:50:48 +0000 (18:50 +0000)]
Added zipping up windows gssapi demo program
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5616
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 28 Apr 1995 18:49:27 +0000 (18:49 +0000)]
Added an icon for the windows gss demo program
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5615
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 18:35:51 +0000 (18:35 +0000)]
* aclocal.m4 (WITH_KRB4): put AC_CONST in, since we always end up
needing it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5614
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 28 Apr 1995 18:34:37 +0000 (18:34 +0000)]
Added windows gssapi demo program
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5613
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:36:13 +0000 (17:36 +0000)]
Add des_read_pw_string, since it's used by the V4 login.c code
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5612
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:30:07 +0000 (17:30 +0000)]
Also compile the kadmin.old directory, at least for now. (At some
point this should be controlled by --enable-old-kadmin).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5611
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:27:29 +0000 (17:27 +0000)]
Lots of lint cleanup; declare functions before they are used, add
appropriate return types (int or void) to functions as necessary, etc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5610
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:11:06 +0000 (17:11 +0000)]
conf.h, conf-*.h: Removed. We don't need them anymore, we're using
autoconf! (And things like MSBFIRST AND LSBFIRST aren't needed
anyway, since the CNS V4 library figures this all out dynamically
anyway.)
krb4-proto.h: Don't define the functions found in getenv.o or
setenv.o. Declare krb_stime() instead of stime().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5609
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:06:58 +0000 (17:06 +0000)]
srv_net.c: Linux doesn't have SOMAXCONN, assume 5 if not defined
configure.in: Add check for -ldbm and -lndbm.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5608
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:05:22 +0000 (17:05 +0000)]
Remove unnecessary include of conf.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5607
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:02:10 +0000 (17:02 +0000)]
* init_ctx.c (krb5_free_context): Extra semicolon meant the etypes
field in the context was never being freed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5606
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 17:00:25 +0000 (17:00 +0000)]
Lint cleanup; explicitly declare that daemon() returns an int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5605
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 16:57:24 +0000 (16:57 +0000)]
Makefile.in (clean-unix): Remove profile.h and test_profile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5604
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 15:19:10 +0000 (15:19 +0000)]
* configure.in: switch to WITH_KRB4 since it suffices in this case
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5603
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 15:16:56 +0000 (15:16 +0000)]
* configure.in: correct use of --with-krb4 to match top level
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5602
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 15:00:24 +0000 (15:00 +0000)]
* reconf (usage): fix the whole message
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5601
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 14:40:41 +0000 (14:40 +0000)]
really fix the quoting. $() is not an sh construct, only a make construct.
"I don't think that syntax means what you think it does" -- I. Montoya
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5600
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 13:35:39 +0000 (13:35 +0000)]
Remove util/profile/prof_err.[ch] after building kerbsrc.zip, since
this also screws up the Unix build.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5599
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 06:07:38 +0000 (06:07 +0000)]
* aclocal.m4 (WITH_KRB4): fix quoting in pathname case
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5598
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 06:02:45 +0000 (06:02 +0000)]
* kuserok.c: HAS_UNISTD_H instead of USE_.
* configure.in: test for HAVE_STRSAVE (for kparse.c).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5597
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 28 Apr 1995 05:53:43 +0000 (05:53 +0000)]
* configure.in: use AC_CHECK_SIZEOF(int) to set BITS16/BITS32.
Use AC_TRY_RUN test to set MSBFIRST or LSBFIRST.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5596
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 28 Apr 1995 05:52:11 +0000 (05:52 +0000)]
* send_tgs.c (krb5_send_tgs()), gc_via_tkt.c (krb5_get_cred_via_tkt()):
Removed krb5_cksumtype argument.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5595
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 28 Apr 1995 05:51:35 +0000 (05:51 +0000)]
* krb5.h (krb5_send_tgs()) : Removed krb5_cksumtype argument
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5594
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 28 Apr 1995 03:59:09 +0000 (03:59 +0000)]
I don't know why it didn't get removed the last time I tried
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5593
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 28 Apr 1995 03:22:36 +0000 (03:22 +0000)]
Remove util/profile/profile.h after building kerbsrc.zip; this file
screws up the Unix build.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5592
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 28 Apr 1995 01:50:16 +0000 (01:50 +0000)]
Do not prototype krb_err_txt. kerberosIV/krb.h defines
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5591
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 28 Apr 1995 01:43:07 +0000 (01:43 +0000)]
* krb5.h : Added mask AP_OPTS_WIRE_MASK
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5590
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 28 Apr 1995 01:40:58 +0000 (01:40 +0000)]
* auth_con.c (krb5_auth_con_getaddrs() and krb5_auth_con_getflags()):
Added for completeness.
* mk_req_ext.c (krb5_mk_req_extended()) : Don't send the
AP_OPTS_USE_SUBKEY option over the wire.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5589
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 28 Apr 1995 01:28:57 +0000 (01:28 +0000)]
Have makefile copy profile.h for configuring on the PC
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5588
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 28 Apr 1995 01:18:29 +0000 (01:18 +0000)]
Fixes so that the Unix changes no longer breaks on the PC
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5587
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 27 Apr 1995 22:29:54 +0000 (22:29 +0000)]
Adding missing .cvsignore file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5586
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 27 Apr 1995 21:56:16 +0000 (21:56 +0000)]
* configure.in: check KRB4_LIB to know if we're building with krb4
support enabled and thus want kadmin.v4.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5585
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 27 Apr 1995 21:42:22 +0000 (21:42 +0000)]
* Makefile.in (krshd, login.krb5, krlogind): KRB4_LIB needs to
appear before KLIB since it uses des425.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5584
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 27 Apr 1995 21:14:09 +0000 (21:14 +0000)]
* krb.h: add _fmemcpy, _fstrncpy, and far_fputs from cc-unix.h also
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5583
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 27 Apr 1995 21:10:07 +0000 (21:10 +0000)]
* configure.in: use AC_CONST since we need it for v4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5582
dc483132-0cff-0310-8789-
dd5450dbe970