Commit Graph

169 Commits

Author SHA1 Message Date
Viktor Dukhovni
bf40b8cc63 Comment wordsmithing 2013-05-02 01:31:01 -04:00
Love Hornquist Astrand
dfaedb7847 plug a memory leak, don't use strcpy/strcat 2013-05-01 13:55:21 -07:00
Viktor Dukhovni
9ca0a2b62f More consistent error checks in build_principal()
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2013-04-24 16:26:23 -07:00
Viktor Dukhovni
5903031630 Don't SEGV on as-is rules without realm=
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2013-04-24 16:23:36 -07:00
Love Hornquist Astrand
58ff480763 rewrite send to kdc to be more agressive, try kdcs in paralell and easier to configure behavior 2013-02-10 19:02:52 -08:00
Love Hornquist Astrand
c979a356f7 uninited memory free 2012-11-27 21:58:05 -08:00
Love Hornquist Astrand
b0ed05395a tell coverity that principal returns an allocated pointer 2012-11-27 21:58:05 -08:00
Love Hornquist Astrand
c12dc3fa9d tell coverity that ret_princ returns an allocated pointer 2012-11-27 21:58:05 -08:00
Love Hörnquist Åstrand
9c830f5237 indent 2011-10-31 22:10:09 -07:00
Love Hörnquist Åstrand
877df213eb make sure we don't use stack content, don't count on that unsigned value can be negative 2011-10-31 22:05:42 -07:00
Nicolas Williams
c353962428 Oops, mismerge in principal.c 2011-10-31 00:29:36 -05:00
Nicolas Williams
7da9d7d75f Fix memory leak in name canon rule iterator 2011-10-31 00:15:07 -05:00
Nicolas Williams
1192120b86 Fix 64-bit warnings in name canon rules code 2011-10-29 16:48:56 -05:00
Love Hörnquist Åstrand
a57988153e indent 2011-10-28 20:08:08 -07:00
Nicolas Williams
3a393427e9 krb5_principal_compare() can't return errors... 2011-10-27 22:57:02 -05:00
Nicolas Williams
c433fefb23 Fix contributewd by Roland Dowdeswell for 64-bit bug in name canon patches 2011-10-27 17:34:57 -05:00
Nicolas Williams
5c54736678 Removed "weak" option and implemented use-referrals/no-referrals 2011-10-22 14:54:26 -05:00
Nicolas Williams
f4471b11d6 Call krb5_set_error_message() and don't clobber ret in debug code 2011-10-22 14:54:25 -05:00
Nicolas Williams
248e1eb772 Cleanups: s/\<assert\>/heim_assert/ 2011-10-22 14:54:25 -05:00
Nicolas Williams
9f5a43084c Cleanups: s/ENOMEM/krb5_enomem(context)/ 2011-10-22 14:54:25 -05:00
Nicolas Williams
2f03603d6b Cleanups: s/krb5int_/_krb5_/ and moved priv stuff from krb5.h 2011-10-22 14:54:25 -05:00
Nicolas Williams
001fc24102 Removed vestiges of no-reverse-lookup/reverse-lookup option that was never implemented 2011-10-22 14:54:24 -05:00
Nicolas Williams
a5e77c578e Deferred hostname canon using name canon rules 2011-10-22 14:54:13 -05:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
f5f9014c90 Warning fixes from Christos Zoulas
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Asanka C. Herath
0f853405fe Add missing export and calling convention annotations 2010-11-24 15:32:49 -05:00
Love Hornquist Astrand
fae3d127a2 remove krb4 support 2010-11-20 14:38:21 -08:00
Love Hornquist Astrand
71150bb1bc add krb5_principal_is_krbtgt 2010-03-07 01:00:48 -08:00
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