Commit Graph

138 Commits

Author SHA1 Message Date
Love Hornquist Astrand
826c14833f make cpp safe, from Allan McRae 2009-11-23 07:19:00 -08:00
Love Hornquist Astrand
1494b7b611 add kdc syncing, more API cache glue, query if switching is supported 2009-11-22 12:32:39 -08:00
Love Hornquist Astrand
32d69c77f4 more doxygen 2009-09-08 11:09:55 -07:00
Love Hornquist Astrand
9f9783464c Don't make krb5_ccache point into krb5_context allocated memory
Don't make a copy of the krb5_cc_ops into krb5_context and hand that
out to callers of the api, this way its possible to free a krb5_context
w/o invalidating all krb5_ccaches that was allocated using that krb5_context
(also, it saves memory)
2009-09-01 12:22:16 -07:00
Love Hornquist Astrand
9020bb0208 some more doxygen 2009-08-21 06:07:53 -07: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
4fbbe8b5cf doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 16:26:00 +00:00
Love Hörnquist Åstrand
ae96106d76 add krb5_cc_get_lifetime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 07:53:13 +00:00
Love Hörnquist Åstrand
48e9a84d44 rename SDB to SCC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:09:11 +00:00
Love Hörnquist Åstrand
90ca46c387 move krb5_cc_gen_new to deprecated, but don't mark it yet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:40 +00:00
Love Hörnquist Åstrand
47de5125a8 free on failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:15 +00:00
Love Hörnquist Åstrand
6f3721ba18 remove krb5_cc_next_cred_match, make work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:00:05 +00:00
Love Hörnquist Åstrand
9dab5271de rename copy_match to copy_match_f
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:59:15 +00:00
Love Hörnquist Åstrand
f2cb188d59 move krb5_cc_copy_creds to mit_glue.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:57:24 +00:00
Love Hörnquist Åstrand
65353f9173 update documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:36 +00:00
Love Hörnquist Åstrand
4fbab16b41 If data == NULL, not store the config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:00 +00:00
Love Hörnquist Åstrand
1f11af2c0c Remove unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:12 +00:00
Love Hörnquist Åstrand
905469a1ee more casting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:51:05 +00:00
Love Hörnquist Åstrand
f14a4e5b43 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:50:53 +00:00
Love Hörnquist Åstrand
dbe87bb882 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:50:43 +00:00
Love Hörnquist Åstrand
7e12f65467 doxygen fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:47:43 +00:00
Love Hörnquist Åstrand
0aef0e3e46 add krb5_cc_[gs]et_friendly_name, match MIT config name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:03 +00:00
Love Hörnquist Åstrand
a5013943ed better english
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:04:52 +00:00
Love Hörnquist Åstrand
8879177460 fix documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-15 04:44:04 +00:00
Love Hörnquist Åstrand
c5770cfd91 check cache returned from krb5_cccol_cursor_next
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:20:14 +00:00
Love Hörnquist Åstrand
be699eb984 add krb5_cccol_last_change_time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:15:10 +00:00
Love Hörnquist Åstrand
7811db9c1f add lastmodified
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:14:54 +00:00
Love Hörnquist Åstrand
203522c21a add krb5_cccol and documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:08 +00:00
Love Hörnquist Åstrand
0c56bdc1c9 Add krb5_cc_get_flags() and krb5_cc_copy_creds().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:15:45 +00:00
Love Hörnquist Åstrand
318e0fe0ad fix previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:15:04 +00:00
Love Hörnquist Åstrand
90157be65a KRB5_CC_NOTFOUND is ok from krb5_cc_remove_cred().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:53 +00:00
Love Hörnquist Åstrand
b2c518db9a add krb5_is_config_principal()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-28 05:14:51 +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
4f023f744b provide i18n hooks and renew krb5_create_checksum_iov from comments from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:06:34 +00:00
Love Hörnquist Åstrand
6654a8be6f 2008
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 10:53:57 +00:00
Love Hörnquist Åstrand
c2817b5ca5 Move krb5_cc_[gs]et_config doxygen group krb5_ccache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-30 17:41:54 +00:00
Love Hörnquist Åstrand
8aeabdadf7 Add principal to storing config data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:36:33 +00:00
Love Hörnquist Åstrand
5d9a1df944 copy the ticket data from the cred, not that matching cred.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:30:03 +00:00
Love Hörnquist Åstrand
21af504e8a Add krb5_cc_[gs]et_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:25:23 +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
d542833a1f use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:26:18 +00:00
Love Hörnquist Åstrand
854ef9a202 switch to krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:00 +00:00
Love Hörnquist Åstrand
034744160a Pick up [libdefaults]default_cc_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 18:01:46 +00:00
Love Hörnquist Åstrand
294407ee53 allow returning the default cc-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:45 +00:00
Love Hörnquist Åstrand
4538b95576 Add krb5_cc_switch, to set the default credential cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:26 +00:00
Love Hörnquist Åstrand
6aa94aa902 Flag if default_cc_name was set by the user, ignore envirnoment updates then.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:54:37 +00:00
Love Hörnquist Åstrand
58a7d59b47 Put back code that was needed, move gen_new into new_unique.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:20:02 +00:00
Love Hörnquist Åstrand
8ff9a93093 Use krb5_cc_ops->default_name to get the default name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:17:41 +00:00
Love Hörnquist Åstrand
5d119f3729 (krb5_cc_move): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:46:21 +00:00