krb5.git
28 years ago * Makefile.ov (unit-test-server-body): remove kdb5_edit
Barry Jaspan [Tue, 20 Aug 1996 17:50:38 +0000 (17:50 +0000)]
* Makefile.ov (unit-test-server-body): remove kdb5_edit

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8959 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * api.0/init.exp, api.2/init.exp, config/unix.exp, Makefile.ov:
Barry Jaspan [Tue, 20 Aug 1996 17:47:53 +0000 (17:47 +0000)]
* api.0/init.exp, api.2/init.exp, config/unix.exp, Makefile.ov:
  use kadmin.local instead of kdb5_edit

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8958 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * unix.exp: use kadmin.local instead of kdb5_edit
Barry Jaspan [Tue, 20 Aug 1996 17:35:13 +0000 (17:35 +0000)]
* unix.exp: use kadmin.local instead of kdb5_edit

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8957 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.ov, helpers.exp, v4server.1/change-password.exp: use
Barry Jaspan [Tue, 20 Aug 1996 17:34:51 +0000 (17:34 +0000)]
* Makefile.ov, helpers.exp, v4server.1/change-password.exp: use
  kadmin.local instead of kdb5_edit

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8956 dc483132-0cff-0310-8789-dd5450dbe970

28 years agorework the ovsec_kadm compat wording
Barry Jaspan [Tue, 20 Aug 1996 12:48:57 +0000 (12:48 +0000)]
rework the ovsec_kadm compat wording

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8955 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin.c: prints absolute 0 dates as "[never]", print mod date
Barry Jaspan [Mon, 19 Aug 1996 19:21:36 +0000 (19:21 +0000)]
* kadmin.c: prints absolute 0 dates as "[never]", print mod date
  and by on one line, fix coredump on getprinc -terse

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8954 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.in: add target for datetest
Barry Jaspan [Mon, 19 Aug 1996 16:12:18 +0000 (16:12 +0000)]
* Makefile.in: add target for datetest

* getdate.y: accept dates after 1999

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8953 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoMissed a file
Ezra Peisach [Sun, 18 Aug 1996 22:34:50 +0000 (22:34 +0000)]
Missed a file

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8952 dc483132-0cff-0310-8789-dd5450dbe970

28 years agokpasswd client moved to the v5passwdd directory
Ezra Peisach [Sun, 18 Aug 1996 22:34:30 +0000 (22:34 +0000)]
kpasswd client moved to the v5passwdd directory

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8951 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd the files to compile the old password changing program
Ezra Peisach [Sun, 18 Aug 1996 22:32:27 +0000 (22:32 +0000)]
Add the files to compile the old password changing program
(installed as v5passwd).

Comming soon: a test suite that uses this client.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8950 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.ov: update for new lib/kadm5 layout
Barry Jaspan [Fri, 16 Aug 1996 21:18:14 +0000 (21:18 +0000)]
* Makefile.ov: update for new lib/kadm5 layout

* api.1/lock.exp: jik's fix for lock test 13

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8949 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin.c: update addprinc and modprinc usage
Barry Jaspan [Fri, 16 Aug 1996 17:53:12 +0000 (17:53 +0000)]
* kadmin.c: update addprinc and modprinc usage

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8948 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: remove check for -ldbm and -lndbm (old old
Tom Yu [Fri, 16 Aug 1996 01:00:35 +0000 (01:00 +0000)]
* configure.in: remove check for -ldbm and -lndbm (old old
garbage).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8947 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * makeshlib.sh (alpha-*-osf*): add -expect_unresolved (due to
Tom Yu [Fri, 16 Aug 1996 00:49:59 +0000 (00:49 +0000)]
* makeshlib.sh (alpha-*-osf*): add -expect_unresolved (due to
dbm_error and dbm_clearerr not being in libc when making
libkdb5)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8946 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoremove ODBM line
Ezra Peisach [Fri, 16 Aug 1996 00:01:29 +0000 (00:01 +0000)]
remove ODBM line

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8945 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: Add USE_KDB5_LIBRARY to pick up -ldb. Recent
Tom Yu [Thu, 15 Aug 1996 23:57:24 +0000 (23:57 +0000)]
* configure.in: Add USE_KDB5_LIBRARY to pick up -ldb.  Recent
  changes to db-ndbm.h and k5-int.h cause ndbm.h to no
  longer be included, which means that the dbm_error and
  dbm_clearerr are no longer necessarily macros (as they
  often are in ndbm.h), so must be pulled in from libdb.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8944 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * scc_retrv.c: Fix def'n of flags_match to be properly
Tom Yu [Thu, 15 Aug 1996 21:12:54 +0000 (21:12 +0000)]
* scc_retrv.c: Fix def'n of flags_match to be properly
parenthesized (noticed by -Wall)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8943 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * mcc_retrv.c: Add parens to def'n of flags_match because == has
Tom Yu [Thu, 15 Aug 1996 21:12:33 +0000 (21:12 +0000)]
* mcc_retrv.c: Add parens to def'n of flags_match because == has
higher precedence than &. (noticed by -Wall)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8942 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * fcc_retrv.c (flags_match): Add parens to def'n of flags_match to
Tom Yu [Thu, 15 Aug 1996 21:12:10 +0000 (21:12 +0000)]
* fcc_retrv.c (flags_match): Add parens to def'n of flags_match to
make comparison correct. (== has higher precedence than &)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8941 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoSince we are only supporting the db in the util/db2 directory, just
Theodore Tso [Thu, 15 Aug 1996 20:49:53 +0000 (20:49 +0000)]
Since we are only supporting the db in the util/db2 directory, just
use db-ndbm.h, instead of hoping that the system ndbm.h will be
appropriate.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8940 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd prototypes for missing functions dbm_error() and dbm_clearerror()
Theodore Tso [Thu, 15 Aug 1996 20:48:40 +0000 (20:48 +0000)]
Add prototypes for missing functions dbm_error() and dbm_clearerror()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8939 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago"install" the db-ndbm header file with symlinks
Theodore Tso [Thu, 15 Aug 1996 20:30:22 +0000 (20:30 +0000)]
"install" the db-ndbm header file with symlinks

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8938 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago*** empty log message ***
Tom Yu [Thu, 15 Aug 1996 00:43:24 +0000 (00:43 +0000)]
*** empty log message ***

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8937 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * gssftp.exp: Do case insensitive match in case hostname doesn't
Tom Yu [Thu, 15 Aug 1996 00:42:51 +0000 (00:42 +0000)]
* gssftp.exp: Do case insensitive match in case hostname doesn't
get downcased.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8936 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * getrpcent.c: Add PROTOTYPE and conditionalize function
Tom Yu [Wed, 14 Aug 1996 00:01:53 +0000 (00:01 +0000)]
* getrpcent.c: Add PROTOTYPE and conditionalize function
prototypes.

* xdr.h: Add PROTOTYPE and conditionalize function prototypes.

* svc_auth_gssapi.c: Remove ANSI string concatenation, de-ANSI-fy
  function definitions.

* auth_gssapi_misc.c (auth_gssapi_display_status_1): Remove ANSI
string concatenation, de-ANSI-fy function definitions.

* auth_gssapi.h: Add PROTOTYPE and conditionalize function
prototypes.

* auth_gssapi.c (auth_gssapi_create): remove ANSI-ish string
concatenation, de-ANSI-fy function definitions.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8935 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoUse kadmin.local instead of kdb5_edit
Ezra Peisach [Tue, 13 Aug 1996 03:01:20 +0000 (03:01 +0000)]
Use kadmin.local instead of kdb5_edit

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8934 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* kadmin.1: Remove rename_principal. Add -maxrenewlife
Ezra Peisach [Tue, 13 Aug 1996 02:52:23 +0000 (02:52 +0000)]
* kadmin.1: Remove rename_principal. Add -maxrenewlife

* kadmin.c (kadmin_getprinc): Display the maximum renewable life field.
(kadmin_parse_princ_args): Add -maxrenwlife as a settable
field.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8933 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * osconf.h: add KPROPD_DEFAULT_KDB5_UTIL
Barry Jaspan [Mon, 12 Aug 1996 20:58:56 +0000 (20:58 +0000)]
* osconf.h: add KPROPD_DEFAULT_KDB5_UTIL

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8932 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kpropd.c: rework to use kdb5_util instead of kdb5_edit; don't
Barry Jaspan [Mon, 12 Aug 1996 18:34:47 +0000 (18:34 +0000)]
* kpropd.c: rework to use kdb5_util instead of kdb5_edit; don't
  send # bytes received until kdb5_util succeeds, so kprop won't
  print SUCCESS until it is true; accept an acl_file name on the
  command line

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8931 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kdb_dbm.c (krb5_dbm_db_rename): rename should not insist that
Barry Jaspan [Mon, 12 Aug 1996 18:13:10 +0000 (18:13 +0000)]
* kdb_dbm.c (krb5_dbm_db_rename): rename should not insist that
  the target database not already exist

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8930 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in, Makefile.in: don't build kpasswd.local (not really
Barry Jaspan [Mon, 12 Aug 1996 16:02:06 +0000 (16:02 +0000)]
* configure.in, Makefile.in: don't build kpasswd.local (not really
  needed)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8929 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.ov: add $(REGEXLIB)
Barry Jaspan [Mon, 12 Aug 1996 15:51:04 +0000 (15:51 +0000)]
* Makefile.ov: add $(REGEXLIB)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8928 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * ovsec_kadmd.c (main): strip path components of whoami
Barry Jaspan [Mon, 12 Aug 1996 15:50:19 +0000 (15:50 +0000)]
* ovsec_kadmd.c (main): strip path components of whoami

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8927 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin_ct.ct: fix typo in add_principal
Barry Jaspan [Mon, 12 Aug 1996 15:48:12 +0000 (15:48 +0000)]
* kadmin_ct.ct: fix typo in add_principal

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8926 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kdb5_util.c: make mkey_password non-static
Barry Jaspan [Mon, 12 Aug 1996 15:43:42 +0000 (15:43 +0000)]
* kdb5_util.c: make mkey_password non-static

* kdb5_create.c: use global mkey_password

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8925 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * init_db: use kdb5_util instead of kdb5_create
Barry Jaspan [Mon, 12 Aug 1996 15:37:24 +0000 (15:37 +0000)]
* init_db: use kdb5_util instead of kdb5_create

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8924 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * keytab.c: reset static global "quiet" each time; don't print
Barry Jaspan [Sun, 11 Aug 1996 20:30:33 +0000 (20:30 +0000)]
* keytab.c: reset static global "quiet" each time; don't print
  whoami on normal status messages

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8923 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoFix bug that caused files transmitted by a NetBSD box to have file
Sam Hartman [Sat, 10 Aug 1996 20:51:53 +0000 (20:51 +0000)]
Fix bug that caused files transmitted by a NetBSD box to have file
names of (null).
  CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8922 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoUnlock source cache before executing command
Sam Hartman [Sat, 10 Aug 1996 09:28:32 +0000 (09:28 +0000)]
Unlock source cache before executing command

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8921 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* Read all kadmin output before waiting for it to die
Sam Hartman [Sat, 10 Aug 1996 04:39:04 +0000 (04:39 +0000)]
* Read all kadmin output before waiting for it to die
* Sleep 2 seconds before starting KDC, so we know we slept at elast one second
     so that the file modification time will actually change.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8920 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoDon't dump core when principal doesn't exist
Sam Hartman [Sat, 10 Aug 1996 04:23:56 +0000 (04:23 +0000)]
Don't dump core when principal doesn't exist

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8919 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoChange shared:: to shared: in the creation of the shared subdir.
Ezra Peisach [Fri, 9 Aug 1996 19:23:59 +0000 (19:23 +0000)]
Change shared:: to shared: in the creation of the shared subdir.
a) This change is consistant with other lib directories.
b) The double : form caused the mkdir to be tried every time and
mkdir was exiting with a non-zero exit status of it already existed...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8918 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.in (shared): Always mkdir shared; test -d shared ||
Tom Yu [Fri, 9 Aug 1996 00:34:11 +0000 (00:34 +0000)]
* Makefile.in (shared): Always mkdir shared; test -d shared ||
mkdir shared breaks under Ultrix sh (grrr...).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8917 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in, types.hin: Change search for struct rpcent yet
Tom Yu [Thu, 8 Aug 1996 19:47:13 +0000 (19:47 +0000)]
* configure.in, types.hin: Change search for struct rpcent yet
again, this time compile-checking both netdb.h and
rpc/netdb.h and taking action appropriately.  See the
comments in configure.in for details.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8916 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin_ct.ct: get_{principals,policies} -> list_*; remove
Barry Jaspan [Tue, 6 Aug 1996 20:43:52 +0000 (20:43 +0000)]
* kadmin_ct.ct: get_{principals,policies} -> list_*; remove
  rename_principal

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8915 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin_ct.ct: get_{principals,policies} -> list_*
Barry Jaspan [Tue, 6 Aug 1996 19:41:15 +0000 (19:41 +0000)]
* kadmin_ct.ct: get_{principals,policies} -> list_*

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8914 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin.c: remove unsupported -salt option from ank usage
Barry Jaspan [Tue, 6 Aug 1996 19:21:46 +0000 (19:21 +0000)]
* kadmin.c: remove unsupported -salt option from ank usage

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8913 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin.exp: Fix to specify "2500 seconds" explictly to avoid
Tom Yu [Tue, 6 Aug 1996 15:51:27 +0000 (15:51 +0000)]
* kadmin.exp: Fix to specify "2500 seconds" explictly to avoid
getting negative maxlife.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8912 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kpasswd.c (kpasswd): call ovsec_kadm_init with
Tom Yu [Tue, 6 Aug 1996 15:36:50 +0000 (15:36 +0000)]
* kpasswd.c (kpasswd): call ovsec_kadm_init with
KADM5_CHANGEPW_SERVICE so that ovsec principals don't need
to exist in the db.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8911 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoUpdate to new kdb5_util calling convention
Ezra Peisach [Tue, 6 Aug 1996 01:30:35 +0000 (01:30 +0000)]
Update to new kdb5_util calling convention

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8910 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoReset exit_status at end of kdb5_stash. We expect to get an error if
Ezra Peisach [Tue, 6 Aug 1996 01:30:03 +0000 (01:30 +0000)]
Reset exit_status at end of kdb5_stash. We expect to get an error if
the stashed key is not already in the DB...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8909 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.in (CFLAGS): Change DEBUG_GSSAPI to 0 to avoid printing
Tom Yu [Mon, 5 Aug 1996 21:02:17 +0000 (21:02 +0000)]
* Makefile.in (CFLAGS): Change DEBUG_GSSAPI to 0 to avoid printing
excess stuff to stderr.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8908 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * all files: reworked for non-ss usage; kdb5_util_ct.ct and
Barry Jaspan [Mon, 5 Aug 1996 18:38:57 +0000 (18:38 +0000)]
* all files: reworked for non-ss usage; kdb5_util_ct.ct and
        ss_wrapper.c are now obsolete

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8907 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* Linux shared lib fix
Sam Hartman [Mon, 5 Aug 1996 18:18:07 +0000 (18:18 +0000)]
* Linux shared lib fix

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8906 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* Enough removal of db from aname_to_localname so that Linux compiles;
Sam Hartman [Mon, 5 Aug 1996 18:17:23 +0000 (18:17 +0000)]
* Enough removal of db from aname_to_localname so that Linux compiles;
easily reversed.

If we decide to remove permanently, the following additional changes should happen:

* admin/un_add should go away
* Ifdef'd code should be remove from an_to_ln.c
* Remove commented lines from Makefile
* Remove cruft from aclocal.m4
* Remove from associated configure.in files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8905 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* AIX shared library fix: get -ldb not dbm
Sam Hartman [Mon, 5 Aug 1996 18:14:54 +0000 (18:14 +0000)]
* AIX shared library fix: get -ldb not dbm

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8904 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* Better support for Athena Kerberos if installed
Sam Hartman [Mon, 5 Aug 1996 18:14:03 +0000 (18:14 +0000)]
* Better support for Athena Kerberos  if installed
* Linux shared lib fix

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8903 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago On systems with setup_term, don't define it in telnet.c or me
Sam Hartman [Mon, 5 Aug 1996 18:12:30 +0000 (18:12 +0000)]
On systems with setup_term, don't define it in telnet.c or me
might get into nasty loops if tcgetent is defined in terms of
setup_term.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8902 dc483132-0cff-0310-8789-dd5450dbe970

28 years agos/struct fd_set/fd_set/g
Sam Hartman [Mon, 5 Aug 1996 18:11:31 +0000 (18:11 +0000)]
s/struct fd_set/fd_set/g

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8901 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd prototype for krb5_free_keyblock_contents
Ezra Peisach [Fri, 2 Aug 1996 18:23:45 +0000 (18:23 +0000)]
Add prototype for krb5_free_keyblock_contents

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8900 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * svr_principal.c: remove krb5_free_keyblock_contents (moved to
Barry Jaspan [Fri, 2 Aug 1996 18:10:14 +0000 (18:10 +0000)]
* svr_principal.c: remove krb5_free_keyblock_contents (moved to
        libkrb5.a)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8899 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoRemove references to unused non-portable symbols
Sam Hartman [Fri, 2 Aug 1996 18:10:07 +0000 (18:10 +0000)]
Remove references to unused non-portable symbols

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8898 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * f_keyblock.c (krb5_free_keyblock_contents): added
Barry Jaspan [Fri, 2 Aug 1996 18:04:39 +0000 (18:04 +0000)]
* f_keyblock.c (krb5_free_keyblock_contents): added
        krb5_free_keyblock_contents

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8897 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * acquire_cred.c (krb5_gss_acquire_cred): Add const to local
Ezra Peisach [Fri, 2 Aug 1996 17:41:02 +0000 (17:41 +0000)]
* acquire_cred.c (krb5_gss_acquire_cred): Add const to local
variable which is pointing to const data.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8896 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * gssapiP_generic.h: If not on a Mac or under Dos, and stdlib.h
Ezra Peisach [Fri, 2 Aug 1996 17:39:48 +0000 (17:39 +0000)]
* gssapiP_generic.h: If not on a Mac or under Dos, and stdlib.h
exists, include it.

* configure.in: Check for stdlib.h

This cleans up many warnings on the Alpha as malloc is not previously
declared. In Beta-6, gssapiP_generic.h always included k5-int.h (which
included stdlib.h). Now, only the DOS and Mac platforms include k5-int.h
so we need to include stdlib.h if present.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8895 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * alt_prof.c (kadm5_get_config_params): alloc enough bytes for
Barry Jaspan [Fri, 2 Aug 1996 17:20:45 +0000 (17:20 +0000)]
* alt_prof.c (kadm5_get_config_params): alloc enough bytes for
        adbname

* kadm_rpc_xdr.c (xdr_krb5_kvno): assign tmp before xdr'ing it to
        avoid a spurious purify error

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8894 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * keytab.c (add_principal): free_keyblock -> free_keyblock_contents
Barry Jaspan [Fri, 2 Aug 1996 17:17:58 +0000 (17:17 +0000)]
* keytab.c (add_principal): free_keyblock -> free_keyblock_contents

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8893 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * ovsec_kadmd.c (main): remove useless hex value from error message
Barry Jaspan [Thu, 1 Aug 1996 19:58:42 +0000 (19:58 +0000)]
* ovsec_kadmd.c (main): remove useless hex value from error message

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8892 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * dump.c, kadm5_create.c, kdb5_create.c: create policy database
Barry Jaspan [Thu, 1 Aug 1996 19:56:53 +0000 (19:56 +0000)]
* dump.c, kadm5_create.c, kdb5_create.c: create policy database
        and kadm5 principals when loading a databas

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8891 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * loadv4.c: create empty policy database after loading V4 dump file
Barry Jaspan [Thu, 1 Aug 1996 19:08:22 +0000 (19:08 +0000)]
* loadv4.c: create empty policy database after loading V4 dump file

* dumpv4.c (dump_v4db): use global_params.stash_file

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8890 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.in, Makefile.ov, configure.in, dump.c: add support for
Barry Jaspan [Thu, 1 Aug 1996 18:39:54 +0000 (18:39 +0000)]
* Makefile.in, Makefile.ov, configure.in, dump.c: add support for
        dump/load of OV*Secure-compatible format.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8889 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd -ldyn as kadm5 shared library depends upon it
Ezra Peisach [Thu, 1 Aug 1996 15:16:52 +0000 (15:16 +0000)]
Add -ldyn as kadm5 shared library depends upon it

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8888 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago*** empty log message ***
Tom Yu [Thu, 1 Aug 1996 00:42:35 +0000 (00:42 +0000)]
*** empty log message ***

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8887 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.in: Punt -I$(srcdir)/..; it was gross and not needed
Tom Yu [Thu, 1 Aug 1996 00:42:17 +0000 (00:42 +0000)]
* Makefile.in: Punt -I$(srcdir)/..; it was gross and not needed
because headers get installed in build tree before
building the library anyway.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8886 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: Fix test for STRUCT_RPCENT_ALREADY_PROVIDED if
Tom Yu [Thu, 1 Aug 1996 00:41:55 +0000 (00:41 +0000)]
* configure.in: Fix test for STRUCT_RPCENT_ALREADY_PROVIDED if
there happens to be a /usr/include/rpc/netdb.h.  This
causes /usr/include/netdb.h to include netdb.h from our
tree rather from /usr/include/rpc, which of course results
in massive damage.  Basically, if /usr/include/netdb.h
contains rpcent declaration and /usr/include/rpc/netdb.h
exists, then assume that there is no struct rpcent in the
system include files.  It's really unfortunate that we
need to do this at all, but it's all we can do short of
renaming a bunch of include files or directories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8885 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * getrpcent.c: Shuffle inclusion order somewhat
Tom Yu [Thu, 1 Aug 1996 00:41:22 +0000 (00:41 +0000)]
* getrpcent.c: Shuffle inclusion order somewhat

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8884 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadm_ser_wrap.c: Remove #include <sys/socket.h>, <netdb.h>
Tom Yu [Wed, 31 Jul 1996 22:14:31 +0000 (22:14 +0000)]
* kadm_ser_wrap.c: Remove #include <sys/socket.h>, <netdb.h>
  because k5-int.h already grabs it if NEED_SOCKETS is
  defined.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8883 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * admin_server.c: Remove #include <sys/socket.h> because k5-int.h
Tom Yu [Wed, 31 Jul 1996 21:55:36 +0000 (21:55 +0000)]
* admin_server.c: Remove #include <sys/socket.h> because k5-int.h
already grabs it if NEED_SOCKETS is defined.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8882 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * ovsec_kadmd.c: Revert prior change due to netdb.h shuffle
Tom Yu [Wed, 31 Jul 1996 21:13:14 +0000 (21:13 +0000)]
* ovsec_kadmd.c: Revert prior change due to netdb.h shuffle

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8881 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * krb524d.c: Revert prior change due to shuffling of netdb.h
Tom Yu [Wed, 31 Jul 1996 21:06:49 +0000 (21:06 +0000)]
* krb524d.c: Revert prior change due to shuffling of netdb.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8880 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * client_init.c: Revert prior change due to netdb.h shuffling
Tom Yu [Wed, 31 Jul 1996 21:02:20 +0000 (21:02 +0000)]
* client_init.c: Revert prior change due to netdb.h shuffling

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8879 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
Tom Yu [Wed, 31 Jul 1996 20:59:11 +0000 (20:59 +0000)]
* clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
  getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c:
Revert prior change due to netdb.h shuffling.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8878 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * types.hin: Remove #include <netdb.h> because it appears the only
Tom Yu [Wed, 31 Jul 1996 20:57:30 +0000 (20:57 +0000)]
* types.hin: Remove #include <netdb.h> because it appears the only
reason for doing so was to get struct rpcent, and we're
getting that via <rpc/netdb.h>.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8877 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago*** empty log message ***
Tom Yu [Wed, 31 Jul 1996 19:31:07 +0000 (19:31 +0000)]
*** empty log message ***

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8876 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * ovsec_kadmd.c: remove #include <netdb.h> (already gotten by
Tom Yu [Wed, 31 Jul 1996 19:30:08 +0000 (19:30 +0000)]
* ovsec_kadmd.c: remove #include <netdb.h> (already gotten by
kadm5/kadm_rpc.h)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8875 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kdb5_stash.c (kdb5_stash): Declare optind
Tom Yu [Wed, 31 Jul 1996 19:00:27 +0000 (19:00 +0000)]
* kdb5_stash.c (kdb5_stash): Declare optind

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8874 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago*** empty log message ***
Tom Yu [Wed, 31 Jul 1996 18:43:18 +0000 (18:43 +0000)]
*** empty log message ***

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8873 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kadmin.c: Remove delcaration for getpwuid(); already declared in
Tom Yu [Wed, 31 Jul 1996 18:42:26 +0000 (18:42 +0000)]
* kadmin.c: Remove delcaration for getpwuid(); already declared in
pwd.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8872 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago*** empty log message ***
Tom Yu [Wed, 31 Jul 1996 07:39:18 +0000 (07:39 +0000)]
*** empty log message ***

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8871 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * obj/Makefile.in: Add -Dfoo=my_foo when compiling replacement
Tom Yu [Wed, 31 Jul 1996 07:38:56 +0000 (07:38 +0000)]
* obj/Makefile.in: Add -Dfoo=my_foo when compiling replacement
functions (so that the redefinitions in db-int.h take
effect).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8870 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * krb524d.c: Remove #include <netdb.h> (already gotten by
Tom Yu [Wed, 31 Jul 1996 00:13:25 +0000 (00:13 +0000)]
* krb524d.c: Remove #include <netdb.h> (already gotten by
kadm5/admin.h)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8869 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * client_init.c: Remove #include <netdb.h> because rpc/types.h
Tom Yu [Tue, 30 Jul 1996 23:56:58 +0000 (23:56 +0000)]
* client_init.c: Remove #include <netdb.h> because rpc/types.h
(included from kadm5/admin.h) gets it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8868 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
Tom Yu [Tue, 30 Jul 1996 23:27:17 +0000 (23:27 +0000)]
* clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,
  getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c:
  Remove #include <netdb.h>; it's already included in
  rpc/types.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8867 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * svc_auth_gssapi.c: #include <rpc/rpc.h> before <sys/stat.h> (to
Tom Yu [Tue, 30 Jul 1996 23:25:37 +0000 (23:25 +0000)]
* svc_auth_gssapi.c: #include <rpc/rpc.h> before <sys/stat.h> (to
get sys/types.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8866 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * rpc.h: Don't include netdb.h (rpc/types.h already includes it)
Tom Yu [Tue, 30 Jul 1996 23:25:03 +0000 (23:25 +0000)]
* rpc.h: Don't include netdb.h (rpc/types.h already includes it)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8865 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoDeal with a /usr/include/netdb.h that contains struct rpcent
Sam Hartman [Tue, 30 Jul 1996 22:47:08 +0000 (22:47 +0000)]
Deal with a /usr/include/netdb.h that contains struct rpcent

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8864 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * hash/hash.c, hash/hash_func.c, hash/hash_page.c: Add "static" to
Tom Yu [Tue, 30 Jul 1996 03:59:56 +0000 (03:59 +0000)]
* hash/hash.c, hash/hash_func.c, hash/hash_page.c: Add "static" to
  some function defn's that need them; they were prototyped
  as static but not defined as static.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8863 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago*** empty log message ***
Tom Yu [Tue, 30 Jul 1996 03:59:32 +0000 (03:59 +0000)]
*** empty log message ***

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8862 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: Determine sizeof short, int, long for secure.c
Ezra Peisach [Tue, 30 Jul 1996 02:40:10 +0000 (02:40 +0000)]
* configure.in: Determine sizeof short, int, long for secure.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8861 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * secure.c: Do not assume sizeof(long) = 4 for sending lengths OTW
Ezra Peisach [Tue, 30 Jul 1996 02:39:19 +0000 (02:39 +0000)]
* secure.c: Do not assume sizeof(long) = 4 for sending lengths OTW

* configure.in: Determine sizeof short, int, long for secure.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8860 dc483132-0cff-0310-8789-dd5450dbe970