Commit Graph

141 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 Hornquist Astrand
d7e7640d46 fix argumentin doxygen 2009-10-05 20:29:37 -07:00
Love Hornquist Astrand
0d10dfb529 doxygen 2009-10-04 11:33:45 -07:00
Love Hornquist Astrand
80816d275e more doxygen 2009-08-29 12:13:41 -07:00
Stefan Metzmacher
5b8a319a7e lib/krb5: fix the build without KRB4
metze

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:19:44 +02:00
Love Hornquist Astrand
ae58266705 More doxygen. 2009-07-30 15:36:25 +02: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
fc146e20e3 deprecate krb5_princ_realm and krb5_princ_set_realm, there are better replacements
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 07:56:36 +00:00
Love Hörnquist Åstrand
6ef65df975 make better conditional for v4_name_convert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 18:26:01 +00:00
Love Hörnquist Åstrand
9f90a1b3b6 pull back name_convert array since its used by krb5_524_conv_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:56:01 +00:00
Love Hörnquist Åstrand
7beaa0b4f7 disable 425 functions and include 524 if not smaller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:47 +00:00
Love Hörnquist Åstrand
99196c113e dns: switch to rk types, prefix types with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:36 +00:00
Love Hörnquist Åstrand
68b959c395 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:32 +00:00
Love Hörnquist Åstrand
022c117434 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:10 +00:00
Love Hörnquist Åstrand
e1e65f1fbd krb5_425_conv_* misc functions are deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:09 +00:00
Love Hörnquist Åstrand
6a27427df8 Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:11 +00:00
Love Hörnquist Åstrand
15ed1d32dc Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:01 +00:00
Love Hörnquist Åstrand
0b2dd5d094 doxygen fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:48:44 +00:00
Love Hörnquist Åstrand
ab6bde874f doxygen fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:48:35 +00:00
Love Hörnquist Åstrand
e3e8374234 s/KRB5_PRINCIPAL_PARSE_MUST_REALM/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:40:53 +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
0124c1d219 add krb5_principal_get_num_comp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:02:25 +00:00
Love Hörnquist Åstrand
bee840aafa allow : in realm names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-28 05:14:45 +00:00
Love Hörnquist Åstrand
fc8e9f3c8b Document krb5_sname_to_principal().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-20 11:16:54 +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
8910c5b507 N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:31:15 +00:00
Love Hörnquist Åstrand
1bf4289d86 Check return value of gethostname() and truncate string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:33:28 +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
d04259158c use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:29:38 +00:00
Love Hörnquist Åstrand
3e739f8ba4 Cast enum to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:21 +00:00
Love Hörnquist Åstrand
967fc11320 (_krb5_principal_compare_PrincipalName): new function to compare a
principal to a PrincipalName.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:17 +00:00
Love Hörnquist Åstrand
de57423148 add krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:30 +00:00
Love Hörnquist Åstrand
52d38ed2ad doxygenify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 09:37:25 +00:00
Love Hörnquist Åstrand
250ae721d0 spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:00:37 +00:00
Love Hörnquist Åstrand
7f1b54370c (nametypes) += static const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 12:30:55 +00:00
Love Hörnquist Åstrand
bcbae1850b (krb5_parse_nametype): parse nametype and return their integer values.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:30:06 +00:00
Love Hörnquist Åstrand
d8e764f7c0 Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:39:15 +00:00
Love Hörnquist Åstrand
fd2f735edd Make no-quote mean replace strange chars with space.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:35:10 +00:00
Love Hörnquist Åstrand
6a38e8d297 Support KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:23:41 +00:00
Love Hörnquist Åstrand
1f4259cddc Add support for parsing enterprise-names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:17:04 +00:00
Love Hörnquist Åstrand
38434e8f3c update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-17 22:53:39 +00:00
Love Hörnquist Åstrand
bd5a0e8d6a More error string, handle realm-less printing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 06:53:22 +00:00
Love Hörnquist Åstrand
d95330bb65 Add krb5_unparse_name_flags and krb5_unparse_name_fixed_flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 17:07:30 +00:00
Love Hörnquist Åstrand
aa111ad072 Add krb5_parse_name_flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 16:44:42 +00:00
Love Hörnquist Åstrand
706ef0ecd5 (krb5_parse_name): set *principal to NULL the first thing we do, so
that on failure its set to a known value


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:30:15 +00:00
Love Hörnquist Åstrand
2894e05a71 Remove a double free introduced in 1.93
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:16:14 +00:00
Love Hörnquist Åstrand
c41e1b2980 (krb5_parse_name): remember to free realm in case of error
Coverity, NetBSD CID#1883


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 10:10:01 +00:00
Love Hörnquist Åstrand
55178a0d79 (krb5_425_conv_principal_ext2): remove memory leak in case of weird
formated dns replys.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 10:02:48 +00:00
Love Hörnquist Åstrand
a28a141ec2 Constify principal argument to on krb5_principal_get_ functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-11 17:48:38 +00:00