krb5.git
24 years ago1.2-beta4 pullup
Ken Raeburn [Fri, 30 Jun 2000 00:16:21 +0000 (00:16 +0000)]
1.2-beta4 pullup

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

24 years agodyn_insert.c, dyn_put.c: Include string.h for memmove prototype
Ezra Peisach [Thu, 29 Jun 2000 15:07:14 +0000 (15:07 +0000)]
dyn_insert.c, dyn_put.c: Include string.h for memmove prototype

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

24 years ago * iter-test.c (main): Code was using ovsec_kadm_ret_t in place of
Ezra Peisach [Thu, 29 Jun 2000 01:10:31 +0000 (01:10 +0000)]
    * iter-test.c (main): Code was using ovsec_kadm_ret_t in place of
        an int for referencing array.

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

24 years ago * client_init.c (_kadm5_init_any): gss_krb5_ccache_name returns
Ezra Peisach [Thu, 29 Jun 2000 01:08:55 +0000 (01:08 +0000)]
    * client_init.c (_kadm5_init_any): gss_krb5_ccache_name returns
        const char *, but the code was treating it as a char *.

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

24 years ago * alt_prof.c (krb5_aprof_init): profile_init takes a
Ezra Peisach [Thu, 29 Jun 2000 01:05:21 +0000 (01:05 +0000)]
    * alt_prof.c (krb5_aprof_init): profile_init takes a
        profile_filespec_t as argument instad of char **.

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

24 years ago * cr_tkt.c: Provide prototype for static krb_cr_tkt_int function
Ezra Peisach [Thu, 29 Jun 2000 01:02:57 +0000 (01:02 +0000)]
    * cr_tkt.c: Provide prototype for static krb_cr_tkt_int function
        before being used.

        * getst.c: Remove unused variable.

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

24 years agoprng.c (prng_cleanup): Ensure memory allocated before calling free
Ezra Peisach [Thu, 29 Jun 2000 01:00:13 +0000 (01:00 +0000)]
prng.c (prng_cleanup): Ensure memory allocated before calling free

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

24 years ago * conv_princ.c, get_creds.c, get_in_tkt.c, mk_rep.c, parse.c,
Ezra Peisach [Thu, 29 Jun 2000 00:53:24 +0000 (00:53 +0000)]
    * conv_princ.c, get_creds.c, get_in_tkt.c, mk_rep.c, parse.c,
        send_tgs.c: Remove unused variable.

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

24 years ago * def_realm.c: Add newline at end of file
Ezra Peisach [Thu, 29 Jun 2000 00:47:11 +0000 (00:47 +0000)]
    * def_realm.c: Add newline at end of file

        * gmt_mktime.c: Define days_in_month as type int.

        * locate_kdc.c (krb5_locate_srv_dns): Cleanup unused variables.

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

24 years agoClean up unused variable
Ezra Peisach [Thu, 29 Jun 2000 00:42:17 +0000 (00:42 +0000)]
Clean up unused variable

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

24 years agoRemove unused variables
Ezra Peisach [Thu, 29 Jun 2000 00:33:05 +0000 (00:33 +0000)]
Remove unused variables

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

24 years agoccdefault.c: Add newline at end of file (compiler warning)
Ezra Peisach [Thu, 29 Jun 2000 00:30:54 +0000 (00:30 +0000)]
ccdefault.c: Add newline at end of file (compiler warning)

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

24 years agoasn1_get.c (asn1_get_tag): Remove unused variable
Ezra Peisach [Thu, 29 Jun 2000 00:26:13 +0000 (00:26 +0000)]
asn1_get.c (asn1_get_tag):  Remove unused variable

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

24 years ago * getpty.c (pty_getpty): More conditionalizing variable defintion
Ezra Peisach [Thu, 29 Jun 2000 00:21:47 +0000 (00:21 +0000)]
    * getpty.c (pty_getpty): More conditionalizing variable defintion
        based on OS features.

        * cleanup.c (pty_cleanup): Add parenthesis about assignment in
        conditional (gcc suggestion).

        * pty-int.h: Include pty.h if it exists (for openpty prototype
        under Linux).

        * configure.in: Check for pty.h

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

24 years agoGet rid of unused variable
Ezra Peisach [Wed, 28 Jun 2000 17:00:27 +0000 (17:00 +0000)]
Get rid of unused variable

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

24 years agodes.c, des3.c: Remove unused variables
Ezra Peisach [Wed, 28 Jun 2000 16:59:15 +0000 (16:59 +0000)]
des.c, des3.c: Remove unused variables

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

24 years agoafsstring2key.c: "register x" -> "register int x"
Ezra Peisach [Wed, 28 Jun 2000 16:57:46 +0000 (16:57 +0000)]
afsstring2key.c: "register x" -> "register int x"

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

24 years ago* dyn_create.c, dyn_delete.c, dyn_insert.c, dyn_put.c: Use %p
Ezra Peisach [Wed, 28 Jun 2000 15:40:46 +0000 (15:40 +0000)]
* dyn_create.c, dyn_delete.c, dyn_insert.c, dyn_put.c: Use %p
format for displaying pointers

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

24 years agopullup from 1.2 branch
Ken Raeburn [Tue, 27 Jun 2000 21:00:02 +0000 (21:00 +0000)]
pullup from 1.2 branch

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

24 years ago * krb5.hin (krb5_get_tgs_ktypes, krb5_free_ktypes): Fix linkage to
Ken Raeburn [Tue, 27 Jun 2000 20:42:16 +0000 (20:42 +0000)]
* krb5.hin (krb5_get_tgs_ktypes, krb5_free_ktypes): Fix linkage to
be KRB5_CALLCONV.

* k5-int.h (krb5int_cc_default): Fix linkage to be consistent with
code.  (Note: We should dump KRB5_DLLIMP.)

me:

* krb5.hin (krb5_recvauth_version, krb5_free_ktypes): Declare.

dalmeida:

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

24 years ago* krb.h (krb4_swab16): Mask upper byte of input after shifting, in case the
Ken Raeburn [Tue, 27 Jun 2000 18:44:32 +0000 (18:44 +0000)]
* krb.h (krb4_swab16): Mask upper byte of input after shifting, in case the
input value is a signed short.
(krb4_swab32): Mask high byte of input value after shifting, to avoid "time out
of bounds" error when byte orders are different and low byte of timestamp has
its high bit set and the timestamp is stored as a signed value.
(krb_get_err_text): Don't use "errno" as an argument name.

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

24 years ago * libpty.h: If SOCK_DGRAM is not defined, provide a definition for
Ezra Peisach [Mon, 26 Jun 2000 23:24:38 +0000 (23:24 +0000)]
    * libpty.h: If SOCK_DGRAM is not defined, provide a definition for
        struct sockaddr_in to satisfy prototype. (based on similar
        code in k5-int.h).

        * update_wtmp.c (ptyint_update_wtmp), update_utmp.c
        (pty_update_utmp), open_slave.c (pty_open_slave), getpty.c
        (pty_getpty): conditionalize definition of variables based on code
        paths that are included.

Essentially, clean up many compiler warnings.

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

24 years agoFix email address in ChangeLog
Ezra Peisach [Mon, 26 Jun 2000 23:18:00 +0000 (23:18 +0000)]
Fix email address in ChangeLog

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

24 years ago * prof_init.c (profile_init_path): Use profile_filespec_t instead
Ezra Peisach [Mon, 26 Jun 2000 23:17:37 +0000 (23:17 +0000)]
    * prof_init.c (profile_init_path): Use profile_filespec_t instead
             of char *. (change  provided by Nathan Neulinger <nneul@umr.edu>)

        * profile.hin: Make definition of const_profile_filespec_t to be
                based on profile_filespec_t.

Compile time warnings cleanup.

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

24 years ago* dyn_realloc.c: Remove unused variable
Ezra Peisach [Mon, 26 Jun 2000 23:09:57 +0000 (23:09 +0000)]
* dyn_realloc.c: Remove unused variable

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

24 years ago* btree/bt_put.c (__bt_put): Initialize "e"
Ken Raeburn [Mon, 26 Jun 2000 20:59:04 +0000 (20:59 +0000)]
* btree/bt_put.c (__bt_put): Initialize "e"

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

24 years ago* dbtest.c (err): Add format attribute to decl, for typechecking under GNU C
Ken Raeburn [Mon, 26 Jun 2000 20:57:51 +0000 (20:57 +0000)]
* dbtest.c (err): Add format attribute to decl, for typechecking under GNU C

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

24 years ago* com_err.h (com_err): Declare with format attribute if using gcc
Ken Raeburn [Mon, 26 Jun 2000 20:55:49 +0000 (20:55 +0000)]
* com_err.h (com_err): Declare with format attribute if using gcc

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

24 years agomerge from krb5-1-2-beta4
Ken Raeburn [Fri, 23 Jun 2000 22:53:06 +0000 (22:53 +0000)]
merge from krb5-1-2-beta4

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

24 years agomerge from krb5-1-2-beta4
Ken Raeburn [Fri, 23 Jun 2000 22:43:59 +0000 (22:43 +0000)]
merge from krb5-1-2-beta4

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

24 years agomerge from krb5-1-2-beta4
Ken Raeburn [Fri, 23 Jun 2000 22:38:21 +0000 (22:38 +0000)]
merge from krb5-1-2-beta4

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

24 years ago2000-06-08 Alexandra Ellwood <lxs@mit.edu> * stdcc_util.c (dupCCtoK5, dupK5toCC...
Alexandra Ellwood [Fri, 9 Jun 2000 01:26:24 +0000 (01:26 +0000)]
2000-06-08  Alexandra Ellwood  <lxs@mit.edu> * stdcc_util.c (dupCCtoK5, dupK5toCC):   Fixed code that stores times in localtime, not in kdc time

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

24 years agoFix prototype for krb5int_cc_default so that the K5 library will compile on Windows
Jeffrey Altman [Tue, 6 Jun 2000 14:56:40 +0000 (14:56 +0000)]
Fix prototype for krb5int_cc_default so that the K5 library will compile on Windows

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

24 years agoCheck for existance of <memory.h>.
Wilfredo Sanchez [Thu, 1 Jun 2000 02:02:04 +0000 (02:02 +0000)]
Check for existance of <memory.h>.
(from Nathan Neulinger <nneul@umr.edu>)

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

24 years agoChange wsanchez@apple -> tritan@mit
Wilfredo Sanchez [Thu, 1 Jun 2000 01:44:22 +0000 (01:44 +0000)]
Change wsanchez@apple -> tritan@mit

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

24 years agoAdd bindir/sbindir changelog entry
Wilfredo Sanchez [Wed, 31 May 2000 22:40:29 +0000 (22:40 +0000)]
Add bindir/sbindir changelog entry

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

24 years agoThis time really: 2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: Changed...
Alexandra Ellwood [Wed, 31 May 2000 17:57:18 +0000 (17:57 +0000)]
This time really: 2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: Changed kerberosPrincipal_V5 to kerberosVersion_V5 to reflect the new KLL constant name

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

24 years ago2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: Changed kerberosPrincipal_V5...
Alexandra Ellwood [Wed, 31 May 2000 17:35:51 +0000 (17:35 +0000)]
2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: Changed kerberosPrincipal_V5 to kerberosVersion_V5 to reflect the new KLL constant name

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

24 years agoAlso use SBINDIR for kpropd
Wilfredo Sanchez [Wed, 31 May 2000 06:24:54 +0000 (06:24 +0000)]
Also use SBINDIR for kpropd

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

24 years agoUse bindir and sbindir variables provided by configure rather than
Wilfredo Sanchez [Wed, 31 May 2000 06:19:16 +0000 (06:19 +0000)]
Use bindir and sbindir variables provided by configure rather than
assuming a standard layout in osconf.h.

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

24 years ago2000-5-19 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Fri, 19 May 2000 22:23:22 +0000 (22:23 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>

* acquire_cred.c: Changed to use krb5int_cc_default.  This function
supports the Kerberos Login Library and pops up a dialog if the cache does
not contain valid tickets.  This is used to automatically get a tgt before
obtaining service tickets.  Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)

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

24 years ago2000-5-19 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Fri, 19 May 2000 22:21:41 +0000 (22:21 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>

* ccdefault.c: Added krb5int_cc_default.  This function
supports the Kerberos Login Library and pops up a dialog if the cache does
not contain valid tickets.  This is used to automatically get a tgt before
obtaining service tickets.  Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)

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

24 years ago2000-5-19 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Fri, 19 May 2000 22:13:49 +0000 (22:13 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>

* sendauth.c, fwd_tgt.c: Changed to use krb5int_cc_default.  This function
supports the Kerberos Login Library and pops up a dialog if the cache does
not contain valid tickets.  This is used to automatically get a tgt before
obtaining service tickets.  Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)

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

24 years ago2000-5-19 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Fri, 19 May 2000 22:06:05 +0000 (22:06 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>

* krb5-int.h: Added krb5int_cc_default.  This function supports the
Kerberos Login Library and pops up a dialog if the cache does not
contain valid tickets.  This is used to automatically get a tgt before
obtaining service tickets.  Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)

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

24 years agoAdded krb5int_cc_default to export list under private exports. GSSLib uses it
Alexandra Ellwood [Fri, 19 May 2000 21:55:51 +0000 (21:55 +0000)]
Added krb5int_cc_default to export list under private exports.  GSSLib uses it

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

24 years ago2000-5-18 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Fri, 19 May 2000 21:54:16 +0000 (21:54 +0000)]
2000-5-18 Alexandra Ellwood <lxs@mit.edu>

* macsock.h: local_addr_fallback_kludge defined to 0 again... fixed gethostname

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

24 years agoRemove unused variables. Reindent to krb5 coding style. Remove whitespace
Danilo Almeida [Thu, 18 May 2000 22:04:23 +0000 (22:04 +0000)]
Remove unused variables. Reindent to krb5 coding style.  Remove whitespace
at end of lines.  Replace C++ comments with C comments.

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

24 years agoDo not define or try to load cc_lock_request, which is
Danilo Almeida [Thu, 18 May 2000 20:54:01 +0000 (20:54 +0000)]
Do not define or try to load cc_lock_request, which is
not actually used anywhere in the code.

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

24 years ago2000-05-15 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Tue, 16 May 2000 03:20:20 +0000 (03:20 +0000)]
2000-05-15      Jeffrey Altman          <jaltman@columbia.edu>

        * Added new source file appdefault.c
          Implements new public functions

               krb5_appdefault_string
               krb5_appdefault_boolean

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

24 years ago2000-05-15 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Tue, 16 May 2000 03:19:11 +0000 (03:19 +0000)]
2000-05-15      Jeffrey Altman          <jaltman@columbia.edu>

        * Export new public functions

               krb5_appdefault_string
               krb5_appdefault_boolean

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

24 years ago2000-05-15 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Tue, 16 May 2000 03:18:33 +0000 (03:18 +0000)]
2000-05-15      Jeffrey Altman          <jaltman@columbia.edu>

        * krb5.hin -- Added new public function prototypes

               krb5_appdefault_string
               krb5_appdefault_boolean

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

24 years ago2000-05-15 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Mon, 15 May 2000 22:42:19 +0000 (22:42 +0000)]
2000-05-15 Alexandra Ellwood <lxs@mit.edu>
* prof_get.c:
prof_parse_boolean () was missing some curly brackets
and was failing to check all the values in the list of
possible strings.

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

24 years ago2000-05-09 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Tue, 9 May 2000 18:27:21 +0000 (18:27 +0000)]
2000-05-09 Alexandra Ellwood <lxs@mit.edu>

*localaddr.c: Fixed the local_addr_fallback_kludge so that it actually does something.
Before that the error code it was handling was blowing it away in cleanup.

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

24 years ago2000-5-9 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Tue, 9 May 2000 18:19:18 +0000 (18:19 +0000)]
2000-5-9 Alexandra Ellwood <lxs@mit.edu>

* macsock.h: local_addr_fallback_kludge now defined to magic gethostaddr function
in the Sockets Library, which does exactly what we want if the search domain is not
specified.

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

24 years agoFinish up Darwin linker flags
Wilfredo Sanchez [Fri, 5 May 2000 21:55:55 +0000 (21:55 +0000)]
Finish up Darwin linker flags

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

24 years agoUse @includedir@
Wilfredo Sanchez [Fri, 5 May 2000 21:38:25 +0000 (21:38 +0000)]
Use @includedir@

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

24 years agoFixed MIT Kerberos for Macintosh so that it is the same as our future trademark
Alexandra Ellwood [Fri, 5 May 2000 19:15:19 +0000 (19:15 +0000)]
Fixed MIT Kerberos for Macintosh so that it is the same as our future trademark

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

24 years agokadmin server binaries go into SERVER_BINDIR
Wilfredo Sanchez [Thu, 4 May 2000 21:16:20 +0000 (21:16 +0000)]
kadmin server binaries go into SERVER_BINDIR

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

24 years agoPut kadmin server binaries in SERVER_BINDIR, not ADMIN_BINDIR.
Wilfredo Sanchez [Thu, 4 May 2000 21:13:07 +0000 (21:13 +0000)]
Put kadmin server binaries in SERVER_BINDIR, not ADMIN_BINDIR.
(The default for each is the same.)

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

24 years ago * stdcc_util.c (dupCCtoK5, dupK5toCC):
Miro Jurisic [Thu, 4 May 2000 17:50:42 +0000 (17:50 +0000)]
* stdcc_util.c (dupCCtoK5, dupK5toCC):
Conditionalized local/KDC time conversions for Mac-only
until we figure out what to do about that

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

24 years agoClean up Rhapsody/Darwin compilation options
Wilfredo Sanchez [Wed, 3 May 2000 06:51:25 +0000 (06:51 +0000)]
Clean up Rhapsody/Darwin compilation options

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

24 years agoNote config.guess changes for Rhapsody/Mac OS X
Wilfredo Sanchez [Wed, 3 May 2000 02:27:29 +0000 (02:27 +0000)]
Note config.guess changes for Rhapsody/Mac OS X

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

24 years agoMatch on darwin string for Mac OS X
Wilfredo Sanchez [Wed, 3 May 2000 02:26:11 +0000 (02:26 +0000)]
Match on darwin string for Mac OS X

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

24 years agoClean up Rhapsody guessing. Use Power* (catches PowerBook).
Wilfredo Sanchez [Wed, 3 May 2000 02:20:05 +0000 (02:20 +0000)]
Clean up Rhapsody guessing.  Use Power* (catches PowerBook).
In Mac OS X, uname will return Darwin, not Mac OS, as it did in DP3.
Since DP3 is still the current available release, Mac OS is still understood.
GNU string for OS X on Macs is powerpc-apple-darwin1.x.

The above is consistant with what is being submitted to the autoconf sources.

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

24 years ago2000-04-29 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Sun, 30 Apr 2000 00:27:08 +0000 (00:27 +0000)]
2000-04-29  Jeffrey Altman <jaltman@columbia.edu>

        * hst_realm.c (krb5_get_host_realm)
          remove the searchlist and defaultrealm _kerberos queries

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

24 years agoUpdated for 3.0d7
Miro Jurisic [Sat, 29 Apr 2000 21:37:38 +0000 (21:37 +0000)]
Updated for 3.0d7

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

24 years ago2000-04-28 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Fri, 28 Apr 2000 21:06:46 +0000 (21:06 +0000)]
2000-04-28 Alexandra Ellwood <lxs@mit.edu>

* gic_pwd.c (krb5_init_creds_password) added code to return to login library if
the password is expired (login library handles this error appropriately).

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

24 years ago2000-4-26 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Wed, 26 Apr 2000 18:54:23 +0000 (18:54 +0000)]
2000-4-26 Alexandra Ellwood <lxs@mit.edu>

* ccdefault.c: Added version number to internal Kerberos Login Library
routine.

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

24 years agoAdded krb5_get_time_offsets for use by WrappersLib (for storing tickets in the cache...
Alexandra Ellwood [Tue, 25 Apr 2000 15:04:29 +0000 (15:04 +0000)]
Added krb5_get_time_offsets for use by WrappersLib (for storing tickets in the cache with local times rather than kdc times)

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

24 years agoUpdated for 3.0d6
Miro Jurisic [Fri, 21 Apr 2000 05:13:48 +0000 (05:13 +0000)]
Updated for 3.0d6

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

24 years agoUse getopt so that we can parse packed options (e.g., -an, -54, etc.)
Danilo Almeida [Wed, 19 Apr 2000 17:18:21 +0000 (17:18 +0000)]
Use getopt so that we can parse packed options (e.g., -an, -54, etc.)

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

24 years ago* prompter.c (krb5int_set_prompt_types): Set to actual value intead of 0
Danilo Almeida [Tue, 18 Apr 2000 22:59:46 +0000 (22:59 +0000)]
* prompter.c (krb5int_set_prompt_types): Set to actual value intead of 0

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

24 years ago* winccld.h: Define CC_API_VER2 for all Windows code using ccapi.
Danilo Almeida [Tue, 18 Apr 2000 21:25:52 +0000 (21:25 +0000)]
* winccld.h: Define CC_API_VER2 for all Windows code using ccapi.
Update dynamic loading declarations to use CC_API_VER2.

* stdcc.c: Define CC_API_VER2 if not defined rather than just if
not Windows.

* winccld.c (LoadFuncs): Get error on DLL load failure even though
we do not use it in case we are doing source-level debugging.

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

24 years agocacheapi.h: Update to v2
Danilo Almeida [Tue, 18 Apr 2000 18:34:24 +0000 (18:34 +0000)]
cacheapi.h: Update to v2

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

24 years agoActually clean gss-sample on Windows
Danilo Almeida [Tue, 18 Apr 2000 18:28:03 +0000 (18:28 +0000)]
Actually clean gss-sample on Windows

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

24 years agoJeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Sat, 15 Apr 2000 06:06:03 +0000 (06:06 +0000)]
Jeffrey Altman <jaltman@columbia.edu>

 - typo  "==" should have been "="

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

24 years ago2000-4-13 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Thu, 13 Apr 2000 22:07:07 +0000 (22:07 +0000)]
2000-4-13 Alexandra Ellwood <lxs@mit.edu>

* ccdefault.c: Added Kerberos Login library support (with ifdefs to control
whether or not it is on.  Also added support to store a krb5_principal in the
os_context along with the default ccache name (if known, this principal is
the same as the last time we looked at the ccache.
* ccdefname.c: Added support to store a krb5_principal in the os_context
along with the default ccache name (if known, this principal is the same
as the last time we looked at the ccache.

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

24 years ago2000-4-13 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Thu, 13 Apr 2000 22:06:53 +0000 (22:06 +0000)]
2000-4-13 Alexandra Ellwood <lxs@mit.edu>

* init_os_ctx.c: Added support to store a krb5_principal in the os_context
along with the default ccache name (if known, this principal is the same
as the last time we looked at the ccache.

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

24 years ago2000-4-13 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Thu, 13 Apr 2000 22:06:38 +0000 (22:06 +0000)]
2000-4-13 Alexandra Ellwood <lxs@mit.edu>

* krb5-int.h: Added support to store a krb5_principal in the os_context
along with the default ccache name (if known, this principal is the same
as the last time we looked at the ccache.
* win-mac.h: Set up the macintosh build to use KerberosLogin.

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

24 years ago2000-4-13 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Thu, 13 Apr 2000 22:05:57 +0000 (22:05 +0000)]
2000-4-13 Alexandra Ellwood <lxs@mit.edu>

* ccdefname.c: Added support to store a krb5_principal in the os_context
along with the default ccache name (if known, this principal is the same
as the last time we looked at the ccache.

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

24 years ago2000-4-13 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Thu, 13 Apr 2000 22:05:46 +0000 (22:05 +0000)]
2000-4-13 Alexandra Ellwood <lxs@mit.edu>

* ccdefault.c: Added Kerberos Login library support (with ifdefs to control
whether or not it is on.  Also added support to store a krb5_principal in the
os_context along with the default ccache name (if known, this principal is
the same as the last time we looked at the ccache.

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

24 years ago2000-4-13 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Thu, 13 Apr 2000 22:04:39 +0000 (22:04 +0000)]
2000-4-13 Alexandra Ellwood <lxs@mit.edu>

* win-mac.h: Set up the macintosh build to use KerberosLogin.

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

24 years ago2000-4-13 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Thu, 13 Apr 2000 22:04:20 +0000 (22:04 +0000)]
2000-4-13 Alexandra Ellwood <lxs@mit.edu>

* krb5-int.h: Added support to store a krb5_principal in the os_context
along with the default ccache name (if known, this principal is the same
as the last time we looked at the ccache.

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

24 years agoAdded LoginLib, UtilitiesLib to Kerberos5Lib for popup dialog support
Alexandra Ellwood [Thu, 13 Apr 2000 22:02:08 +0000 (22:02 +0000)]
Added LoginLib, UtilitiesLib to Kerberos5Lib for popup dialog support

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

24 years agoClean gss-sample on Windows
Danilo Almeida [Tue, 11 Apr 2000 21:22:24 +0000 (21:22 +0000)]
Clean gss-sample on Windows

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

24 years ago * vfy_increds.c (krb5_verify_init_creds): appdefault_boolean ->
Tom Yu [Sat, 8 Apr 2000 07:37:37 +0000 (07:37 +0000)]
* vfy_increds.c (krb5_verify_init_creds): appdefault_boolean ->
libdefault_boolean; it somehow got missed earlier.

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

24 years ago * wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix up
Tom Yu [Sat, 8 Apr 2000 07:36:03 +0000 (07:36 +0000)]
* wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix up
wrap_size_limit() to deal with integrity wrap tokens properly.
The rfc1964 mech always pads and confounds regardless of whether
confidentiality is requested.

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

24 years ago2000-04-07 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Fri, 7 Apr 2000 19:14:20 +0000 (19:14 +0000)]
2000-04-07  Jeffrey Altman  <jaltman@columbia.edu>

        * gic_pwd.c (krb5_get_init_creds_keytab), gic_pwd.c (krb5_get_init_creds_password)
        when determining whether or not to retry with a "master kdc" do not retry if
        the return value from the first attempt was KRB5_REALM_CANT_RESOLV.  Also, do
        not overwrite the return code if the return value from the access to the "master
        kdc" was KRB5_REALM_CANT_RESOLV.

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

24 years ago2000-04-07 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Fri, 7 Apr 2000 18:44:34 +0000 (18:44 +0000)]
2000-04-07  Jeffrey Altman <jaltman@columbia.edu>

* stdcc_util.c (copyCCDataArrayToK5, copyCCDataArrayToK5):
* stdcc_util.c (dupCCtoK5, dupK5toCC):

          memory was being allocated as   (sizeof(foo) * count + 1)
          instead of                      (sizeof(foo) * (count + 1))

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

24 years ago2000-04-03 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Tue, 4 Apr 2000 03:58:22 +0000 (03:58 +0000)]
2000-04-03  Jeffrey Altman <jaltman@columbia.edu>

* stdcc_util.c (copyCCDataArrayToK5, copyCCDataArrayToK5):
* stdcc_util.c (dupCCtoK5, dupK5toCC):

          Changed all references to the type UInt32 to unsigned int
          since UInt32 is not a standard type on Unix or Win32

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

24 years ago2000-04-03 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Tue, 4 Apr 2000 03:56:09 +0000 (03:56 +0000)]
2000-04-03  Jeffrey Altman <jaltman@columbia.edu>

        * prof_get.c:
            profile_get_boolean() was calling prof_parse_boolean()
            instead of profile_get_boolean()

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

24 years ago2000-04-03 Jeffrey Altman <jaltman@columbia.edu>
Jeffrey Altman [Tue, 4 Apr 2000 03:39:53 +0000 (03:39 +0000)]
2000-04-03  Jeffrey Altman <jaltman@columbia.edu>

        * prof_get.c:
          . Added #include <limits.h> for definitions of INT_MAX, etc.
          . Changed 'ret_int' to 'ret_boolean' in prof_get_boolean

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

24 years agoUpped CFM interface version on v5 lib because we mucked with the export file and...
Miro Jurisic [Sun, 26 Mar 2000 04:07:26 +0000 (04:07 +0000)]
Upped CFM interface version on v5 lib because we mucked with the export file and removed stuff

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

24 years agoReadded other crypto library calls needed by GSSLib (grumble grumble)
Miro Jurisic [Sun, 26 Mar 2000 04:06:07 +0000 (04:06 +0000)]
Readded other crypto library calls needed by GSSLib (grumble grumble)

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

24 years agoOops, extra '
Miro Jurisic [Sun, 26 Mar 2000 03:59:34 +0000 (03:59 +0000)]
Oops, extra '

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

24 years agoReadded krb5_c_keyed_checksum_types for GSSLib
Miro Jurisic [Sun, 26 Mar 2000 03:56:28 +0000 (03:56 +0000)]
Readded krb5_c_keyed_checksum_types for GSSLib

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

24 years agoFixed protos for krb5_locate_srv_*
Miro Jurisic [Sun, 26 Mar 2000 03:26:08 +0000 (03:26 +0000)]
Fixed protos for krb5_locate_srv_*

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

24 years ago2000-03-24 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Fri, 24 Mar 2000 23:40:13 +0000 (23:40 +0000)]
2000-03-24  Alexandra Ellwood  <lxs@mit.edu>

* stdcc_util.c (copyCCDataArrayToK5, copyCCDataArrayToK5):
Modified to copy authdata as well... this code may have
bugs since I couldn't get a good case where authdata != NULL

* stdcc_util.c (dupCCtoK5, dupK5toCC):
Added code to store times in localtime, not in kdc time.

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

24 years agojaltman@columbia.edu Mar 24, 2000:
Jeffrey Altman [Fri, 24 Mar 2000 22:04:41 +0000 (22:04 +0000)]
jaltman@columbia.edu  Mar 24, 2000:

In conjunction with the patch to alter the handling of "master" kdc's
this patch updates the prototypes of the private functions.

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

24 years agojaltman@columbia.edu Mar 24, 2000:
Jeffrey Altman [Fri, 24 Mar 2000 22:02:59 +0000 (22:02 +0000)]
jaltman@columbia.edu  Mar 24, 2000:

In 1.0.6, the code was altered to provide a fallback mechanism to
try the "master" kdc's in case the normal kdc's did not have the
most up to date password information.  The original implementation
had significant conflicts with the use of DNS SRV records.  In
addition, it often performed a lot of unneeded work.

The new code still performs a fallback to the "master" kdc but
only does the computation of the "master kdc list" if we are
in fact going to attempt to use a master.

For DNS SRV we introduce a new _kerberos-master.<proto>.<REALM>
record to list the master kdc's and the priorities to be used
when contacting a master.  This allows for a multi-tiered implementation.

---

The other change is local to krb/get_in_tkt.c.  In preparation for
adding public krb5_appdefault_boolean and krb5_appdefault_string
functions, the static functions by that name in get_in_tkt.c are
renamed to krb5_libdefault_xxxxx since they currently access the
[libdefault] section of the code.

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