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

28 years ago * configure.in: remove create
Tom Yu [Fri, 26 Jul 1996 19:54:01 +0000 (19:54 +0000)]
* configure.in: remove create

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

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

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

28 years ago * aclocal.m4 (LIBS): include -lgen if compile() is present and
Marc Horowitz [Fri, 26 Jul 1996 19:15:48 +0000 (19:15 +0000)]
* aclocal.m4 (LIBS): include -lgen if compile() is present and
  -lkrb5 is used.

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

28 years agoActually install kadmin.local. (Or rather, don't install kadmin.local
Theodore Tso [Fri, 26 Jul 1996 18:27:07 +0000 (18:27 +0000)]
Actually install kadmin.local.  (Or rather, don't install kadmin.local
as kadmin, and then reinstall kadmin on top of kadmin. :-)

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

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

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

28 years ago * kdc.conf: added acl_file to prototype
Marc Horowitz [Fri, 26 Jul 1996 18:07:08 +0000 (18:07 +0000)]
* kdc.conf: added acl_file to prototype

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

28 years agoRemove the new kdb5_create, which is subsumed by kdb5_util
Theodore Tso [Fri, 26 Jul 1996 17:23:29 +0000 (17:23 +0000)]
Remove the new kdb5_create, which is subsumed by kdb5_util

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

28 years agoRemove last traces of the old admin server
Theodore Tso [Fri, 26 Jul 1996 04:46:42 +0000 (04:46 +0000)]
Remove last traces of the old admin server

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

28 years agoRemove v5client, which is the old client for the old kadmin system
Theodore Tso [Fri, 26 Jul 1996 04:46:14 +0000 (04:46 +0000)]
Remove v5client, which is the old client for the old kadmin system

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

28 years agoRemove the old kadmin server
Theodore Tso [Fri, 26 Jul 1996 04:44:48 +0000 (04:44 +0000)]
Remove the old kadmin server

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

28 years agoAdd a blank install target to keep the top-level "make install" happy
Theodore Tso [Fri, 26 Jul 1996 04:43:04 +0000 (04:43 +0000)]
Add a blank install target to keep the top-level "make install" happy

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

28 years agoAdd AC_PROG_INSTALL, since it's needed for a "make install"
Theodore Tso [Fri, 26 Jul 1996 04:41:17 +0000 (04:41 +0000)]
Add AC_PROG_INSTALL, since it's needed for a "make install"

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

28 years ago AIX shared libraries treat resolution of imported symbols
Sam Hartman [Fri, 26 Jul 1996 02:03:01 +0000 (02:03 +0000)]
AIX shared libraries treat resolution of imported symbols
different from resolution of external non-imported symbols.
Therefore, we really want to link against libdb.a at shared library
creation time.  Instead of linking on all platforms and making libdb.a
a shared library, I have chosen to only link on AIX where it will work
and not generate a problem even if the application later linksgainst
libdb.a because making libdb.a a shared library would make it harder
to distribute util/db2.

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

28 years agoRemove setenv.c and use krb5_setenv instead. This version of setenv
Sam Hartman [Fri, 26 Jul 1996 01:57:05 +0000 (01:57 +0000)]
Remove setenv.c and use krb5_setenv instead.  This version of setenv
had major prototype problems, was redundant, and was older than all
seven of the other versions in the tree.

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

28 years agorestore old version (oops checked in debugging vers
Tom Yu [Fri, 26 Jul 1996 00:28:45 +0000 (00:28 +0000)]
restore old version (oops checked in debugging vers

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

28 years ago * Makefile.in: remove trailing backslash from comment under SRCS
Tom Yu [Fri, 26 Jul 1996 00:22:37 +0000 (00:22 +0000)]
* Makefile.in: remove trailing backslash from comment under SRCS
because it was causing line that set OBJS variable to

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

28 years ago * Makefile.in, configure.in, adm_rw.c, kadm5_defs.h, main.c,
Marc Horowitz [Thu, 25 Jul 1996 22:30:02 +0000 (22:30 +0000)]
    * Makefile.in, configure.in, adm_rw.c, kadm5_defs.h, main.c,
        proto_serv.c, srv_net.c: combined pieces of the old v5server and
        kadm libraries with calls to the new kadm5srv library to produce a
        daemon which handles the v5b6 "simple" password changing protocol.

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

28 years agoRemove OID's that weren't being used, and rename gss_nt_service_name
Theodore Tso [Thu, 25 Jul 1996 22:08:58 +0000 (22:08 +0000)]
Remove OID's that weren't being used, and rename gss_nt_service_name
to nt_service_name to prevent name colision.

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

28 years agoadmin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis around
Theodore Tso [Thu, 25 Jul 1996 22:06:40 +0000 (22:06 +0000)]
admin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis around
assignment used as truth value to reduce gcc -Wall flames.

misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents: Add
KADM5_OK return value upon success.

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

28 years agokadmin.c (quit): Return zero so that we return the proper exit status.
Theodore Tso [Thu, 25 Jul 1996 22:04:58 +0000 (22:04 +0000)]
kadmin.c (quit): Return zero so that we return the proper exit status.
(kadmin_getprivs): Declare function as returning void

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

28 years agoDon't build the create, destroy, and stash directories
Theodore Tso [Thu, 25 Jul 1996 22:04:05 +0000 (22:04 +0000)]
Don't build the create, destroy, and stash directories

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

28 years agoDeclare function as returning void
Theodore Tso [Thu, 25 Jul 1996 22:03:37 +0000 (22:03 +0000)]
Declare function as returning void

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

28 years ago*** empty log message ***
Marc Horowitz [Thu, 25 Jul 1996 21:25:22 +0000 (21:25 +0000)]
*** empty log message ***

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

28 years ago * configure.in (CONFIG_DIRS): added v5passwdd
Marc Horowitz [Thu, 25 Jul 1996 21:25:04 +0000 (21:25 +0000)]
* configure.in (CONFIG_DIRS): added v5passwdd

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

28 years agoFix Sanitize script to not delete the configure program
Theodore Tso [Thu, 25 Jul 1996 06:26:52 +0000 (06:26 +0000)]
Fix Sanitize script to not delete the configure program

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

28 years agoMove setenv.c to clnt directory where it belongs
Theodore Tso [Thu, 25 Jul 1996 06:26:15 +0000 (06:26 +0000)]
Move setenv.c to clnt directory where it belongs

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

28 years agogss.c (parse_name): Add code to parse an optional fourth parameter
Theodore Tso [Thu, 25 Jul 1996 06:19:16 +0000 (06:19 +0000)]
gss.c (parse_name): Add code to parse an optional fourth parameter
which is the mechanism OID to actually use.  If it is ommited, the
default mechanism is used.

gss-client.c (client_establish_context): Added parameter oid_name,
which allows the user to specify the OID that he/she actually wants to
use to as the mechanism.

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

28 years agoutil_ordering.c (g_order_check):
Theodore Tso [Thu, 25 Jul 1996 06:16:18 +0000 (06:16 +0000)]
util_ordering.c (g_order_check):
util_ordering.c (g_order_init): Changed return code to be an int 32,
since we return a com_err error code.  Change the type of the sequence
number to be an uint32.

gssapi.h: Define gss_int32 -- needed for error code returns.

Makefile.in (EHDRDIR): Use $(S) instead of /, so that EHDRDIR is valid
under windows.  Fix how the header file is copied in under Windows.

gssapiP_generic.h: Include gssapi_generic.h instead of gssapi.h, so
that we get the definitions of the nametype oids.

oid_ops.c (generic_gss_release_oid): Re-enable function.

util_token.c (g_verify_token_header): Changed return code to be an int
32, since we return a com_err error code.

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

28 years agoinit_sec_context.c (krb5_gss_init_sec_context): Fixed error checking
Theodore Tso [Thu, 25 Jul 1996 06:09:57 +0000 (06:09 +0000)]
init_sec_context.c (krb5_gss_init_sec_context): Fixed error checking
so that if you pass a bad mechanism type, it *will* get flagged as an
error.

rel_oid.c (krb5_gss_release_oid):
krb5_gss_glue.c(gss_release_oid): Re-enable function

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

28 years ago * acquire_cred.c (krb5_gss_acquire_cred): Initialize variable
Ezra Peisach [Thu, 25 Jul 1996 02:58:14 +0000 (02:58 +0000)]
* acquire_cred.c (krb5_gss_acquire_cred): Initialize variable
before use if GSS_C_NULL_OID_SET.

This was causing random failures in gssftp. I was unlucky enough to hit
that random case where one of the random stack values was zero.

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

28 years agoutil_token.c (g_verify_token_header): Changed return code to be an
Theodore Tso [Thu, 25 Jul 1996 00:40:43 +0000 (00:40 +0000)]
util_token.c (g_verify_token_header): Changed return code to be an
unsigned int 32, since we return a com_err error code.

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

28 years agoser_sctx.c (kg_oid_externalize): Add proper return code
Theodore Tso [Thu, 25 Jul 1996 00:40:06 +0000 (00:40 +0000)]
ser_sctx.c (kg_oid_externalize): Add proper return code

accept_sec_context.c (krb5_gss_accept_sec_context):
init_sec_context.c (krb5_gss_init_sec_context): Test (gss_flags &
XXXX) against 0 so that we pass a int value to g_order_init.  Needed
since int is 16 bits for Win16 build.

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

28 years agoRemove INTERFACE keyworded; not needed (and causes problems) since
Theodore Tso [Wed, 24 Jul 1996 22:50:22 +0000 (22:50 +0000)]
Remove INTERFACE keyworded; not needed (and causes problems) since
we're not exporting this function to the DLL.

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

28 years ago * ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at the
Tom Yu [Wed, 24 Jul 1996 22:36:49 +0000 (22:36 +0000)]
* ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at the
beginning of the line to avoid cpp breakage.

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

28 years agoOnly include <sys/file.h> if building with BSD_DB
Theodore Tso [Wed, 24 Jul 1996 22:35:06 +0000 (22:35 +0000)]
Only include <sys/file.h> if building with BSD_DB

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

28 years ago * Makefile.in, configure.in: break out server lib into a
Tom Yu [Wed, 24 Jul 1996 22:23:37 +0000 (22:23 +0000)]
* Makefile.in, configure.in: break out server lib into a
subdirectory

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

28 years ago * Makefile.in, configure.in: break out client lib into a
Tom Yu [Wed, 24 Jul 1996 22:22:49 +0000 (22:22 +0000)]
* Makefile.in, configure.in: break out client lib into a
subdirectory

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

28 years ago * Makefile.in, configure.in: fix shared lib lossage by
Tom Yu [Wed, 24 Jul 1996 22:20:03 +0000 (22:20 +0000)]
* Makefile.in, configure.in: fix shared lib lossage by
rearrangement of subdirectories

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

28 years agoUse the error code KRB5_KT_NAME_TOOLONG instead of ENAMETOOLONG, which
Theodore Tso [Wed, 24 Jul 1996 22:03:31 +0000 (22:03 +0000)]
Use the error code KRB5_KT_NAME_TOOLONG instead of ENAMETOOLONG, which
isn't portable.

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

28 years agoChange type of first argument to be krb5_preauthtype, to eliminate
Theodore Tso [Wed, 24 Jul 1996 22:02:52 +0000 (22:02 +0000)]
Change type of first argument to be krb5_preauthtype, to eliminate
compiler warnings under Windows.

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

28 years agoAdded new error code KRB5_KT_NAME_TOOLONG
Theodore Tso [Wed, 24 Jul 1996 22:01:30 +0000 (22:01 +0000)]
Added new error code KRB5_KT_NAME_TOOLONG

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

28 years agoRemoving last remnants of berk_db
Theodore Tso [Wed, 24 Jul 1996 21:54:19 +0000 (21:54 +0000)]
Removing last remnants of berk_db

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

28 years agoRemoving berk_db, since it is now replaced by db2
Theodore Tso [Wed, 24 Jul 1996 21:53:04 +0000 (21:53 +0000)]
Removing berk_db, since it is now replaced by db2

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

28 years agoUse memset instead of bzero
Ezra Peisach [Wed, 24 Jul 1996 18:33:24 +0000 (18:33 +0000)]
Use memset instead of bzero

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

28 years agoUse $(LD) instead of $(CC) for linking... This allows for use of purify
Ezra Peisach [Wed, 24 Jul 1996 18:29:04 +0000 (18:29 +0000)]
Use $(LD) instead of $(CC) for linking... This allows for use of purify

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

28 years ago * Makefile.in (all): Use $(LD) instead of $(CC) for link stage
Ezra Peisach [Wed, 24 Jul 1996 18:23:02 +0000 (18:23 +0000)]
* Makefile.in (all): Use $(LD) instead of $(CC) for link stage

* dump.c (dump_db): Zero out kadm5_principal_ent_rec structure
before passing to rpc code.

* kadmin.c (kadmin_addprinc, kadmin_getprinc, kadmin_modprinc):
   Zero out structures before passing to rpc code.

This is because uninitialized longs in the structures cause xdr_long to
fail if the higher 32/64 bits are set on the Alpha.

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

28 years ago * Makefile.in (DEPLIBS): Use correct version number for
Ezra Peisach [Wed, 24 Jul 1996 11:59:51 +0000 (11:59 +0000)]
* Makefile.in (DEPLIBS): Use correct version number for
gssapi_krb5 dependency.

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

28 years agoRemoved kadmin.exp, since it's for the old admin server
Theodore Tso [Wed, 24 Jul 1996 03:40:27 +0000 (03:40 +0000)]
Removed kadmin.exp, since it's for the old admin server

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

28 years ago * ftpd.c (auth_data): the logic which dealt with multiple acceptor
Marc Horowitz [Wed, 24 Jul 1996 03:15:05 +0000 (03:15 +0000)]
* ftpd.c (auth_data): the logic which dealt with multiple acceptor
  names and fallback was just broken.

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

28 years agoRemove mechglue from the list of Macintosh subdirectories
Theodore Tso [Wed, 24 Jul 1996 02:50:58 +0000 (02:50 +0000)]
Remove mechglue from the list of Macintosh subdirectories

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

28 years agoMust include k5-int.h on Windows and Macintosh builds
Theodore Tso [Wed, 24 Jul 1996 02:49:52 +0000 (02:49 +0000)]
Must include k5-int.h on Windows and Macintosh builds

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

28 years agoFix broken Windows commands to copy gssapi_krb5.h to include/gssapi
Theodore Tso [Wed, 24 Jul 1996 02:49:27 +0000 (02:49 +0000)]
Fix broken Windows commands to copy gssapi_krb5.h to include/gssapi

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

28 years agoMust include k5-int.h on Windows and Macintosh builds
Theodore Tso [Wed, 24 Jul 1996 02:36:49 +0000 (02:36 +0000)]
Must include k5-int.h on Windows and Macintosh builds

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

28 years agoMakefile.in: Build logger.o from the libkadm5 directory. This
Theodore Tso [Wed, 24 Jul 1996 02:28:52 +0000 (02:28 +0000)]
Makefile.in: Build logger.o from the libkadm5 directory.  This
is prepatory work towards eliminating the dependency on
libkadm5.  Ultimately we will probably need to rethink how
the library structure for krb5....

configure.in: Add -lgssapi and -lgssrpc to libraries linked with
krb5kdc since they are needed for shared libraries.  This
is a horrible hack....

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

28 years agoIgnore db-config.h.in which is generated by autoheader
Ezra Peisach [Tue, 23 Jul 1996 21:25:28 +0000 (21:25 +0000)]
Ignore db-config.h.in which is generated by autoheader

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

28 years agoobj/dbm.c: Copy the elements between the struct DBT and
Ezra Peisach [Tue, 23 Jul 1996 21:24:50 +0000 (21:24 +0000)]
obj/dbm.c: Copy the elements between the struct DBT and
datum. Otherwise on an Alpha where the size fields are different sizes,
casting loses with random stack garbage.

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

28 years ago * Makefile.in: add dependency for kdb5_util_ct.o
Tom Yu [Tue, 23 Jul 1996 21:06:38 +0000 (21:06 +0000)]
* Makefile.in: add dependency for kdb5_util_ct.o

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

28 years ago * Makefile.in: add dependency for kadmin_ct.o
Tom Yu [Tue, 23 Jul 1996 21:02:44 +0000 (21:02 +0000)]
* Makefile.in: add dependency for kadmin_ct.o

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

28 years ago * Makefile.in: delete extraneous trailing backslash from GENSRCS
Tom Yu [Tue, 23 Jul 1996 20:52:45 +0000 (20:52 +0000)]
* Makefile.in: delete extraneous trailing backslash from GENSRCS
and GENOBJS

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