krb5.git
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

28 years ago * kadmin.exp: Added back in. Rewritten to use new admin system
Ezra Peisach [Mon, 29 Jul 1996 15:32:46 +0000 (15:32 +0000)]
* kadmin.exp: Added back in. Rewritten to use new admin system

Notes:
a) This only tests the old functionailty - the policy database
   testing does not exist
b) The rename test is taken out as you currently cannot rename a
   random key (deficiency in kadmind)
c) The v4 keytab extraction does not have an equivalent in this
   system and is not included.

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

28 years agodefaul.exp (kinit): Look for the end-of-file from kinit before
Ezra Peisach [Mon, 29 Jul 1996 15:29:53 +0000 (15:29 +0000)]
defaul.exp (kinit): Look for the end-of-file from kinit before
going into wait....

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

28 years ago * an_to_ln.c (aname_do_match): #elif HAVE_REGEXP_H should have
Tom Yu [Mon, 29 Jul 1996 02:40:19 +0000 (02:40 +0000)]
* an_to_ln.c (aname_do_match): #elif HAVE_REGEXP_H should have
been HAVE_REGEXPR_H

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

28 years agoFor some reason, I allowd symbols from libc to overide symbols from
Sam Hartman [Sun, 28 Jul 1996 04:46:46 +0000 (04:46 +0000)]
For some reason, I allowd symbols from libc to overide symbols from
the shared library when building AIX shared libraries without gcc.
This is broken and fails when using gssrpc.

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

28 years agoFix up shared library handling and $(STEXT) usage
Sam Hartman [Sun, 28 Jul 1996 00:13:07 +0000 (00:13 +0000)]
Fix up shared library handling and $(STEXT) usage

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

28 years agoRemove prototype of strcpy
Sam Hartman [Sun, 28 Jul 1996 00:08:27 +0000 (00:08 +0000)]
Remove prototype of strcpy

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

28 years agoCommit prototyping of krb5_setenv; not sure why this failed yesterday.
Sam Hartman [Sun, 28 Jul 1996 00:06:18 +0000 (00:06 +0000)]
Commit prototyping of krb5_setenv; not sure why this failed yesterday.
CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Committing in include CVS: CVS: Modified
Files: CVS: ChangeLog k5-int.h CVS:
----------------------------------------------------------------------

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

28 years ago * default.exp: Rewrite to use kdb5_util instead of kdb5_create and
Ezra Peisach [Sat, 27 Jul 1996 06:24:54 +0000 (06:24 +0000)]
* default.exp: Rewrite to use kdb5_util instead of kdb5_create and
kdb5_stash. No longer add the kadmin/admin and changepw
keys to the database as this is handled automatically.

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

28 years ago * kdb5_create.c (kdb5_create): Ignore (expected) failure in
Ezra Peisach [Sat, 27 Jul 1996 06:23:00 +0000 (06:23 +0000)]
* kdb5_create.c (kdb5_create): Ignore (expected) failure in
open_db_and_mkey when creating database in returning exit
status.

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

28 years agoIt's not an out-of-space error if malloc(0) returns 0.
Sam Hartman [Sat, 27 Jul 1996 02:23:23 +0000 (02:23 +0000)]
It's not an out-of-space error if malloc(0) returns 0.
So, when copying key_data, only call malloc if the length
is non-zero.

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

28 years agoRemove old 1988 version of setenv in preference to calling krb5_setenv
Sam Hartman [Sat, 27 Jul 1996 02:21:58 +0000 (02:21 +0000)]
Remove old 1988 version of setenv in preference to calling krb5_setenv
from lib/krb5/posix.

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

28 years ago*** empty log message ***
Sam Hartman [Sat, 27 Jul 1996 02:21:05 +0000 (02:21 +0000)]
*** empty log message ***

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

28 years ago* Define a non-zero FUDGE_FACTOR for GSSAPI; I have it set to 64 now,
Sam Hartman [Sat, 27 Jul 1996 01:56:47 +0000 (01:56 +0000)]
* Define a non-zero FUDGE_FACTOR for GSSAPI; I have it set to 64 now,
even though I tend to see 52 bytes of increased data because I'm not
sure that the 52 bytes is constant across all implementations ands
options.

* When allocating outbuf, set bufsize to the size that was actually
allocated; it tends not to be nbyte+FUDGE_FACTOR exactly, and you
smash the heap if you store a different size than you actually
allocate.

* If a secure_putbyte fails, set nout to zero so you don't run off the
end of the buffer next time around.

* Only write out foure bytes of net_len, no matter how big it is.  The
right answer is to have it be some 32-bit type but I'm not sure if I
should use the krb5 type, the GSSAPI type, or what.  (Remember, this
code has ifdefs for KerberosIV without GSSAPI)

* While we're at it, if secure_write fails while writing out a file in
the client, notice the error. (a break in an inner loop didn't break
out quite far enough)

With these changes, I am able to get and put multi-megabyte
files even on an Alpha.

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

28 years ago * Makefile.in (OBJS): Remove trailing backslash on a comment; it
Tom Yu [Fri, 26 Jul 1996 22:07:46 +0000 (22:07 +0000)]
* Makefile.in (OBJS): Remove trailing backslash on a comment; it
was keeping HDRS from getting set.

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

28 years agoresolved conflicts
Marc Horowitz [Fri, 26 Jul 1996 21:24:00 +0000 (21:24 +0000)]
resolved conflicts

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

28 years ago*** empty log message ***
Marc Horowitz [Fri, 26 Jul 1996 19:58:46 +0000 (19:58 +0000)]
*** empty log message ***

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

28 years ago * configure.in, an_to_ln.c (do_replacement, aname_do_match): use
Marc Horowitz [Fri, 26 Jul 1996 19:57:41 +0000 (19:57 +0000)]
* configure.in, an_to_ln.c (do_replacement, aname_do_match): use
  the compile() function in -lgen on solaris.  Check for the
  relevant stuff at configure-time

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

28 years ago * an_to_ln.c (do_replacement, aname_do_match): use the compile()
Marc Horowitz [Fri, 26 Jul 1996 19:56:11 +0000 (19:56 +0000)]
* an_to_ln.c (do_replacement, aname_do_match): use the compile()
  function in -lgen on solaris

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