Theodore Tso [Tue, 11 Jul 1995 17:06:21 +0000 (17:06 +0000)]
If the key version number is specified, check to make sure that the
entry has the correct key version number.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6276
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 11 Jul 1995 11:37:57 +0000 (11:37 +0000)]
Add prototype for set_tgtkey. kdc now compiles cleanly with
-Wmissing_prototypes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6275
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 10 Jul 1995 21:54:29 +0000 (21:54 +0000)]
kerberos_v4.c: Add prototypes for compat_decrypt_key,
kerb_get_principal, check_princ, v4_klog
network.c (process_packet): Make prog a const char *
main.c: Add prototypes for find_realm_data, setup_server_realm, usage,
request_exit, setup_signal_handlers, initialize_realms, finish_realms.
kdc_util.h: Add prototypes for against_local_policy_as,
against_local_policy_tgs, validate_as_request, validate_tgs_request,
fetch_asn1_field, kdc_initialize_rcache, process_packet.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6274
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 9 Jul 1995 11:39:45 +0000 (11:39 +0000)]
* aclocal.m4: backslash '$' characters that go into double-quoted
strings so shells that treat $(foo) like `foo` won't barf
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6272
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 9 Jul 1995 07:41:29 +0000 (07:41 +0000)]
* Makefile.in: remove bogus definitions of prefix, etc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6271
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sun, 9 Jul 1995 02:38:12 +0000 (02:38 +0000)]
Make sure the dbm context is initialized before we start
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6270
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 8 Jul 1995 22:00:55 +0000 (22:00 +0000)]
Also log L_KRB_PERR error messages, so we know when there are protocol
problems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6269
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:10:32 +0000 (21:10 +0000)]
Remove LDFLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6268
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:10:22 +0000 (21:10 +0000)]
Make symlink in TOPLIBD for libss
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6267
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:10:03 +0000 (21:10 +0000)]
Add DEPLIBS, needed by shared library rule
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6266
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:09:13 +0000 (21:09 +0000)]
Reorganize library logic and use LDFLAGS from configure
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6265
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:07:55 +0000 (21:07 +0000)]
Find libcom_err in TOPLIBD
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6264
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:07:22 +0000 (21:07 +0000)]
Describe previous changes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6263
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:06:59 +0000 (21:06 +0000)]
Use checksum verifier
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6262
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:05:04 +0000 (21:05 +0000)]
Build t_cksum under unix
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6261
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:04:52 +0000 (21:04 +0000)]
Add definition to select backwards compatability with old RSA-MD5-DES
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6260
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:04:29 +0000 (21:04 +0000)]
New checksum verifier test
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6259
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:04:06 +0000 (21:04 +0000)]
Add checksum verification procedure and dispatch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6258
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:03:37 +0000 (21:03 +0000)]
Fix implementation of RSA-MD5-DES checksums, add verifier function/dispatch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6257
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:02:21 +0000 (21:02 +0000)]
Add t_cksum under unix
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6256
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:02:10 +0000 (21:02 +0000)]
Add definition to enable compatibility with old versions of RSA-MD4-DES
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6255
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:01:41 +0000 (21:01 +0000)]
Add confounder length definition
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6254
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:01:22 +0000 (21:01 +0000)]
Add verifier procedure/dispatch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6253
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 21:01:10 +0000 (21:01 +0000)]
Correct implementation of RSA-MD4-DES checksums and add verifier procedure/dispatch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6252
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:59:52 +0000 (20:59 +0000)]
Add checksum verifier procedure/dispatch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6251
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:58:36 +0000 (20:58 +0000)]
Reorganize library logic and use LDFLAGS from configure
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6250
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:58:10 +0000 (20:58 +0000)]
Use checksum verifier routine
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6249
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:57:24 +0000 (20:57 +0000)]
Remove LDFLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6248
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:55:36 +0000 (20:55 +0000)]
Add confounder length for RSA-MD5-DES
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6247
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:55:05 +0000 (20:55 +0000)]
Add checksum verifier dispatch in checksum entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6246
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:54:23 +0000 (20:54 +0000)]
Add DEPLIBS and LDFLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6245
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 7 Jul 1995 20:45:56 +0000 (20:45 +0000)]
Add ability to set LDFLAGS for everything with --with-ldopts=<mumble>.
Add ability to select libraries to link with from configure script. This
centralizes the library structure here.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6244
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:31:42 +0000 (23:31 +0000)]
* rd_safe.c (krb5_rd_safe_basic): Pass context to os_localaddr
* rd_priv.c (krb5_rd_priv_basic): Pass context to os_localaddr.
* rd_cred.c (krb5_rd_cred_basic): Pass context to os_localaddr.
* get_in_tkt.c (krb5_get_in_tkt): Pass context to os_localaddr.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6243
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:23:27 +0000 (23:23 +0000)]
* kpasswd.c (get_first_ticket): Pass context to os_localaddr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6242
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:23:01 +0000 (23:23 +0000)]
* kadmin.c (get_first_ticket): Pass context to os_localaddr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6241
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:22:20 +0000 (23:22 +0000)]
* krb_auth_su.c (krb5_get_tkt_via_passwd): Pass context to
os_localaddr.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6240
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:21:19 +0000 (23:21 +0000)]
* krb5.hin: Change definition of krb5_os_localaddr to include
context argument.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6239
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:20:29 +0000 (23:20 +0000)]
* adm_conn.c (kadm_get_creds): Pass kcontext to os_localaddr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6238
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:19:46 +0000 (23:19 +0000)]
* localaddr.c: moved to lib/crypto/os; just a stub here
* ustime.c: moved to lib/crypto/os; just a stub here.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6237
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:18:24 +0000 (23:18 +0000)]
* new_rn_key.c (mit_des_init_random_number_generator): don't call
us_timeofday with context arg; also update for new
function names (krb5_crypto_*).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6236
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 6 Jul 1995 23:16:55 +0000 (23:16 +0000)]
* localaddr.c: migrated from lib/krb5/os
* ustime.c: migrated from lib/krb5/os; removed context variable
from arglist.
* Makefile.in: don't copy or remove localaddr.c and ustime.c;
they're local now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6235
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 6 Jul 1995 14:06:33 +0000 (14:06 +0000)]
prof_int.h must be included after stdio.h for prototypes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6234
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 6 Jul 1995 13:59:14 +0000 (13:59 +0000)]
Remove t_an_to_ln.o when making clean
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6233
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 6 Jul 1995 13:55:53 +0000 (13:55 +0000)]
Checking in the change of removing makeshlib
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6232
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 6 Jul 1995 13:55:04 +0000 (13:55 +0000)]
Remove makeshlib on clean
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6231
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Thu, 6 Jul 1995 01:41:48 +0000 (01:41 +0000)]
Added MPW Worksheet to build on Macintosh (may get replaced later)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6230
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Thu, 6 Jul 1995 01:39:47 +0000 (01:39 +0000)]
Changes for Macintosh implementation
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 6 Jul 1995 00:08:24 +0000 (00:08 +0000)]
Remove declaration of errno altoghether. "extern int errno;" is
always wrong.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6228
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 6 Jul 1995 00:05:35 +0000 (00:05 +0000)]
Don't use the TIOCLSET ioctl unless we're not using POSIX_TERMIOS.
Don't just blindly set the file status flags to 0. Instead, do a
fcntl(0, F_GETFL), and then reset the nonblocking flags.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6227
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 4 Jul 1995 06:13:59 +0000 (06:13 +0000)]
* makeshlib.sh: Add support for NetBSD shared libraries
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6226
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 4 Jul 1995 06:13:27 +0000 (06:13 +0000)]
* configure.in: Add support for NetBSD shared libraries
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6225
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 3 Jul 1995 19:17:41 +0000 (19:17 +0000)]
* Makefile.in (libdb.a): Quiet the if statement
* configure.in: Symlink $(TOPLIBD)/libdb.* from the right place.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6224
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 3 Jul 1995 01:46:55 +0000 (01:46 +0000)]
* Replace Gcc test from top level configure.in with one from
util/configure.in.
* Modify top level configure.in and util/makeshlib.sh so AIX can
build/use shared libs with Gcc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6223
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 3 Jul 1995 00:13:32 +0000 (00:13 +0000)]
* aclocal.m4 (_MAKE_SUBDIRS): Fixed so that error propogates
upward if -[ik] not specified.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6222
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 2 Jul 1995 23:59:05 +0000 (23:59 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in . CVS: CVS: Modified Files:
----------------------------------------------------------------------
Declare errno as extern int, not just int. This prevents masking the
definition in the c library, which can make life interesting under
AIX.
CVS:
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6221
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 2 Jul 1995 23:22:04 +0000 (23:22 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in . CVS: CVS: Modified Files:
----------------------------------------------------------------------
Correct logic in krb5_recvauth so that it returns an error reply if
authentication fails.
CVS:
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6220
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 2 Jul 1995 10:50:04 +0000 (10:50 +0000)]
* aclocal.m4 (SubdirLibRule): don't recreate DONE if list of objs
is null to avoid re-making lotsa stuff.
(_MAKE_SUBDIRS): really gross sh hack for subdir
recursion; make -[ik] should dtrt now even with broken
makes (like Ultrix) that do sh -ce "rule". Basically,
throw an "if" test around the recursion line so that even
if the -e option to sh is set by make, an error in a
subdir below won't cause for loop to exit unless we want
it to.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6218
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 2 Jul 1995 09:19:35 +0000 (09:19 +0000)]
* commands.c: rename setmode() and clearmode() to tel_setmode()
and tel_clearmode() to avoid conflicts with setmode()
defined in NetBSD unistd.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6217
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 2 Jul 1995 05:23:21 +0000 (05:23 +0000)]
* configure.in: Don't check for pgno_t; it's not in sys/types.h on
any system I've seen, and it breaks the following check
for datum.dsize under netbsd.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6216
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:22:58 +0000 (20:22 +0000)]
Add shared library support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6215
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:21:49 +0000 (20:21 +0000)]
Add ability to switch between Berkeley and DBM for KDC database
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6214
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:21:28 +0000 (20:21 +0000)]
Add profile and Berkeley database smarts for aname_to_lname
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6213
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:20:34 +0000 (20:20 +0000)]
Move Berkeley database code here; remove typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6212
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:20:03 +0000 (20:20 +0000)]
Describe previous changes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6211
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:19:41 +0000 (20:19 +0000)]
Add ability to test using Berkeley or DBM
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6210
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:19:25 +0000 (20:19 +0000)]
Remove Berkeley database object modules
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6209
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:19:06 +0000 (20:19 +0000)]
Add function dispatch for database accesses
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6208
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:16:55 +0000 (20:16 +0000)]
Fix initialization and terminal disassociation broken by previous rev
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6207
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:15:17 +0000 (20:15 +0000)]
Add usage of compile(3) for regular expressions so SysV machines have them too
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6206
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:14:39 +0000 (20:14 +0000)]
Add kdb dispatch table for changing between Berkeley and DBM
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6205
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:11:46 +0000 (20:11 +0000)]
Add ability to switch between Berkeley and DBM for both aname and KDC database
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6204
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 30 Jun 1995 20:11:05 +0000 (20:11 +0000)]
Be more flexible where sources come from when building shared libraries
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6203
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 1995 02:56:32 +0000 (02:56 +0000)]
* krb5.hin: special-case ultrix brokenness (again!) for
KRB5_CONST; krb5.h breaks when typedef'ing while
installed. Yuck.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6202
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Thu, 29 Jun 1995 19:05:08 +0000 (19:05 +0000)]
Remove -g from LDFLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6201
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Thu, 29 Jun 1995 18:58:21 +0000 (18:58 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in . CVS: CVS: Modified Files:
----------------------------------------------------------------------
Input the master key before daemoning if you're going to detach. This
makes kadmind5 -m useful without -n as well.
CVS:
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6200
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 29 Jun 1995 10:56:35 +0000 (10:56 +0000)]
* configure.in (--with-dbm): new option, allows easy building of
normal dbm support for compatibility.
* Makefile.in (DBFLAGS): variable to hold substitution of flags to
enable Berkeley db support.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6199
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 29 Jun 1995 10:52:46 +0000 (10:52 +0000)]
* kerberos_v4.c (check_princ): delete master_key_version check,
since we never actually set it.
(main): elide original V4 server code to avoid confusion when
looking for variable references.
(type_2_v5err): reformat for 79 columns instead of 80 and
conditionalize out since it is unused (though still informative.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6198
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 29 Jun 1995 00:24:43 +0000 (00:24 +0000)]
fix the other typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6197
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 29 Jun 1995 00:23:18 +0000 (00:23 +0000)]
fix typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6196
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 29 Jun 1995 00:21:15 +0000 (00:21 +0000)]
* test.c: use PROTOTYPE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6195
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 1995 00:19:14 +0000 (00:19 +0000)]
Proper test for GCC. (based on autoconf test).
If using gcc, set shlibs_ldflag and noshlibs_ldflag properly for compiler.
(I put it in the OSF code, but the testing may be more generic for all systems)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6194
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 21:37:32 +0000 (21:37 +0000)]
* test.c, k524init.c, getcred.c: rewrote for old style definitiions.
* encode.c: use PROTOTYPE instead of KRB5_PROTOTYPE.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6193
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 21:30:33 +0000 (21:30 +0000)]
* configure.in: with static libs, we need install-unix, not install
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6192
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 21:16:39 +0000 (21:16 +0000)]
* read_passwd.c, configure.in: use HAS_ANSI_VOLATILE instead
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6191
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 28 Jun 1995 21:13:07 +0000 (21:13 +0000)]
aclocal.m4 (KRB_INCLUDE): Search the build directories before the
source directories. (Doesn't hurt anything, and it helps in a few
cases of user error.)
configure.in: Conditionalize on the name of CC to determine whether to
use the gcc or suncc flags for shared libraries. (This is a little
bit ugly; we might want to use a better test later on.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6190
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 28 Jun 1995 20:45:17 +0000 (20:45 +0000)]
Rename ct_c.*.in to ct_c_*.in, so that the sources will unpack cleanly
under DOS. Argh.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6189
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 28 Jun 1995 18:45:02 +0000 (18:45 +0000)]
* krlogin.c: don't redeclare noltc, defltc if we happen to have
TIOCGLTC in addition to POSIX_TERMIOS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6188
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 28 Jun 1995 18:29:26 +0000 (18:29 +0000)]
Work around bug in autoconf which causes a relative path for dnl
AC_PROG_INSTALL to be cached. We workaround this by unsetting the
cache variable if it contains a relative pathname.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6187
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 28 Jun 1995 18:28:11 +0000 (18:28 +0000)]
Rename ct_c.* to ct_c.*.in. ct_c.sed.in is now processed by sed to
remove comment lines beginning with '#', since some sed programs can't
handle that. Change config_script so that the directory where the
ct_c.* files can be specified, since those are in the build directory,
instead of the source directory. (This is all for the sake of System
V sed. Sigh.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6186
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 28 Jun 1995 17:51:17 +0000 (17:51 +0000)]
sim_client.c: Include stdlib.h or declare malloc. Include string.h for
strlen and memcpy definitions
configure.in: Check for stdlib.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6185
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 28 Jun 1995 17:20:11 +0000 (17:20 +0000)]
Include <string.h> for memcpy definitions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6184
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 04:56:49 +0000 (04:56 +0000)]
* configure.in: int*_t and pgno_t declarations from
hash/configure.in.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6183
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 04:50:58 +0000 (04:50 +0000)]
* krb524d.c: changed main, krb5_free_keyblock_contents to use old
style definitions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6182
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 04:25:26 +0000 (04:25 +0000)]
* configure.in: use AC_CHECK_FUNCS and check for memmove.
hash.h: if we don't HAVE_MEMMOVE use bcopy.
Really, though, a quick glance seems to indicate that most of the uses
of memmove could really be handled by memcpy, but I haven't time to prove
it right now. If I'm right, back out this check. (This is for sunos 4 which
has memcpy but not memmove.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6181
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 04:23:17 +0000 (04:23 +0000)]
* dbtest.c (xmalloc): use memcpy, memmove isn't needed.
* configure.in: use AC_CHECK_FUNCS for index, and check for memmove.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6180
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 04:05:49 +0000 (04:05 +0000)]
* run.test: look in /usr/share/lib/dict/words to find the words
file under SGI Irix 5.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6179
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 04:03:00 +0000 (04:03 +0000)]
* krb4-proto.h: correct signature for krb_rd_req.
* krb.h (swap_u_long): use KRB4_32 in swap() macros.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6178
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 04:02:00 +0000 (04:02 +0000)]
* rd_req.c (krb_rd_req): from_addr is an address, so use unsigned
KRB4_32 instead of long.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6177
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 03:59:01 +0000 (03:59 +0000)]
* rd_safe.c (krb_rd_safe): use KRB4_32 for address comparison
and checksum swapping.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6176
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 28 Jun 1995 00:36:57 +0000 (00:36 +0000)]
* db.h: *int*_t are likely to collide with native types,
and the int8_t and *int64_t are never used anyway, so push them
off to hash/configure.in AC_CHECK_TYPE calls.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6175
dc483132-0cff-0310-8789-
dd5450dbe970