3667 Commits

Author SHA1 Message Date
Love Hornquist Astrand
e8c46282ee Free keyblock when krb5_mk_rep() failes [CID-174] 2009-07-30 09:51:00 +02:00
Love Hornquist Astrand
2c841b425e free edata on failure [CID-83] 2009-07-30 07:57:07 +02:00
Love Hornquist Astrand
3f3b499c39 NULL_RETURNS paranoid check [CID-66] 2009-07-30 07:50:18 +02:00
Love Hornquist Astrand
3c053a2e09 fix up the paranoid code to make it work with ipv6. 2009-07-16 22:21:59 -07:00
Love Hörnquist Åstrand
d07832d6d7 rename ruserpass to ruserpassword to not collide with uclibc, prompted by [HEIMDAL-534]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 23:07:07 +00:00
Love Hörnquist Åstrand
29fc07df5b add paranoid check for PORT and EPRT, make it default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 22:18:25 +00:00
Love Hörnquist Åstrand
16b76d5cc0 add paranoid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 22:18:13 +00:00
Love Hörnquist Åstrand
8338244c6d use strerror(errno) + "%s" instead of "%m", since %m is not really a printf formater
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:19 +00:00
Love Hörnquist Åstrand
569ee5438c The max_ arguments are really "%.*s" format input paramaters, to make them into ints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:08 +00:00
Love Hörnquist Åstrand
a619d66c48 Use S_ISREG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:13 +00:00
Love Hörnquist Åstrand
1db1289c87 use S_ISDIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:03 +00:00
Love Hörnquist Åstrand
1e5a14f8bd use S_ISDIR and S_ISREG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:52 +00:00
Love Hörnquist Åstrand
5e4d0f8798 make argument to cwd() const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 20:39:01 +00:00
Love Hörnquist Åstrand
9b4aafd0ec make argument to cwd() const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 20:38:47 +00:00
Love Hörnquist Åstrand
22673e4df8 Hide home directory when chrooted or guest. From Ake Holmlund
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 16:25:36 +00:00
Love Hörnquist Åstrand
c045e38e44 use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 07:59:55 +00:00
Love Hörnquist Åstrand
68b804787c use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:50 +00:00
Love Hörnquist Åstrand
e0229329fd use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:39 +00:00
Love Hörnquist Åstrand
877cb93a71 use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:28 +00:00
Love Hörnquist Åstrand
d9b05d873f use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:18 +00:00
Love Hörnquist Åstrand
b5cf4f141d use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:46 +00:00
Love Hörnquist Åstrand
5f19fc6a9f use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:35 +00:00
Love Hörnquist Åstrand
5939a1b0f8 use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:16 +00:00
Love Hörnquist Åstrand
3b04ca2afd simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:04 +00:00
Love Hörnquist Åstrand
1747257c60 don't set j to 0, since it never read again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:15 +00:00
Love Hörnquist Åstrand
54d8d8504c Freeglob is not read again, just free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:05 +00:00
Love Hörnquist Åstrand
a5e6d1338b catch error and, while here, destroy credential caches on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:31 +00:00
Love Hörnquist Åstrand
10916974df Remove unsed variable kerberos_error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:00 +00:00
Love Hörnquist Åstrand
f4680be3ce Plug memory leaks, from Roman Divacky.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:22 +00:00
Love Hörnquist Åstrand
428949990f uniquify error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:26:07 +00:00
Love Hörnquist Åstrand
aa64f90c1c implement UnwrapExt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:57 +00:00
Love Hörnquist Åstrand
3e82b4199c add flags to test WrapExt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:47 +00:00
Love Hörnquist Åstrand
4e31a0c423 test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:37 +00:00
Love Hörnquist Åstrand
d44779d9d0 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:28 +00:00
Love Hörnquist Åstrand
bd98ea9e81 define WRAP_EXP_ONLY_HEADER, and bflags, flags is used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:16 +00:00
Love Hörnquist Åstrand
d5f371960e use WRAP_EXP_ONLY_HEADER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:01 +00:00
Love Hörnquist Åstrand
dc3e6ad589 change seqno to bflag to allow testing dce style
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:24:49 +00:00
Love Hörnquist Åstrand
5089b9c84b Code to handle WrapExt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:23:55 +00:00
Love Hörnquist Åstrand
cf8d08fcd3 {,un}wrapExt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:23:42 +00:00
Love Hörnquist Åstrand
c529394cb5 fix warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:07 +00:00
Love Hörnquist Åstrand
67612f57da fix warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:57 +00:00
Love Hörnquist Åstrand
d3dcb320e6 no krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-28 00:43:26 +00:00
Love Hörnquist Åstrand
1d1a2af1a6 no krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-28 00:43:14 +00:00
Love Hörnquist Åstrand
a285f3339e drop krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-27 22:52:56 +00:00
Love Hörnquist Åstrand
4fc62a171c drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:16:23 +00:00
Love Hörnquist Åstrand
19fd3204c1 remove krb4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:16:05 +00:00
Love Hörnquist Åstrand
eef8fb4502 drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:15:44 +00:00
Love Hörnquist Åstrand
604fc696c9 drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:15:30 +00:00
Love Hörnquist Åstrand
df7f15d6cb drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:15:18 +00:00
Love Hörnquist Åstrand
131474b736 remove krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:15:02 +00:00