Jeffrey Altman
6850d6a65f
avoid uninit variable and unreachable code warnings
...
most of these warnings are not problems because of ample
use of abort() calls. However, the large number of warnings
makes it difficult to identify real problems. Initialize
the variables to shut up the compilers.
Change-Id: I8477c11b17c7b6a7d9074c721fdd2d7303b186a8
2011-05-17 12:02:16 -04: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 Hornquist Astrand
433b1d5073
drop RCSID
2010-03-16 12:52:58 -07: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
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
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
bc791f665d
add pk-init command
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 19:03:38 +00:00
Love Hörnquist Åstrand
ea6db777a0
add setting and displaying aliases
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:00:41 +00:00
Love Hörnquist Åstrand
9478fbdcac
Try to not leak memory.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 10:15:53 +00:00
Love Hörnquist Åstrand
347c8ddc11
(do_mod_entry): Add setting 1 delegation entry
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-07 06:04:40 +00:00
Love Hörnquist Åstrand
7abec3efa7
Return error code so that toplevel function can catch them.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:29:01 +00:00
Johan Danielsson
5836537f76
argument number checks are now done by slc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-05 11:41:22 +00:00
Johan Danielsson
d970c48c81
print error messages to stderr; change all in-string quoting to use "
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-04 15:09:42 +00:00
Johan Danielsson
9929f779ec
move kadmin-commands.h from kadmin_locl.h so kadmind does not depend on it
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 15:04:07 +00:00
Johan Danielsson
d7f9fac88e
convert to use slc; also add stash subcommand
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 19:19:45 +00:00
Johan Danielsson
9f29a211ec
allow wildcarding principals, and make parameters a work same as if
...
prompted
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-24 13:12:52 +00:00
Johan Danielsson
3deaf3a146
(mod_entry): check return value from edit_entry
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:12:30 +00:00
Johan Danielsson
cc1c0c9de1
allow setting kvno
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-11 14:34:56 +00:00
Assar Westerlund
4749d57521
add back int (got lost)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-01 20:31:23 +00:00
Assar Westerlund
c65425f7e1
(mod_entry): free princ_ent once
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-01 20:30:12 +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
6fe7d4b04e
(mod_entry): print the correct principal name in error messages. From
...
Love <lha@e.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6988 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-20 09:47:19 +00:00
Assar Westerlund
3829eb5133
add parsing of lots of options. From Love <lha@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6848 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:32:34 +00:00
Assar Westerlund
3a86ded924
(mod_entry): allow modifying expiration times
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6502 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-23 22:10:07 +00:00
Assar Westerlund
d5e3a5dc5e
(edit_entry): new prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6355 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:38:44 +00:00
Assar Westerlund
7753847a0b
(mod_entry): check the number of arguments. check that
...
kadm5_get_principal worked.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5293 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-01-30 18:17:34 +00:00
Johan Danielsson
bd6b7de846
Modify entry.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3953 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 22:16:44 +00:00