b347f67b02
use res_ for platforms w/o dns_
Love Hörnquist Åstrand
2009-03-27 14:55:46 +00:00
3221f51f1c
document flags
Love Hörnquist Åstrand
2009-03-26 23:12:57 +00:00
85c9cf9a76
add allow weak crypto flag
Love Hörnquist Åstrand
2009-03-26 23:12:45 +00:00
f7a8d0bc32
add allow weak crypto flag
Love Hörnquist Åstrand
2009-03-26 23:12:35 +00:00
7c796daa23
add allow weak crypto flag
Love Hörnquist Åstrand
2009-03-26 23:12:24 +00:00
c4c71cc41a
switch to sha256
Love Hörnquist Åstrand
2009-03-26 23:12:13 +00:00
8c81cd83cc
switch to sha256
Love Hörnquist Åstrand
2009-03-26 23:12:02 +00:00
7ffd243eed
switch to sha256
Love Hörnquist Åstrand
2009-03-26 23:11:48 +00:00
f0d769cccb
set new filename
Love Hörnquist Åstrand
2009-03-26 01:40:44 +00:00
27f682668f
fix printf
Love Hörnquist Åstrand
2009-03-26 01:40:34 +00:00
95ab53d314
unlock mutex instead of lock twice
Love Hörnquist Åstrand
2009-03-26 01:40:19 +00:00
c4892701a6
make homedir work
Love Hörnquist Åstrand
2009-03-26 01:09:43 +00:00
f6de1a0ed0
make compile (missing implementation)
Love Hörnquist Åstrand
2009-03-25 23:29:56 +00:00
9ba2b611ef
add KRB5_KU_PA_PKINIT_KX
Love Hörnquist Åstrand
2009-03-25 15:38:36 +00:00
47023f94ff
add test_hdbkeys
Love Hörnquist Åstrand
2009-03-25 15:38:25 +00:00
ad63429ea0
Code to print hdb_keysets.
Love Hörnquist Åstrand
2009-03-25 15:38:14 +00:00
ae945b27d7
Use calloc().
Love Hörnquist Åstrand
2009-03-25 15:38:04 +00:00
f0616af047
Use blocksize instead of 16.
Love Hörnquist Åstrand
2009-03-25 15:37:53 +00:00
f1a7da6a55
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
Love Hörnquist Åstrand
2009-03-25 15:37:42 +00:00
5e4d827e61
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
Love Hörnquist Åstrand
2009-03-25 15:37:21 +00:00
0d22dfad5f
x
Love Hörnquist Åstrand
2009-03-25 15:37:08 +00:00
f4f623e7d8
comment on what to add
Love Hörnquist Åstrand
2009-03-25 15:36:58 +00:00
033c14110f
simplify
Love Hörnquist Åstrand
2009-03-25 15:36:47 +00:00
3aa4a14ef3
move generation of session key to preauth hook.
Love Hörnquist Åstrand
2009-03-25 15:36:36 +00:00
eb32e1f0ff
add generation of session key here
Love Hörnquist Åstrand
2009-03-25 15:36:26 +00:00
26c1af7c93
x
Love Hörnquist Åstrand
2009-03-25 15:36:14 +00:00
ab2a36de97
Add KRB5_CTX_F_HOMEDIR_ACCESS.
Love Hörnquist Åstrand
2009-03-25 15:36:03 +00:00
3f00119ea6
Add krb5_set_home_dir_access.
Love Hörnquist Åstrand
2009-03-25 15:35:53 +00:00
240a220f87
Expand ~ to $HOME or pw_dir.
Love Hörnquist Åstrand
2009-03-25 15:35:42 +00:00
72f134d145
add change-defaults
Love Hörnquist Åstrand
2009-03-25 15:35:31 +00:00
7fe8bc6c00
Parse ~/Library/Preferences/edu.mit.Kerberos too if running on an Apple platform.
Love Hörnquist Åstrand
2009-03-25 15:35:21 +00:00
dad321e230
add krb5_set_home_dir_access
Love Hörnquist Åstrand
2009-03-25 15:35:10 +00:00
f030017f6f
add store-cred
Love Hörnquist Åstrand
2009-03-25 15:34:58 +00:00
ac45625cb1
basic implementation
Love Hörnquist Åstrand
2009-03-25 15:34:42 +00:00
ad9ad11485
add store-cred
Love Hörnquist Åstrand
2009-03-22 17:25:07 +00:00
61b8032de0
add store_cred.c
Love Hörnquist Åstrand
2009-03-22 17:24:57 +00:00
bfa631b1cb
x
Love Hörnquist Åstrand
2009-03-22 17:24:46 +00:00
65353f9173
update documentation
Love Hörnquist Åstrand
2009-03-22 17:24:36 +00:00
37e726c136
wrap more EC stuff in HAVE_OPENSSL
Love Hörnquist Åstrand
2009-03-22 17:24:26 +00:00
1747257c60
don't set j to 0, since it never read again
Love Hörnquist Åstrand
2009-03-22 17:24:15 +00:00
54d8d8504c
Freeglob is not read again, just free.
Love Hörnquist Åstrand
2009-03-22 17:24:05 +00:00
7665dbc0be
openlog failed, exit
Love Hörnquist Åstrand
2009-03-22 17:23:54 +00:00
e2bec18571
checker warning
Love Hörnquist Åstrand
2009-03-22 17:23:44 +00:00
8c393278a3
make compile
Love Hörnquist Åstrand
2009-03-22 17:23:32 +00:00
6d0f8eab1d
make compile
Love Hörnquist Åstrand
2009-03-22 17:23:20 +00:00
6bff91ac85
qop_state is not used any more, remove
Love Hörnquist Åstrand
2009-03-22 17:23:10 +00:00
2bd838c5ac
ops is not used any more, remove
Love Hörnquist Åstrand
2009-03-22 17:23:00 +00:00
38c844cbaa
return instad of break out to return
Love Hörnquist Åstrand
2009-03-22 17:22:50 +00:00
bc8666ab5a
nkeys not used any more, don't increment
Love Hörnquist Åstrand
2009-03-22 17:22:40 +00:00
cf5cc3cb81
argc/argv not used, don't increment
Love Hörnquist Åstrand
2009-03-22 17:22:30 +00:00
1ba2a45b7b
ep not use, don't increment
Love Hörnquist Åstrand
2009-03-22 17:22:20 +00:00
736d3d7e03
argc not use, don't increment
Love Hörnquist Åstrand
2009-03-22 17:22:10 +00:00
4fbab16b41
If data == NULL, not store the config.
Love Hörnquist Åstrand
2009-03-22 17:22:00 +00:00
83595c6202
Add support for setting and getting kdc offset
Love Hörnquist Åstrand
2009-03-22 17:21:50 +00:00
3bbe9c48e1
Adapt to time skew in KRB-ERROR.
Love Hörnquist Åstrand
2009-03-22 17:21:40 +00:00
6e8a595828
Try adapt to timeskrew when we are using pre-auth, and if there was a time skew, try again.
Love Hörnquist Åstrand
2009-03-22 17:21:29 +00:00
07ab75b5f9
added newline
Love Hörnquist Åstrand
2009-03-22 17:21:19 +00:00
43ce9bdc01
first draft of gss_store_cred
Love Hörnquist Åstrand
2009-03-22 17:21:08 +00:00
52878d9adb
add store_cred
Love Hörnquist Åstrand
2009-03-22 17:20:57 +00:00
d6a0a48ce7
add hdb_keyset
Love Hörnquist Åstrand
2009-03-22 17:20:47 +00:00
95f39b1cc0
add hdb_keyset and opaque
Love Hörnquist Åstrand
2009-03-22 17:20:37 +00:00
d6fcbc45f9
spelling
Love Hörnquist Åstrand
2009-03-22 17:20:28 +00:00
164c99a4b4
Do locking around file descriptor, this allows caching of the file descriptor in the module.
Love Hörnquist Åstrand
2009-03-22 17:20:18 +00:00
59e499f32f
Prefer /dev/random on MacOS since it's always there and have good performance.
Love Hörnquist Åstrand
2009-03-22 17:20:07 +00:00
5cdbc62e05
include 524 if not smaller
Love Hörnquist Åstrand
2009-03-22 17:19:57 +00:00
7beaa0b4f7
disable 425 functions and include 524 if not smaller
Love Hörnquist Åstrand
2009-03-22 17:19:47 +00:00
99196c113e
dns: switch to rk types, prefix types with rk_
Love Hörnquist Åstrand
2009-03-22 17:19:36 +00:00
b7db794723
provide glue for classes too
Love Hörnquist Åstrand
2009-03-22 17:19:26 +00:00
9697d2a91c
stop using Bind4 types
Love Hörnquist Åstrand
2009-03-22 17:19:15 +00:00
e1a4017891
remove bind4 types
Love Hörnquist Åstrand
2009-03-22 17:19:05 +00:00
db149370e1
dns: switch to rk types
Love Hörnquist Åstrand
2009-03-22 17:18:55 +00:00
ac0502a0fe
dns: switch to rk types
Love Hörnquist Åstrand
2009-03-22 17:18:45 +00:00
58b16c9bf1
dns: switch to rk types, prefix types with rk_
Love Hörnquist Åstrand
2009-03-22 17:18:35 +00:00
5cb8acdf6d
dns: switch to rk types, prefix types with rk_
Love Hörnquist Åstrand
2009-03-22 17:18:25 +00:00
fb2acb56f3
prefix dns_ symbols
Love Hörnquist Åstrand
2009-03-22 17:18:15 +00:00
2516af31b6
less unprefixed structs
Love Hörnquist Åstrand
2009-03-22 17:18:05 +00:00
38fb5e3b12
prefix dns_ symbols
Love Hörnquist Åstrand
2009-03-22 17:17:55 +00:00
b234c0eeba
C++ protection
Love Hörnquist Åstrand
2009-03-22 17:17:45 +00:00
b8fb6b35ae
dns_ symbols are no more.
Love Hörnquist Åstrand
2009-03-22 17:17:12 +00:00
bd5229d126
prefix dns_ symbols
Love Hörnquist Åstrand
2009-03-22 17:17:02 +00:00
fad2decced
Check for dns_search and dns.h
Love Hörnquist Åstrand
2009-03-22 17:16:50 +00:00
a61934489a
Use dns_ API when available. Om MacOS this avoids repeted lookups since it uses the mDNSResponder to cache the replies.
Love Hörnquist Åstrand
2009-03-22 17:16:40 +00:00
7f437c326a
prefix names
Love Hörnquist Åstrand
2009-03-22 17:16:29 +00:00
355a7f54e5
prefix names
Love Hörnquist Åstrand
2009-03-22 17:16:19 +00:00
b52f9b6fd9
prefix names
Love Hörnquist Åstrand
2009-03-22 17:16:06 +00:00
65adbffd77
handle error
Love Hörnquist Åstrand
2009-02-27 03:34:54 +00:00
f77d976831
ignore the error from the free function.
Love Hörnquist Åstrand
2009-02-27 03:34:44 +00:00
c2ef08565c
catch bad privs
Love Hörnquist Åstrand
2009-02-27 03:34:34 +00:00
8a1dc13633
abort on memory error
Love Hörnquist Åstrand
2009-02-27 03:34:24 +00:00
9eedf9e4f3
don't set unused variables
Love Hörnquist Åstrand
2009-02-27 03:34:06 +00:00
181299ffb9
don't set unused variables, make it more obvious that the switchstatement return.
Love Hörnquist Åstrand
2009-02-27 03:33:57 +00:00
f86b5b7320
don't set unused variables
Love Hörnquist Åstrand
2009-02-27 03:33:47 +00:00
8f8f65ffe9
don't set unused variables
Love Hörnquist Åstrand
2009-02-27 03:33:35 +00:00
ebc8d73af1
don't set unused variables, remove undefined behavior: "Pass-by-value argument in function is undefined."
Love Hörnquist Åstrand
2009-02-27 03:33:26 +00:00
76b62ca2a9
don't set unused variables
Love Hörnquist Åstrand
2009-02-27 03:33:04 +00:00
fea9aa5894
don't set unused variables, move cc to propper scope.
Love Hörnquist Åstrand
2009-02-27 03:32:42 +00:00
a5e6d1338b
catch error and, while here, destroy credential caches on error
Love Hörnquist Åstrand
2009-02-27 03:32:31 +00:00
412155fa6e
Remove strange code around getarg(), just do like everyone else does it.
Love Hörnquist Åstrand
2009-02-27 03:32:10 +00:00