Love Hörnquist Åstrand
34faa9fe6e
better error strings for the keytab fetching functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 11:59:18 +00:00
Love Hörnquist Åstrand
ba1492d065
(fkt_next_entry_int): read the 32 bit kvno if the reset of the data is
...
longer then 4 bytes in hope to be forward compatible. Pointed out by
Michael B Allen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 12:36:57 +00:00
Love Hörnquist Åstrand
5a761c7f96
(krb5_kt_ret_principal): plug a memory leak
...
Coverity NetBSD CID#1890
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 21:57:31 +00:00
Love Hörnquist Åstrand
4b2323bd43
(fkt_next_entry_int): remove a dereferencing NULL pointer, found by
...
IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:22:33 +00:00
Love Hörnquist Åstrand
237641e2ca
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:08:07 +00:00
Love Hörnquist Åstrand
f1542ef9cd
(fkt_start_seq_get_int): check return value from krb5_storage_from_fd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:34:29 +00:00
Love Hörnquist Åstrand
897ad7f8f3
Adapt to changed signature of _krb5_xunlock, clear more error string
...
where needed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-31 21:50:43 +00:00
Love Hörnquist Åstrand
1ed2143174
(fkt_remove_entry): need to call krb5_kt_free_entry after each
...
fkt_next_entry_int. From: Wynn Wilkes <wwilkes@vintela.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 04:11:34 +00:00
Love Hörnquist Åstrand
f9ca795602
Add new keytab file format JAVA14 that doesn't the use extended kvnos,
...
as hinted, this is needed for Java's Kerberos implementation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 21:13:42 +00:00
Love Hörnquist Åstrand
b5f0883c6a
add krb5_wrfkt_ops/WRFILE (same as FILE)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:03:22 +00:00
Love Hörnquist Åstrand
11dce94342
do locking, found to be a problem for Panasas Inc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 18:09:26 +00:00
Love Hörnquist Åstrand
283630104a
prefix libasn1 types with heim_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 14:05:49 +00:00
Johan Danielsson
242db364ce
(fkt_remove_entry): check return value from start_seq_get (from Wynn
...
Wilkes)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-24 16:43:30 +00:00
Johan Danielsson
e76e0dc990
check size of entry before trying to read 32-bit kvno; also fix typo
...
in previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-28 12:57:27 +00:00
Johan Danielsson
ce0ace220b
storage tweaks; also try to handle zero sized keytab files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 14:03:13 +00:00
Assar Westerlund
96dfbfc6f0
store the kvno % 256 as the byte and the complete 32 bit kvno after
...
the end of the current keytab entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:14:36 +00:00
Assar Westerlund
d27aa3b62e
add some krb5_{set,clear}_error_string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:14:52 +00:00
Assar Westerlund
d4cfdf5ad8
call krb5_set_error_string when open fails fatally
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-07 21:10:48 +00:00
Assar Westerlund
d2cba917ae
(fkt_add_entry): store timestamp
...
(fkt_next_entry_int): return timestamp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 00:20:22 +00:00
Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Johan Danielsson
6bd5e351bf
make krb5_fkt_ops const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7072 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:45:25 +00:00
Assar Westerlund
d3f5d79294
strc{py,at}_truncate -> strlc{py,at}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6985 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 21:39:11 +00:00
Assar Westerlund
c5b93f2925
remove O_BINARY
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6941 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:49:28 +00:00
Assar Westerlund
e70e38085d
new files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6921 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 16:22:50 +00:00