Tom Yu [Mon, 20 Dec 2004 22:04:11 +0000 (22:04 +0000)]
add [2838]
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16971
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 20 Dec 2004 22:03:00 +0000 (22:03 +0000)]
pullup from trunk
ticket: 2838
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16970
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 20 Dec 2004 21:17:39 +0000 (21:17 +0000)]
krb5-1.4-beta3
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16965
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 20 Dec 2004 21:16:20 +0000 (21:16 +0000)]
pullup from trunk
ticket: 2841
target_version: 1.4
version_fixed: 1.4
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16964
dc483132-0cff-0310-8789-
dd5450dbe970
no author [Mon, 20 Dec 2004 21:16:20 +0000 (21:16 +0000)]
This commit was manufactured by cvs2svn to create branch 'krb5-1-4'
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16963
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 20 Dec 2004 02:58:12 +0000 (02:58 +0000)]
Remove some dead code to make suitable for release
ticket: 2816
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16959
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 19 Dec 2004 22:14:05 +0000 (22:14 +0000)]
pullup from trunk
ticket: 2835
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16958
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 19 Dec 2004 22:12:16 +0000 (22:12 +0000)]
pullup from trunk
ticket: 2834
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16957
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 19 Dec 2004 22:10:59 +0000 (22:10 +0000)]
pullup from trunk
ticket: 2833
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16956
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 18 Dec 2004 02:28:02 +0000 (02:28 +0000)]
pullup from trunk
ticket: 2832
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16952
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 17 Dec 2004 02:00:33 +0000 (02:00 +0000)]
back out cc_mslsa.c:5.38 and cc_mslsa.c:5.29
ticket: 2816
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16949
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 16 Dec 2004 21:33:09 +0000 (21:33 +0000)]
pullup from trunk
ticket: 2816
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16948
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 16 Dec 2004 21:28:13 +0000 (21:28 +0000)]
pullup from trunk
ticket: 2815
version_fixed: 1.4
target_version: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16947
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 16 Dec 2004 21:25:14 +0000 (21:25 +0000)]
pullup from trunk
ticket: 2818
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16946
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Dec 2004 22:20:46 +0000 (22:20 +0000)]
pullup from trunk
ticket: 2814
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16943
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Dec 2004 20:41:20 +0000 (20:41 +0000)]
pullup from trunk
ticket: 2812
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16942
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Dec 2004 20:38:44 +0000 (20:38 +0000)]
pullup from trunk
ticket: 2808
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16941
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Dec 2004 20:32:46 +0000 (20:32 +0000)]
pullup from trunk
ticket: 2805
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16940
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Dec 2004 20:28:31 +0000 (20:28 +0000)]
pullup from trunk
ticket: 2802
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16939
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 9 Dec 2004 23:14:56 +0000 (23:14 +0000)]
krb5-1.4-beta2-postrelease
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16929
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 9 Dec 2004 22:58:42 +0000 (22:58 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16927
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 9 Dec 2004 22:51:02 +0000 (22:51 +0000)]
oops fix tag
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16926
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 9 Dec 2004 22:26:39 +0000 (22:26 +0000)]
krb5-1.4-beta2
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16925
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 9 Dec 2004 22:25:54 +0000 (22:25 +0000)]
Update change details
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16924
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 9 Dec 2004 05:13:17 +0000 (05:13 +0000)]
thank quanah for help testing
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16923
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 8 Dec 2004 20:20:14 +0000 (20:20 +0000)]
pullup from trunk
ticket: 2772
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16922
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 8 Dec 2004 19:59:59 +0000 (19:59 +0000)]
pullup from trunk
ticket: 2797
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16921
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 8 Dec 2004 03:25:56 +0000 (03:25 +0000)]
pullup from trunk
ticket: 2755
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16918
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 7 Dec 2004 23:08:30 +0000 (23:08 +0000)]
pullup from trunk
ticket: 2793
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16917
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 7 Dec 2004 22:38:55 +0000 (22:38 +0000)]
pullup from trunk
ticket: 2795
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16916
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 4 Dec 2004 01:42:57 +0000 (01:42 +0000)]
pullup from trunk
ticket: 2782
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16911
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 4 Dec 2004 01:39:07 +0000 (01:39 +0000)]
pullup from trunk
ticket: 2783
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16910
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 24 Nov 2004 23:23:08 +0000 (23:23 +0000)]
pullup from trunk
ticket: 2781
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16907
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 24 Nov 2004 23:10:19 +0000 (23:10 +0000)]
pullup from trunk
ticket: 2780
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16906
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 20 Nov 2004 02:07:42 +0000 (02:07 +0000)]
pullup from trunk
ticket: 2779
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16902
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 19 Nov 2004 22:17:18 +0000 (22:17 +0000)]
pullup from trunk
ticket: 2760
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16900
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 19 Nov 2004 21:47:51 +0000 (21:47 +0000)]
pullup from trunk
ticket: 2778
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16897
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 19 Nov 2004 21:20:15 +0000 (21:20 +0000)]
pullup from trunk
ticket: 2776
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16894
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 18 Nov 2004 21:21:28 +0000 (21:21 +0000)]
pullup from trunk
ticket: 2775
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16889
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 18 Nov 2004 00:02:45 +0000 (00:02 +0000)]
pullup from trunk
ticket: 841
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16886
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 17 Nov 2004 23:20:53 +0000 (23:20 +0000)]
pullup from trunk
ticket: 2756
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16885
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 17 Nov 2004 23:04:15 +0000 (23:04 +0000)]
krb5-1.4-beta1-postrelease
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16884
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 17 Nov 2004 21:39:15 +0000 (21:39 +0000)]
krb5-1.4-beta1
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16882
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 17 Nov 2004 21:38:50 +0000 (21:38 +0000)]
update for krb5-1.4-beta1
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16881
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 16 Nov 2004 20:07:33 +0000 (20:07 +0000)]
pullup from trunk
ticket: 2410
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16878
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 15 Nov 2004 22:26:40 +0000 (22:26 +0000)]
pullup from trunk
ticket: 2762
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16869
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 15 Nov 2004 22:17:47 +0000 (22:17 +0000)]
pullup from trunk
ticket: 2770
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16868
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 4 Nov 2004 19:39:40 +0000 (19:39 +0000)]
Added new exported symbols to profile and GSS and updated project file to include more robust header paths
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16863
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 4 Nov 2004 19:34:24 +0000 (19:34 +0000)]
pullup from trunk
ticket: 2751
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16861
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 4 Nov 2004 19:21:12 +0000 (19:21 +0000)]
pullup from trunk
ticket: 2750
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16859
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 31 Oct 2004 20:02:47 +0000 (20:02 +0000)]
pullup from trunk
ticket: 2757
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16852
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 31 Oct 2004 18:43:40 +0000 (18:43 +0000)]
* fake-addrinfo.h: Include errno.h earlier
ticket: 2754
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16851
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 31 Oct 2004 00:41:23 +0000 (00:41 +0000)]
update RELTAG
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16849
dc483132-0cff-0310-8789-
dd5450dbe970
no author [Sun, 31 Oct 2004 00:41:23 +0000 (00:41 +0000)]
This commit was manufactured by cvs2svn to create branch 'krb5-1-4'
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16848
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 28 Oct 2004 23:41:10 +0000 (23:41 +0000)]
* misc.c (check_min_life): Actually return a value on success
ticket: 1335
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16843
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 28 Oct 2004 05:40:00 +0000 (05:40 +0000)]
* k5-thread.h (return_after_yield, k5_mutex_lock) [__GNUC__]: Add macro
versions so debugging line numbers will be useful.
(DEBUG_THREADS_SLOW): Don't define.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16842
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 27 Oct 2004 22:12:48 +0000 (22:12 +0000)]
* misc.c, misc.h: New function check_min_life(), containing common
code from wrapper functions. New function chpass_util_wrapper(),
which does min_life checking prior to calling
kadm5_chpass_principal_util().
* schpw.c (process_chpw_request): Call chpass_util_wrapper().
ticket: 1335
component: krb5-admin
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16841
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Wed, 27 Oct 2004 20:48:07 +0000 (20:48 +0000)]
* Initial commit of C CCAPI implementation
ticket: 2753
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16840
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Wed, 27 Oct 2004 20:39:30 +0000 (20:39 +0000)]
Create new C CCAPI implementation
ticket:new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16839
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 27 Oct 2004 00:07:20 +0000 (00:07 +0000)]
Permit exporting profile file data into a buffer
* prof_file.c (profile_flush_file_data_to_buffer): New function.
* profi_init.c (profile_flush_to_buffer, profile_free_buffer): New functions.
* prof_parse.c (output_quoted_string): Use a callback instead of stdio calls.
(dump_profile): Renamed from dump_profile_to_file. Use a callback instead of
stdio calls.
(dump_profile_to_file_cb): New function.
(profile_write_tree_file): Updated to new internal interface.
(struct prof_buf): New type.
(add_data_to_buffer, dump_profile_to_buffer_cb, profile_write_tree_to_buffer):
New functions.
* prof_int.h (profile_write_tree_to_buffer, profile_flush_file_data_to_buffer):
Declare.
* profile.hin (profile_flush_to_buffer, profile_free_buffer): Declare.
* libprofile.exports: Export profile_flush_to_buffer and profile_free_buffer.
* profile.swg (profile_flush_to_buffer): Declare.
* profile_tcl.c: Regenerated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16838
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 26 Oct 2004 23:01:14 +0000 (23:01 +0000)]
* mk_req_ext.c (krb5_mk_req_extended): Free keyblock before
copying new one in.
ticket: 2725
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16837
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 26 Oct 2004 00:14:53 +0000 (00:14 +0000)]
Kevin Coffman's patches to support passing gss context state to kernel
ticket: 2743
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16836
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 25 Oct 2004 19:09:54 +0000 (19:09 +0000)]
* libkrb5support.exports: Export krb5int_fac, _lock_fac, _unlock_fac
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16835
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 22 Oct 2004 19:07:45 +0000 (19:07 +0000)]
* prof_file.c (profile_update_file_data): When resetting flags, preserve SHARED
flag.
(scan_shared_trees_locked, scan_shared_trees_unlocked): Convert to macros, so
line numbers reported by assert will be useful.
* prof_test1 (test2): Run new test of modifications with other existing open
profile handles.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16834
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 21 Oct 2004 00:27:14 +0000 (00:27 +0000)]
* locate_kdc.c: Include stdarg.h.
(Tprintf): New function, prints to stderr or not depending on TEST macro.
(add_addrinfo_to_list, krb5int_add_host_to_list, krb5_locate_srv_conf_1,
krb5_locate_srv_dns_1, krb5int_locate_server): Call it instead of conditionally
calling fprintf.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16833
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 19 Oct 2004 21:39:53 +0000 (21:39 +0000)]
* dnssrv.c (krb5int_make_srv_query_realm): Append a dot to the hostname, if
there's room in the buffer, to avoid domain search paths.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16832
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 19 Oct 2004 18:09:53 +0000 (18:09 +0000)]
* dnsglue.c (initparse): Skip query type and class when we lack
ns_initparse().
(krb5int_dns_nextans) [!HAVE_NS_INITPARSE]: Pass correct pointer
to dn_skipname(). Actually skip the RR name.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16831
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 19 Oct 2004 10:24:47 +0000 (10:24 +0000)]
* libprofile.exports: Add profile_flush_to_file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16830
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 19 Oct 2004 02:27:49 +0000 (02:27 +0000)]
add dependencies for t_*.c test programs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16829
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 19 Oct 2004 02:24:36 +0000 (02:24 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16828
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 19 Oct 2004 02:22:31 +0000 (02:22 +0000)]
ignore t_locate_kdc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16827
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 19 Oct 2004 02:15:37 +0000 (02:15 +0000)]
* Makefile.in (TEST_PROGS): Add t_locate_kdc.
(check-unix): Run t_locate_kdc to test fetching DNS SRV records.
We probably don't want this test to be part of this test suite long-term, since
it relies on external DNS data rather than being self-contained.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16826
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 18 Oct 2004 23:14:51 +0000 (23:14 +0000)]
Allow profile library caller to write the modified data to a different
file than was originally read.
* prof_file.c (write_data_to_file): New function, split out from
profile_flush_file_data. Add argument can_create indicating whether the old
file should already exist or not.
(profile_flush_file_data): Call it.
(profile_flush_file_data_to_file): New function.
* prof_int.h (profile_flush_file_data_to_file): Declare it.
(profile_flush_file_to_file): New macro.
* prof_init.c (profile_flush_to_file): New function.
* profile.hin (profile_flush_to_file): Declare.
* profile.swg (profile_flush_to_file): Declare.
* profile_tcl.c: Regenerated.
* prof_test1: Use profile_flush_to_file instead of profile_flush, and reload
from the new filename.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16825
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 18 Oct 2004 21:01:01 +0000 (21:01 +0000)]
* Makefile.in (install-unix): Install headers
ticket: 2743
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16824
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 15 Oct 2004 23:58:17 +0000 (23:58 +0000)]
* prof_file.c, prof_int.h, prof_set.c: Remove support for non-SHARE_TREE_DATA
case.
* prof_int.h (struct _prf_data_t): Change filespec to a trailing char array.
Add a length field for the filespec.
(profile_make_prf_data): Declare.
(profile_lock_global, profile_unlock_global): Prototypes need argument lists.
* prof_file.c: Include stddef.h.
(scan_shared_trees_locked, scan_shared_trees_unlocked): New functions.
(r_access, rw_access): Now take const_profile_filespec_t arg.
(profile_make_prf_data): New function.
(profile_open_file): Scan trees at beginning and end. Use
profile_make_prf_data to allocate and initialize storage.
(profile_dereference_data, profile_free_file_data): Scan trees.
(profile_ser_size, profile_ser_externalize): Filespec is never null.
* prof_set.c (rw_setup): Use profile_make_prf_data to allocate and initialize
storage.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16822
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 14 Oct 2004 21:43:29 +0000 (21:43 +0000)]
* t_deltat.c (main): Unadorned integer no longer fails now that we
default to seconds.
ticket: 2734
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16819
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Wed, 13 Oct 2004 17:55:25 +0000 (17:55 +0000)]
* prof_file.c (profile_library_initializer, profile_library_finalizer): Added macros to avoid adding error tables on platforms that don't use them (ie: OSX)
ticket: 2741
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16818
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Wed, 13 Oct 2004 17:49:11 +0000 (17:49 +0000)]
Need prototypes for profile_lock_global and profile_unlock_global
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16817
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Wed, 13 Oct 2004 16:18:27 +0000 (16:18 +0000)]
krb5_string_to_deltat should default to seconds if no unit is provided. If the format is invalid, it should return a distinct error (KRB5_DELTAT_BADFORMAT, not EINVAL)
ticket: 2734
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16816
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 13 Oct 2004 02:22:41 +0000 (02:22 +0000)]
Fix small memory leak in repeated krb5 context creation and deletion:
* prof_init.c (profile_init): Don't add error table here.
* prof_file.c (profile_library_initializer): Add it here.
(profile_library_finalizer): Remove it here.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16815
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Fri, 8 Oct 2004 03:57:45 +0000 (03:57 +0000)]
Fix the forced setting of the Initial Ticket Flag on Win2000 and
add the functionality to XP and 2003 SP1.
ticket: 2735
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16814
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 7 Oct 2004 21:11:29 +0000 (21:11 +0000)]
* et_c.awk, et_h.awk: Fix off-by-one error.
* et_c.pl, et_h.pl: Regenerated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16813
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 7 Oct 2004 01:16:21 +0000 (01:16 +0000)]
* implementor.texinfo, thread-safe.txt, threads.txt: Various updates relating to
thread support.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16812
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 7 Oct 2004 00:21:38 +0000 (00:21 +0000)]
* et_c.awk, et_h.awk: Complain if the error table is too large.
* et_c.pl, et_h.pl: Regenerated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16811
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 7 Oct 2004 00:00:25 +0000 (00:00 +0000)]
Install example config files
ticket: 249
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16810
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 6 Oct 2004 23:51:21 +0000 (23:51 +0000)]
* localaddr.c (print_addr): If getnameinfo returns EAI_SYSTEM, report what the
system error is.
Also fix a fencepost error in the last change.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16809
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 6 Oct 2004 23:39:12 +0000 (23:39 +0000)]
* localaddr.c (foreach_localaddr): Be more careful not to walk past the end of
the ifreq array.
(get_ifreq_array): Return 0 in success case, not errno.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16808
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 6 Oct 2004 04:21:27 +0000 (04:21 +0000)]
* localaddr.c (get_ifreq_array): Split out from foreach_localaddr general
version.
(foreach_localaddr): Call it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16807
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 6 Oct 2004 01:10:09 +0000 (01:10 +0000)]
* aclocal.m4 (KRB5_AC_ENABLE_THREADS): On HP-UX, define some preprocessor
symbols that -pthread defines, but don't use -pthread so we can avoid forcing
linking against pthread libraries.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16806
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 6 Oct 2004 01:07:35 +0000 (01:07 +0000)]
forgot to check in with fake-addrinfo.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16805
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 5 Oct 2004 21:24:01 +0000 (21:24 +0000)]
* localaddr.c (foreach_localaddr) [HAVE_STRUCT_IF_LADDRCONF && 0]: Fix
if_laddrreq.iflr_name field name not properly adjusted. The iflr_addr field is
an HP-UX specific sockaddr_ext with sa_ field name prefixes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16804
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 5 Oct 2004 21:04:04 +0000 (21:04 +0000)]
* fake-addrinfo.h (AI_ADDRCONFIG, AI_V4MAPPED, AI_ALL): If not defined, or when
completely faking getaddrinfo, define them as zero.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16803
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Mon, 4 Oct 2004 17:51:23 +0000 (17:51 +0000)]
Added new files used by krb5-1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16802
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 1 Oct 2004 23:44:49 +0000 (23:44 +0000)]
* localaddr.c (get_if_laddrconf, foreach_localaddr): New implementation for
HP-UX 11, based on Solaris support and information from Doug Engert. Disabled
for now, until it can be tested.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16801
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 1 Oct 2004 23:43:05 +0000 (23:43 +0000)]
* configure.in: Check for struct if_laddrconf, as for struct lifconf
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16800
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 1 Oct 2004 22:08:14 +0000 (22:08 +0000)]
* kcmd.c (kcmd_connect): Set *addrfamilyp with the address family actually used
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16799
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Fri, 1 Oct 2004 04:25:43 +0000 (04:25 +0000)]
* update the include paths to allow patchlevel.h to be found
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16798
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Fri, 1 Oct 2004 04:23:34 +0000 (04:23 +0000)]
* update Changelog
ticket: 2729
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16797
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Fri, 1 Oct 2004 04:22:07 +0000 (04:22 +0000)]
* Add new conditional resource strings
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16796
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Fri, 1 Oct 2004 04:18:22 +0000 (04:18 +0000)]
* hst_realm.c: provide definition for MAXDNAME if
KRB5_DNS_LOOKUP is not defined.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16795
dc483132-0cff-0310-8789-
dd5450dbe970