Stefan Metzmacher [Fri, 22 Aug 2008 09:58:18 +0000 (11:58 +0200)]
lorikeet-heimdal: add wrap_ex_ntlm.diff from abartlet
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:57:36 +0000 (11:57 +0200)]
lorikeet-heimdal: add IMPORT-HEIMDAL.sh
I think this can be removed...
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:57:06 +0000 (11:57 +0200)]
lorikeet-heimdal: add HEIMDAL-LICENCE.txt
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:50:02 +0000 (11:50 +0200)]
lorikeet-heimdal: enable samba specific e_text = NULL...
The following is needed to make windows clients
to retry using the timestamp in the error message.
This is maybe a bug in windows to not trying when e_text
is present...
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:47:23 +0000 (11:47 +0200)]
lorikeet-heimdal: hdb_resolve() strrchr() instead of strchr()...
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:46:35 +0000 (11:46 +0200)]
lorikeet-heimdal: krb5_send_to_kdc_func() timeout parameter
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:45:26 +0000 (11:45 +0200)]
lorikeet-heimdal: Netbios Domain as Realm HACK...
This is really a ugly hack, to support using the Netbios Domain Name
as realm against windows KDC's, they always return the full realm
based on the DNS Name.
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:43:50 +0000 (11:43 +0200)]
lorikeet-heimdal: camellia-ntt GPLv2+ license
metze
Stefan Metzmacher [Fri, 22 Aug 2008 09:42:21 +0000 (11:42 +0200)]
lorikeet-heimdal: autogen.sh modifications
metze
Love Hörnquist Åstrand [Thu, 26 Mar 2009 01:40:44 +0000 (01:40 +0000)]
set new filename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24955
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Thu, 26 Mar 2009 01:40:34 +0000 (01:40 +0000)]
fix printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24954
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Thu, 26 Mar 2009 01:40:19 +0000 (01:40 +0000)]
unlock mutex instead of lock twice
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24953
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Thu, 26 Mar 2009 01:09:43 +0000 (01:09 +0000)]
make homedir work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24952
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 23:29:56 +0000 (23:29 +0000)]
make compile (missing implementation)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24951
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:38:36 +0000 (15:38 +0000)]
add KRB5_KU_PA_PKINIT_KX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24950
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:38:25 +0000 (15:38 +0000)]
add test_hdbkeys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24949
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:38:14 +0000 (15:38 +0000)]
Code to print hdb_keysets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24948
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:38:04 +0000 (15:38 +0000)]
Use calloc().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24947
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:37:53 +0000 (15:37 +0000)]
Use blocksize instead of 16.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24946
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:37:42 +0000 (15:37 +0000)]
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
memory leak in krb5_get_creds_opt->ticket
The function krb5_get_creds_opt_set_ticket copies a Ticket
into a krb5_get_cred_opt structure. However,
krb5_get_creds_opt_free does not clean up this Ticket, even
thought he manual pages indicate that it should.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24945
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:37:21 +0000 (15:37 +0000)]
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
Fix resource leak in heimdal/krb5/fcache/fcc_remove_cred
In fcache, fcc_remove_cred generates a ccache called
"newfile," which is not cleaned up if the final call
(krb5_cc_move) fails.
Free of uninitialized value in fcache/fcc_move(...)
If init_fcc fails to acquire a file handle, sp will be
uninitialized. If this is the case, the call to
krb5_storage_free will dereference this uninitialized value,
which causes undefined behaviour.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24944
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:37:08 +0000 (15:37 +0000)]
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24943
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:36:58 +0000 (15:36 +0000)]
comment on what to add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24942
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:36:47 +0000 (15:36 +0000)]
simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24941
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:36:36 +0000 (15:36 +0000)]
move generation of session key to preauth hook.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24940
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:36:26 +0000 (15:36 +0000)]
add generation of session key here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24939
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:36:14 +0000 (15:36 +0000)]
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24938
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:36:03 +0000 (15:36 +0000)]
Add KRB5_CTX_F_HOMEDIR_ACCESS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24937
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:35:53 +0000 (15:35 +0000)]
Add krb5_set_home_dir_access.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24936
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:35:42 +0000 (15:35 +0000)]
Expand ~ to $HOME or pw_dir.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24935
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:35:31 +0000 (15:35 +0000)]
add change-defaults
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24934
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:35:21 +0000 (15:35 +0000)]
Parse ~/Library/Preferences/edu.mit.Kerberos too if running on an Apple platform.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24933
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:35:10 +0000 (15:35 +0000)]
add krb5_set_home_dir_access
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24932
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:34:58 +0000 (15:34 +0000)]
add store-cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24931
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Wed, 25 Mar 2009 15:34:42 +0000 (15:34 +0000)]
basic implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24930
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:25:07 +0000 (17:25 +0000)]
add store-cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24929
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:24:57 +0000 (17:24 +0000)]
add store_cred.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24928
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:24:46 +0000 (17:24 +0000)]
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24927
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:24:36 +0000 (17:24 +0000)]
update documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24926
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:24:26 +0000 (17:24 +0000)]
wrap more EC stuff in HAVE_OPENSSL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24925
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:24:15 +0000 (17:24 +0000)]
don't set j to 0, since it never read again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24924
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:24:05 +0000 (17:24 +0000)]
Freeglob is not read again, just free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24923
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:23:54 +0000 (17:23 +0000)]
openlog failed, exit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24922
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:23:44 +0000 (17:23 +0000)]
checker warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24921
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:23:32 +0000 (17:23 +0000)]
make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24920
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:23:20 +0000 (17:23 +0000)]
make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24919
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:23:10 +0000 (17:23 +0000)]
qop_state is not used any more, remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24918
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:23:00 +0000 (17:23 +0000)]
ops is not used any more, remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24917
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:22:50 +0000 (17:22 +0000)]
return instad of break out to return
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24916
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:22:40 +0000 (17:22 +0000)]
nkeys not used any more, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24915
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:22:30 +0000 (17:22 +0000)]
argc/argv not used, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24914
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:22:20 +0000 (17:22 +0000)]
ep not use, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24913
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:22:10 +0000 (17:22 +0000)]
argc not use, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24912
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:22:00 +0000 (17:22 +0000)]
If data == NULL, not store the config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24911
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:50 +0000 (17:21 +0000)]
Add support for setting and getting kdc offset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24910
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:40 +0000 (17:21 +0000)]
Adapt to time skew in KRB-ERROR.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24909
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:29 +0000 (17:21 +0000)]
Try adapt to timeskrew when we are using pre-auth, and if there was a
time skew, try again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24908
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:19 +0000 (17:21 +0000)]
added newline
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24907
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:08 +0000 (17:21 +0000)]
first draft of gss_store_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24906
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:57 +0000 (17:20 +0000)]
add store_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24905
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:47 +0000 (17:20 +0000)]
add hdb_keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24904
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:37 +0000 (17:20 +0000)]
add hdb_keyset and opaque
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24903
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:28 +0000 (17:20 +0000)]
spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24902
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:18 +0000 (17:20 +0000)]
Do locking around file descriptor, this allows caching of the file
descriptor in the module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24901
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:07 +0000 (17:20 +0000)]
Prefer /dev/random on MacOS since it's always there and have good performance.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24900
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:57 +0000 (17:19 +0000)]
include 524 if not smaller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24899
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:47 +0000 (17:19 +0000)]
disable 425 functions and include 524 if not smaller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24898
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:36 +0000 (17:19 +0000)]
dns: switch to rk types, prefix types with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24897
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:26 +0000 (17:19 +0000)]
provide glue for classes too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24896
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:15 +0000 (17:19 +0000)]
stop using Bind4 types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24895
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:05 +0000 (17:19 +0000)]
remove bind4 types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24894
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:55 +0000 (17:18 +0000)]
dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24893
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:45 +0000 (17:18 +0000)]
dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24892
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:35 +0000 (17:18 +0000)]
dns: switch to rk types, prefix types with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24891
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:25 +0000 (17:18 +0000)]
dns: switch to rk types, prefix types with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24890
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:15 +0000 (17:18 +0000)]
prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24889
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:05 +0000 (17:18 +0000)]
less unprefixed structs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24888
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:55 +0000 (17:17 +0000)]
prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24887
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:45 +0000 (17:17 +0000)]
C++ protection
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24886
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:35 +0000 (17:17 +0000)]
remove compat glue, fix prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24885
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:12 +0000 (17:17 +0000)]
dns_ symbols are no more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24884
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:02 +0000 (17:17 +0000)]
prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24883
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:50 +0000 (17:16 +0000)]
Check for dns_search and dns.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24882
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:40 +0000 (17:16 +0000)]
Use dns_ API when available. Om MacOS this avoids repeted lookups
since it uses the mDNSResponder to cache the replies.
Remove support debugging using the old res_ API.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24881
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:29 +0000 (17:16 +0000)]
prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24880
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:19 +0000 (17:16 +0000)]
prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24879
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:06 +0000 (17:16 +0000)]
prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24878
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:54 +0000 (03:34 +0000)]
handle error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24877
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:44 +0000 (03:34 +0000)]
ignore the error from the free function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24876
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:34 +0000 (03:34 +0000)]
catch bad privs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24875
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:24 +0000 (03:34 +0000)]
abort on memory error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24874
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:06 +0000 (03:34 +0000)]
don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24873
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:57 +0000 (03:33 +0000)]
don't set unused variables, make it more obvious that the switchstatement return.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24872
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:47 +0000 (03:33 +0000)]
don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24871
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:35 +0000 (03:33 +0000)]
don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24870
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:26 +0000 (03:33 +0000)]
don't set unused variables, remove undefined behavior:
"Pass-by-value argument in function is undefined."
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24869
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:04 +0000 (03:33 +0000)]
don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24868
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:32:42 +0000 (03:32 +0000)]
don't set unused variables, move cc to propper scope.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24867
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:32:31 +0000 (03:32 +0000)]
catch error and, while here, destroy credential caches on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24866
ec53bebd-3082-4978-b11e-
865c3cabbd6b
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:32:10 +0000 (03:32 +0000)]
Remove strange code around getarg(), just do like everyone else does it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24865
ec53bebd-3082-4978-b11e-
865c3cabbd6b