Commit Graph

86 Commits

Author SHA1 Message Date
Love Hornquist Astrand
687db64c56 Patch from Secure Endpoints/Asanka Herath for windows support 2009-12-21 08:45:28 +01:00
Love Hörnquist Åstrand
942a821fab remove RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
2494d521ac compare aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 01:01:56 +00:00
Love Hörnquist Åstrand
5d4a556b1c add krb5_kt_destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:45:37 +00:00
Love Hörnquist Åstrand
738e5518bf remove trailing .
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:50:30 +00:00
Love Hörnquist Åstrand
5ba91a8f17 doxygen fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:48:54 +00:00
Love Hörnquist Åstrand
36604d0006 doxygen fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:48:16 +00:00
Love Hörnquist Åstrand
b300c67406 doxygen fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:48:06 +00:00
Love Hörnquist Åstrand
c8c972feb1 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:47:14 +00:00
Love Hörnquist Åstrand
105ff825b9 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:46:46 +00:00
Love Hörnquist Åstrand
c534aa1175 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:46:36 +00:00
Love Hörnquist Åstrand
251266e7e2 abstract out principal not found in keytab code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:46:16 +00:00
Love Hörnquist Åstrand
03babea1e3 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:39 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
1250b3b63d N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:24:54 +00:00
Love Hörnquist Åstrand
ff61711f38 N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:24:33 +00:00
Love Hörnquist Åstrand
9efa43473c If we change the error code, change the context error code too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:36 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
948af1ae00 use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:27:34 +00:00
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
873b9b8aae (krb5_kt_get_entry): Use krb5_kt_get_full_name to print out the keytab name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 07:11:03 +00:00
Love Hörnquist Åstrand
fee0291ccb Proper sentence.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 21:47:07 +00:00
Love Hörnquist Åstrand
27546db2b4 (krb5_kt_get_full_name): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 21:46:40 +00:00
Love Hörnquist Åstrand
3625ef3caa (krb5_kt_get_entry): clear error string when returning a new error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:14:42 +00:00
Love Hörnquist Åstrand
901add3df7 krb5_kt_close frees all resources, even on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:02:48 +00:00
Love Hörnquist Åstrand
c0817d7f3b (krb5_kt_free_entry): zero out content of all krb5_free_x_content like
functions to make sure data doesnt get reused, idea from Wynn Wilkes
<wwilkes@vintela.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 14:04:45 +00:00
Love Hörnquist Åstrand
620f5d40f8 (krb5_kt_get_entry): tell what enctype the caller requested to provide
the user with a glue what the caller was asking for.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-08 12:12:53 +00:00
Love Hörnquist Åstrand
2011850a53 use KRB5_KT_BADNAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 20:10:09 +00:00
Love Hörnquist Åstrand
91351971f7 add KRB5_LIB_FUNCTION to all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-25 21:46:46 +00:00
Love Hörnquist Åstrand
b18ecb3e09 remove #if 0 out file locking code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-21 10:55:54 +00:00
Love Hörnquist Åstrand
6eb8e7a3ed (krb5_kt_get_entry): avoid printing 0 (wildcard kvno) after principal
when the keytab entry isn't found, reported by Chris Chiappa
<chris@chiappa.net>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-27 03:45:01 +00:00
Love Hörnquist Åstrand
342ad84447 (krb5_kt_get_type): get prefix/type of keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 18:32:33 +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
Johan Danielsson
df804eebad (krb5_kt_default_modify_name): if no modify name is specified take it
from the first component of the default keytab name


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-30 10:09:35 +00:00
Johan Danielsson
5c510f2238 compare keytab types case insensitively
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-29 08:36:22 +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
d7e8494457 add more calls to krb5_set_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 01:26:58 +00:00
Assar Westerlund
d926614364 (krb5_kt_resolve): better error string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 00:51:13 +00:00
Assar Westerlund
55ec4202ea (krb5_kt_default_modify_name): add
(krb5_kt_resolve): set error string for failed keytab type


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:30:05 +00:00
Assar Westerlund
b17cf85c8b (krb5_kt_default_name): use strlcpy
(krb5_kt_add_entry): set timestamp


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:18:05 +00:00
Assar Westerlund
875d3eb4a1 (krb5_kt_copy_entry_contents): copy timestamp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 00:31:20 +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
Assar Westerlund
451d70f0af move the list of keytab types to the context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6939 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:46:31 +00:00
Assar Westerlund
535b8fb29f add comments and clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6932 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 20:36:06 +00:00
Assar Westerlund
b66ae18014 add krb4 and correct some if's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6926 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 19:57:18 +00:00
Assar Westerlund
18c0b71eb1 move out file and memory functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6923 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 16:24:21 +00:00
Johan Danielsson
74efd057cb (krb5_kt_{start_seq_get,next_entry,end_seq_get}): check for NULL
pointer


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6869 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-25 21:10:10 +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
8acb8d2589 (fkt_remove_entry): make this work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5443 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-27 21:38:32 +00:00