Commit Graph

23738 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
fad2decced Check for dns_search and dns.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:50 +00:00
Love Hörnquist Åstrand
a61934489a 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
2009-03-22 17:16:40 +00:00
Love Hörnquist Åstrand
7f437c326a prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:29 +00:00
Love Hörnquist Åstrand
355a7f54e5 prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:19 +00:00
Love Hörnquist Åstrand
b52f9b6fd9 prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:06 +00:00
Love Hörnquist Åstrand
65adbffd77 handle error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:54 +00:00
Love Hörnquist Åstrand
f77d976831 ignore the error from the free function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:44 +00:00
Love Hörnquist Åstrand
c2ef08565c catch bad privs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:34 +00:00
Love Hörnquist Åstrand
8a1dc13633 abort on memory error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:24 +00:00
Love Hörnquist Åstrand
9eedf9e4f3 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:06 +00:00
Love Hörnquist Åstrand
181299ffb9 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
2009-02-27 03:33:57 +00:00
Love Hörnquist Åstrand
f86b5b7320 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:47 +00:00
Love Hörnquist Åstrand
8f8f65ffe9 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:35 +00:00
Love Hörnquist Åstrand
ebc8d73af1 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
2009-02-27 03:33:26 +00:00
Love Hörnquist Åstrand
76b62ca2a9 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:04 +00:00
Love Hörnquist Åstrand
fea9aa5894 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
2009-02-27 03:32:42 +00:00
Love Hörnquist Åstrand
a5e6d1338b 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
2009-02-27 03:32:31 +00:00
Love Hörnquist Åstrand
412155fa6e 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
2009-02-27 03:32:10 +00:00
Love Hörnquist Åstrand
10916974df Remove unsed variable kerberos_error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:00 +00:00
Love Hörnquist Åstrand
eb0549ea43 make vno set to a valid, so that in case master disconnects before it sent us any entries, don't print stack value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:50 +00:00
Love Hörnquist Åstrand
a4b0d218d9 make db NULL to make it not pass undefined value to hdb_print_entry().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:41 +00:00
Love Hörnquist Åstrand
471260363f catch errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:31 +00:00
Love Hörnquist Åstrand
393b5824ce catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:21 +00:00
Love Hörnquist Åstrand
68853055fa don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:11 +00:00
Love Hörnquist Åstrand
02c9b49155 don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:01 +00:00
Love Hörnquist Åstrand
3dd1e7a385 don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:52 +00:00
Love Hörnquist Åstrand
ac2c3d7f52 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:42 +00:00
Love Hörnquist Åstrand
68b959c395 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:32 +00:00
Love Hörnquist Åstrand
33ca6f1a26 dont increment p since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:19 +00:00
Love Hörnquist Åstrand
269ddbd09e dont increment p since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:09 +00:00
Love Hörnquist Åstrand
c2c1e95ccf dont increment nhost since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:58 +00:00
Love Hörnquist Åstrand
d17aa3e8fe drop temp variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:49 +00:00
Love Hörnquist Åstrand
f1a66a04b2 assign array instead of p++
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:39 +00:00
Love Hörnquist Åstrand
6264d0b528 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:29 +00:00
Love Hörnquist Åstrand
28230ca61a catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:20 +00:00
Love Hörnquist Åstrand
022c117434 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:10 +00:00
Love Hörnquist Åstrand
ef088ee696 error never read again, just drop it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:59 +00:00
Love Hörnquist Åstrand
5684eb4435 running strsep_copy again, yield same result
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:50 +00:00
Love Hörnquist Åstrand
0922b9168e client_realm is never read
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:40 +00:00
Love Hörnquist Åstrand
b8946878b8 remove dead assignment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:30 +00:00
Love Hörnquist Åstrand
08b3bcc294 catch error from krb5_store_int32
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:19 +00:00
Love Hörnquist Åstrand
e1e65f1fbd krb5_425_conv_* misc functions are deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:09 +00:00
Love Hörnquist Åstrand
ce2ab466e6 krb5_425_conv_principal is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:00 +00:00
Love Hörnquist Åstrand
4e5f2d4ab5 krb5_425_conv_principal_ext is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:50 +00:00
Love Hörnquist Åstrand
7edaf92f13 check return value instead of guessing on variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:40 +00:00
Love Hörnquist Åstrand
c0f4693926 drop unused return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:31 +00:00
Love Hörnquist Åstrand
d3343b5027 catch underflow/overflow errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:21 +00:00
Love Hörnquist Åstrand
6a27427df8 Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:11 +00:00
Love Hörnquist Åstrand
15ed1d32dc Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:01 +00:00
Love Hörnquist Åstrand
0f70a33c5b Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:52 +00:00