Commit Graph

5955 Commits

Author SHA1 Message Date
Johan Danielsson
b380f51a81 (erase_file): don't malloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6044 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 14:55:49 +00:00
Assar Westerlund
28928b2ef9 use LIB_otp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6043 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 13:24:55 +00:00
Assar Westerlund
8130f64021 (main): send context to krb5_config_file_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6042 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 13:16:12 +00:00
Johan Danielsson
5f1a3cbf10 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6041 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:47:31 +00:00
Johan Danielsson
10b524ede6 pass context to krb5_config_file_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6040 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:46:05 +00:00
Johan Danielsson
6542ddb045 add `--fcache-version' to set cache version to create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6039 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:44:49 +00:00
Johan Danielsson
47c1301cd4 print cache version if verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6038 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:44:10 +00:00
Johan Danielsson
943cb8e28d (krb5_domain_x500_decode): don't abort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6037 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:43:34 +00:00
Johan Danielsson
7ac811dc6a abort -> krb5_abortx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6036 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:42:23 +00:00
Johan Danielsson
86f68747de (init_context_from_config_file): init fcache_version; add
krb5_{get,set}_fcache_version


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6035 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:40:53 +00:00
Johan Danielsson
4cfae1aa22 add support for reading (and writing?) old version keytabs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:39:57 +00:00
Johan Danielsson
a09cdb7965 add krb5_cc_get_version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:38:45 +00:00
Johan Danielsson
43fdcecc6d cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6032 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:38:23 +00:00
Johan Danielsson
bdaedd40ce add support for reading and writing old version cache files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6031 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:37:47 +00:00
Johan Danielsson
43aa4ffc00 (krb5_storage_from_mem): zero flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6030 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:36:29 +00:00
Johan Danielsson
c45bf5ec42 (krb5_storage_emem): zero flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6029 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:35:55 +00:00
Johan Danielsson
7de75b60e8 (krb5_storage_from_fd): zero flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6028 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:35:20 +00:00
Johan Danielsson
3906485184 add flags to change how various fields are stored, used for old cache
version support


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:30:46 +00:00
Johan Danielsson
e29f2bd176 add support for reading and writing old version cache files, and
keytabs


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6026 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:29:06 +00:00
Assar Westerlund
a7741b8cf5 fix test for readline.h
remember to link with $LIB_tgetent when trying linking with readline


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6025 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-21 13:13:17 +00:00
Assar Westerlund
390a7590fe (-f): implement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6024 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-21 09:16:12 +00:00
Assar Westerlund
d4cac3fd86 implement -i
(verify_krb5): correct the ownership on the credential cache


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6023 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-21 09:04:32 +00:00
Assar Westerlund
4bd2f7fb48 (get_init_creds_common): if start_time is given, request a postdated
ticket.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6022 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 22:11:54 +00:00
Assar Westerlund
432abd5432 (FILENAME): simplify definition
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6021 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 22:10:58 +00:00
Assar Westerlund
a477c0ef8e (krb5_data_free): free data as long as it's not NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6020 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 22:09:22 +00:00
Assar Westerlund
7d0508edeb (kpasswdd_LDADD): add LIB_dlopen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6019 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 16:48:34 +00:00
Assar Westerlund
16d9e77f3c (KRB5_VERIFY_AP_REQ_IGNORE_INVALID): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6018 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 14:18:29 +00:00
Assar Westerlund
6cc3a89c55 (krb5_decrypt_ticket): add flags and
KRB5_VERIFY_AP_REQ_IGNORE_INVALID for ignoring that the ticket is invalid


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6017 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 14:18:11 +00:00
Johan Danielsson
3f600ccd2d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6016 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 11:26:38 +00:00
Johan Danielsson
55f24fcc4b don't depend on paths.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6015 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 11:25:46 +00:00
Johan Danielsson
1a9f3e710a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6014 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 10:46:07 +00:00
Johan Danielsson
285943de7f don't try to load library by default; get library and function name
from krb5.conf


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6013 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 10:46:03 +00:00
Johan Danielsson
d9cfb0c8cc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6012 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 10:42:10 +00:00
Johan Danielsson
37a87006c7 sample password checking functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6011 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 10:42:07 +00:00
Johan Danielsson
2d10602255 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6010 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 16:47:42 +00:00
Johan Danielsson
d340e56668 check for dlopen, and dlfcn.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6009 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 16:47:38 +00:00
Assar Westerlund
f25d29ec48 (krb5_storage_to_data, krb5_ret_data): use krb5_data_alloc and be
careful with checking allocation and sizes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6008 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 16:38:45 +00:00
Johan Danielsson
5ba1a9f8d3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6007 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 16:32:09 +00:00
Johan Danielsson
cf25c2c040 update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6006 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 16:32:01 +00:00
Johan Danielsson
5572b39553 add support for dlopen:ing password quality check library
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6005 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 16:31:43 +00:00
Assar Westerlund
27af2f973d (--tokens): conditionalize on KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6004 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 14:48:28 +00:00
Assar Westerlund
339eff8738 (renew_validate): set all flags
(main): fix cut-n-paste error when setting start-time


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6003 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 14:48:11 +00:00
Assar Westerlund
3979b0e513 (check_tgs_flags): starttime of a validate ticket should be > than
current time
(*): send flags to krb5_verify_ap_req and krb5_decrypt_ticket


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6002 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 14:47:33 +00:00
Assar Westerlund
4ba208f29a (renew_validate): use the client realm instead of the local realm when
renewing tickets.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6001 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:36:31 +00:00
Assar Westerlund
3e1ade55a8 try to handle the case of --without-package correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6000 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:33:05 +00:00
Assar Westerlund
795e179109 (krb5_fwd_tgs_creds): compat function
(krb5_get_forwarded_creds): correct freeing of out_creds


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5999 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:29:45 +00:00
Assar Westerlund
72cbcac0e9 (renew_validate): hopefully fix up freeing of memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5998 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:19:40 +00:00
Assar Westerlund
64bc8cd775 conditionalize the kafs calls on KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5997 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:19:02 +00:00
Assar Westerlund
1e5243f1d6 (LDADD): add kafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5996 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:18:38 +00:00
Assar Westerlund
c38435860e do all the krb4 tests with "$krb4" != "no"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5995 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:17:19 +00:00