Commit Graph

24015 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3bbe9c48e1 Adapt to time skew in KRB-ERROR.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:40 +00:00
Love Hörnquist Åstrand
6e8a595828 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
2009-03-22 17:21:29 +00:00
Love Hörnquist Åstrand
07ab75b5f9 added newline
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:19 +00:00
Love Hörnquist Åstrand
43ce9bdc01 first draft of gss_store_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:08 +00:00
Love Hörnquist Åstrand
52878d9adb add store_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:57 +00:00
Love Hörnquist Åstrand
d6a0a48ce7 add hdb_keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:47 +00:00
Love Hörnquist Åstrand
95f39b1cc0 add hdb_keyset and opaque
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:37 +00:00
Love Hörnquist Åstrand
d6fcbc45f9 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:28 +00:00
Love Hörnquist Åstrand
164c99a4b4 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
2009-03-22 17:20:18 +00:00
Love Hörnquist Åstrand
59e499f32f 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
2009-03-22 17:20:07 +00:00
Love Hörnquist Åstrand
5cdbc62e05 include 524 if not smaller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:57 +00:00
Love Hörnquist Åstrand
7beaa0b4f7 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
2009-03-22 17:19:47 +00:00
Love Hörnquist Åstrand
99196c113e 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
2009-03-22 17:19:36 +00:00
Love Hörnquist Åstrand
b7db794723 provide glue for classes too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:26 +00:00
Love Hörnquist Åstrand
9697d2a91c stop using Bind4 types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:15 +00:00
Love Hörnquist Åstrand
e1a4017891 remove bind4 types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:05 +00:00
Love Hörnquist Åstrand
db149370e1 dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:55 +00:00
Love Hörnquist Åstrand
ac0502a0fe dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:45 +00:00
Love Hörnquist Åstrand
58b16c9bf1 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
2009-03-22 17:18:35 +00:00
Love Hörnquist Åstrand
5cb8acdf6d 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
2009-03-22 17:18:25 +00:00
Love Hörnquist Åstrand
fb2acb56f3 prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:15 +00:00
Love Hörnquist Åstrand
2516af31b6 less unprefixed structs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:05 +00:00
Love Hörnquist Åstrand
38fb5e3b12 prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:55 +00:00
Love Hörnquist Åstrand
b234c0eeba C++ protection
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:45 +00:00
Love Hörnquist Åstrand
7220ad7930 remove compat glue, fix prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:35 +00:00
Love Hörnquist Åstrand
b8fb6b35ae dns_ symbols are no more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:12 +00:00
Love Hörnquist Åstrand
bd5229d126 prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:02 +00:00
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