Commit Graph

30 Commits

Author SHA1 Message Date
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
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
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
b37386a686 make a copy of realm and admin_server to avoid un-consting
avoid shadowing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 21:44:37 +00:00
Johan Danielsson
553e4214ea convert to slc; warn if resetting disallow-all-tix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:44:57 +00:00
Love Hörnquist Åstrand
2def6c8dd2 (kt_get): catch errors from krb5_parse_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-09 10:44:55 +00:00
Love Hörnquist Åstrand
8d721d0bb4 (kt_get): make getarg usage consistent with other other parts of ktutil
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:03:23 +00:00
Jacques A. Vidrine
2d609b163b Staticize `kadm5_config_params conf' passed to
`kadm5_init_with_password_ctx', since the latter holds a reference
to it.  Previously it was on the stack and would become overwritten
when doing `ktutil get'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-29 12:53:52 +00:00
Johan Danielsson
fe6bf34316 don't open connection to server until we loop over the principals, at
that time we know the realm of the (first) principal and we can
default to that admin server


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-23 14:30:09 +00:00
Johan Danielsson
4d7d46d8b7 move common code for opening the keytab to ktutil.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-23 09:46:41 +00:00
Assar Westerlund
a54ed99f1e (kt_get): reorganize some. open the keytab (defaulting to the modify
one)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:42:01 +00:00
Assar Westerlund
9b75306702 (kt_get): allow specification of encryption types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 12:07:07 +00:00
Assar Westerlund
b26d1d6dfb (kt_get): more error checking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 02:51:43 +00:00
Assar Westerlund
ee928b7492 split up ktutil in several files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 04:41:02 +00:00
Johan Danielsson
90bd8e9227 Remove kdb_edit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4521 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-03 19:09:56 +00:00
Johan Danielsson
dfcd667a37 Pretty.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3665 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-25 22:41:39 +00:00
Assar Westerlund
ae31038985 adapt to new hdb interface
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3628 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-16 04:14:00 +00:00
Assar Westerlund
f3bbab49be print_flags -> print_hdbflags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3232 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-28 22:09:40 +00:00
Assar Westerlund
db5b678e09 leak less memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3213 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-28 01:25:40 +00:00
Assar Westerlund
5d4c072f42 removed unused stuff.
use krb5_{warn,err}*
use print_flags


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3194 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-27 23:19:38 +00:00
Assar Westerlund
dd84d25581 (get_entry): be careful when printing out fields
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3124 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-24 11:41:42 +00:00
Assar Westerlund
7e63f8f3b6 (get_entry): print more information about the entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3015 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-15 21:56:46 +00:00
Assar Westerlund
555c6d3205 use puttime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2737 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-07 20:26:10 +00:00
Assar Westerlund
9fb6bc7762 Adapt to new name of HDB errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2686 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-01 16:14:22 +00:00
Johan Danielsson
40f451264c Update for new db-format.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2526 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-23 02:12:58 +00:00
Assar Westerlund
14c550fe26 updated to new sl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2429 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-18 01:06:08 +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
Johan Danielsson
7d955a6940 Merge to one program.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1812 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 21:14:56 +00:00