Commit Graph

942 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
487bcca4e2 Use strcspn to remove \n from fgets result. Prompted by change by Ray
Lai of OpenBSD via Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:36:36 +00:00
Love Hörnquist Åstrand
32219af692 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:58:07 +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
511ae3dc97 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:44:46 +00:00
Love Hörnquist Åstrand
d0e98d51fb Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:44:26 +00:00
Love Hörnquist Åstrand
1b9fae5253 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 15:52:20 +00:00
Love Hörnquist Åstrand
8c6a46138d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 09:25:02 +00:00
Love Hörnquist Åstrand
11a1758854 split build files into dist_ and noinst_ SOURCES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 09:24:39 +00:00
Love Hörnquist Åstrand
f0f01241c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 14:20:38 +00:00
Love Hörnquist Åstrand
c993715525 (help): use sl_slc_help().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 14:20:18 +00:00
Love Hörnquist Åstrand
bd23e626d4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:55:02 +00:00
Love Hörnquist Åstrand
0e5d5e7f5e Add KRB5_KDB_ALLOW_DIGEST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:49:46 +00:00
Love Hörnquist Åstrand
0171fbdfdb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-14 02:31:56 +00:00
Love Hörnquist Åstrand
c86020bf6d (format_field): optionally print issuer and anchor.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-14 02:31:30 +00:00
Love Hörnquist Åstrand
4a62864fc5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-21 19:55:59 +00:00
Love Hörnquist Åstrand
fd6607ab59 Check if afs@REALM and afs/cellname@REALM both exists.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-21 19:55:14 +00:00
Love Hörnquist Åstrand
1ef4ea82db x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-14 18:36:15 +00:00
Love Hörnquist Åstrand
3d6786f066 (kdb_attrs): Add KRB5_KDB_ALLOW_KERBEROS4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-14 18:35:08 +00:00
Love Hörnquist Åstrand
e3d5a79254 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-07 06:37:54 +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
e00b4f01bc (kdb_attrs): Add trusted-for-delegation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 21:31:14 +00:00
Love Hörnquist Åstrand
9056a3263a revert previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-02 22:10:21 +00:00
Love Hörnquist Åstrand
7d627aac99 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 21:06:33 +00:00
Love Hörnquist Åstrand
d782cd55c5 Less shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 21:04:42 +00:00
Love Hörnquist Åstrand
a364f73cd7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:38:18 +00:00
Love Hörnquist Åstrand
1afdb4c66f kadmin_SOURCES += add check.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:37:36 +00:00
Love Hörnquist Åstrand
4d783e29b1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:29:33 +00:00
Love Hörnquist Åstrand
0e230cfee5 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:28:56 +00:00
Love Hörnquist Åstrand
e5d9572d83 Document the new check command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 18:47:10 +00:00
Love Hörnquist Åstrand
ff57ab98ef Add check command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 18:44:02 +00:00
Love Hörnquist Åstrand
b67e47ebd0 Check database for strange configurations on default principals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 18:43:15 +00:00
Love Hörnquist Åstrand
59fa02a897 (kadm_get_privs): one less "pointer targets in passing argument differ
in signedness" warning.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:40:58 +00:00
Love Hörnquist Åstrand
38a4076062 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 12:25:05 +00:00
Love Hörnquist Åstrand
8b6d5f765f moved to info documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 12:24:45 +00:00
Love Hörnquist Åstrand
652da91adb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:52:01 +00:00
Love Hörnquist Åstrand
aa476ab965 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:44:55 +00:00
Love Hörnquist Åstrand
d1e8efa6f7 update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 06:51:29 +00:00
Love Hörnquist Åstrand
8123d558fe Spelling, from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 06:51:17 +00:00
Love Hörnquist Åstrand
1ffa6c23e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:23:29 +00:00
Love Hörnquist Åstrand
495cb953e6 Catch empty file case. From Tobias Stoeckmann.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:22:52 +00:00
Love Hörnquist Åstrand
2a6831b56c (kadmind_dispatch): case kadm_rename, free princ2 on acl check failure.
Coverity, NetBSD CID#1911


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 22:00:57 +00:00
Love Hörnquist Åstrand
c7c0927da2 (rename_entry): free the right entry in the error case,
From Coverity NetBSD CID#1888


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 13:11:24 +00:00
Love Hörnquist Åstrand
2484ddfa84 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 13:10:00 +00:00
Love Hörnquist Åstrand
1cb80fec51 (generate_password): memory leak in error condition case
From Coverity NetBSD CID#1887


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 13:09:17 +00:00
Love Hörnquist Åstrand
6b128e2835 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:31:10 +00:00
Love Hörnquist Åstrand
f7238b7deb (cpw_entry): make sure ret have a defined value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:30:32 +00:00
Love Hörnquist Åstrand
5fd1762c9d (del_entry): make sure ret have a defined value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:29:43 +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
Love Hörnquist Åstrand
091fba8a25 return 1 on failure, update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:29:46 +00:00
Love Hörnquist Åstrand
464c8d8ca6 (cpw_entry): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:20:49 +00:00