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
Love Hörnquist Åstrand
5fed824f37
its vs it\'s etc. From Bjorn Sandell
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
c812d60f80
doxygen configuration
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-10 10:37:30 +00:00
Love Hörnquist Åstrand
2f2da40a0f
(krb5_cc_retrieve_cred): check return value from krb5_cc_start_seq_get. From Zeqing (Fred) Xia
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-18 20:12:35 +00:00
Love Hörnquist Åstrand
13518ccd7d
Spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-11 09:41:43 +00:00
Love Hörnquist Åstrand
39184f36f3
(enviroment_changed): return non-zero if enviroment that will
...
determine default krb5cc name has changed.
(krb5_cc_default_name): also check if cached value is uptodate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:07:33 +00:00
Love Hörnquist Åstrand
d0b82b20dd
(krb5_cc_retrieve_cred): document what to free 'cred' with.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 22:03:56 +00:00
Love Hörnquist Åstrand
1eaf2446ed
Make compile again.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:35:33 +00:00
Love Hörnquist Åstrand
44c73244c3
By using full function calling conversion (*func) we avoid problem
...
when close(fd) is overridden using a macro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:32:10 +00:00
Love Hörnquist Åstrand
2709915a99
(krb5_cc_new_unique): use KRB5_DEFAULT_CCNAME as the default prefix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 17:08:40 +00:00
Love Hörnquist Åstrand
657fc04cb0
(_krb5_expand_default_cc_name): plug memory leak. Found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 00:54:48 +00:00
Love Hörnquist Åstrand
5ac7ec3e3e
(_krb5_expand_default_cc_name): avoid return pointer to freed memory
...
in the error case. Found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 00:52:26 +00:00
Love Hörnquist Åstrand
8bd0927d3b
(krb5_cc_set_default_name): use KRB5_DEFAULT_CCNAME.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 15:42:36 +00:00
Love Hörnquist Åstrand
6ccf928a53
(krb5_cc_get_prefix_ops): change the behavior to return NULL when its
...
not found, and fcc when the name starts with a '/'. Almost matches
behavior in other parts of the code, but can't really do that since
the name passed in to this function may only contain the prefix itself
without the colon.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 09:10:47 +00:00
Love Hörnquist Åstrand
459932f3ef
(krb5_cc_get_prefix_ops): if there are not colon (:) in the name, its
...
a file credential cachce
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 08:44:21 +00:00
Love Hörnquist Åstrand
91f8f1ce51
(krb5_cc_get_full_name): Add
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 09:36:41 +00:00
Love Hörnquist Åstrand
cc7855865c
(krb5_cc_cache_match): add function that iterates over all credential
...
caches for a user and returns a match.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:30:40 +00:00
Love Hörnquist Åstrand
e0a769c950
Add cache iteration funcations. Add internal allocation function for
...
the memory of a krb5_ccache, and use it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:07:26 +00:00