34 Commits

Author SHA1 Message Date
Jeffrey Altman
27a2ad7bfc lib/kerb: verify_user_opt_int pass krb5_creds by ptr verify_common
Refactor the call to verify_common() to pass the krb5_cred by
pointer to and call krb5_free_cred_contents() in
verify_user_opt_int() instead of verify_common().
2022-01-17 16:31:48 -05:00
Roland C. Dowdeswell
f0f07ff408 Use krb5_enomem() more consistently in lib/krb5. 2013-02-13 16:15:00 +08:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
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
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
4211f0cdd8 N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:33:58 +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
457dbdfb8b use krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:38 +00:00
Love Hörnquist Åstrand
ece5f9603e Make krb5_get_init_creds_opt_free take a context argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:12:41 +00:00
Love Hörnquist Åstrand
a4b7d96497 Add krb5_verify_opt_alloc and krb5_verify_opt_free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 16:32:38 +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
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Johan Danielsson
744bd74233 krb5_princ_realm -> krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-20 16:14:02 +00:00
Love Hörnquist Åstrand
5d190295aa add context argument to krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +00:00
Love Hörnquist Åstrand
61e14619de use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:42 +00:00
Johan Danielsson
7973bfd426 hmm, back out previous, since it was correct after all
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 14:48:31 +00:00
Johan Danielsson
a20fa33afa (verify_common): the nofail option is the logic inverse of the secure
parmeter


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 11:28:49 +00:00
Johan Danielsson
ba23bd7ec3 remove unnecessary cast
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:42:03 +00:00
Johan Danielsson
77d20be785 krb5_verify_user_opt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 09:06:53 +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
Johan Danielsson
30830ecdb1 use krb5_get_init_creds_opt_set_default_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-04 17:40:00 +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
95b090b41c (krb5_verify_user_lrealm): free the correct realm part
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7116 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 13:18:04 +00:00
Assar Westerlund
f9120155fd (krb5_verify_user_lrealm): ariant of krb5_verify_user that tries in
all the local realms


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7049 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:27:44 +00:00
Johan Danielsson
9e2d59218a (krb5_verify_user): pass prompter to krb5_get_init_creds_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5454 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-28 17:20:07 +00:00
Johan Danielsson
abcfe355ad int -> krb5_boolean
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4993 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-29 22:20:12 +00:00
Johan Danielsson
c9bd7adcee tpyo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3401 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-05 19:10:26 +00:00
Johan Danielsson
0692061628 Don't call cc_get_principal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3399 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-05 18:14:00 +00:00
Johan Danielsson
dff4b6e191 Use get_init_creds/verify_init_creds.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3397 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-05 18:11:27 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
e9bc55ef47 krb5_data_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-07 10:25:21 +00:00
Johan Danielsson
d0726fafa9 First stab at a verify user.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1717 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-15 18:28:18 +00:00