Commit Graph

762 Commits

Author SHA1 Message Date
Love Hornquist Astrand
6c28d3a772 Switch __FUNCTION__ to __FILE__ since Sun Developer studio doesn't support the former 2009-08-15 05:59:35 +02:00
Love Hornquist Astrand
20d4cca179 Make skip-ing work again, so that tests passes again 2009-07-30 18:55:45 +02:00
Love Hornquist Astrand
a1e127a3a8 Make sure we don't use negative indexing [CID-57] 2009-07-30 13:10:59 +02:00
Love Hornquist Astrand
8490e8fd34 make compile 2009-07-30 13:04:30 +02:00
Love Hornquist Astrand
3af78ea3fb out of memory [CID-63] 2009-07-30 12:53:50 +02:00
Love Hornquist Astrand
60c9bca968 Free new_key_data in case of failure [CID-78] 2009-07-30 12:10:14 +02:00
Love Hornquist Astrand
e395b3a9ea Free d on failure [CID-103] 2009-07-30 10:45:19 +02:00
Love Hornquist Astrand
9b710bed81 store is never read again 2009-07-29 22:37:58 +02:00
Love Hornquist Astrand
330fd7645d Always ask for principal (KADM5_PRINCIPAL)
The protocol for "get principal" does not support not sending
principal, so when the caller doesn't add KADM5_PRINCIPAL to the mask,
lets add it for them.

Reported by Henry.B.Hotz@jpl.nasa.gov in [HEIMDAL-588]
2009-07-19 21:01:20 -07:00
Love Hörnquist Åstrand
b7b88769b9 fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-24 18:07:48 +00:00
Love Hörnquist Åstrand
f6fa5c810e Close f, from cppcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:12 +00:00
Love Hörnquist Åstrand
0c6e235109 use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:15:44 +00:00
Love Hörnquist Åstrand
5bfb2c6578 use calloc to allocate salt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:03:05 +00:00
Love Hörnquist Åstrand
c2ef08565c catch bad privs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:34 +00:00
Love Hörnquist Åstrand
8a1dc13633 abort on memory error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:24 +00:00
Love Hörnquist Åstrand
412155fa6e Remove strange code around getarg(), just do like everyone else does it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:10 +00:00
Love Hörnquist Åstrand
5be004f3fa Handle relative time syntax using +<parse_time>.
Example: kadmin mod --pw-expiration-time='+1month 1day'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:22 +00:00
Love Hörnquist Åstrand
fb66afbaa2 create WELLKNOWN/ANONYMOUS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:43 +00:00
Love Hörnquist Åstrand
60fb283294 include gssapi header files directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:49:54 +00:00
Love Hörnquist Åstrand
eff4906254 use kadm5_s_init_with_password_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:48:55 +00:00
Love Hörnquist Åstrand
e147d3fba4 use kadm5_s_init_with_password_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:48:46 +00:00
Love Hörnquist Åstrand
be2f540704 drop <gssapi/*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:48:14 +00:00
Love Hörnquist Åstrand
04ac45eec0 drop HAVE_CONFIG_H
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:47:36 +00:00
Love Hörnquist Åstrand
9a96b6bc44 fix out of range bug
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 20:49:22 +00:00
Love Hörnquist Åstrand
9cfb421fc5 fix out of range bug
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 20:49:03 +00:00
Love Hörnquist Åstrand
bfda4404bf use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:36:19 +00:00
Love Hörnquist Åstrand
92a1b951fe make xdr function static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 23:05:01 +00:00
Love Hörnquist Åstrand
82c4b8765f move xdr function here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 22:02:31 +00:00
Love Hörnquist Åstrand
d3cef9ce45 plug memory leaks and other bugs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:43:11 +00:00
Love Hörnquist Åstrand
3223c11aab verify verf header
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:42:42 +00:00
Love Hörnquist Åstrand
8f80188c3f cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:42:32 +00:00
Love Hörnquist Åstrand
a2626628ea plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:42:23 +00:00
Love Hörnquist Åstrand
e3f856b566 remove debug log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:42:14 +00:00
Love Hörnquist Åstrand
8d16bb0b68 add support for add,get,delete,chrand for the MIT kadmin protocol
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:42:02 +00:00
Love Hörnquist Åstrand
e20ab9787f avoid double free, coverity #153
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:08 +00:00
Love Hörnquist Åstrand
1f77290fb2 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:48 +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
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +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
a8c1ee8494 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:14 +00:00
Love Hörnquist Åstrand
20f5affab7 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:00 +00:00
Love Hörnquist Åstrand
41a2d8597f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 08:14:59 +00:00
Love Hörnquist Åstrand
9dd5de5ba6 Use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:00:00 +00:00
Love Hörnquist Åstrand
e6c9be22ab Use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 05:58:43 +00:00
Love Hörnquist Åstrand
ada0c9cb9d Use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 05:57:31 +00:00
Love Hörnquist Åstrand
1dd5277f45 Allow setting multiple allowed-to-delegate-to.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-18 18:51:11 +00:00
Love Hörnquist Åstrand
c36ecda89c Allow setting multiple allowed-to-delegate-to.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-18 18:50:33 +00:00
Love Hörnquist Åstrand
8d40c2994b check return value of alloc functions, from Charles Longeau
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:11:25 +00:00
Love Hörnquist Åstrand
24e5cf94d1 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 15:55:32 +00:00