Siva Mahadevan
a7019d4b88
kadmin/check: move error messages to stderr
...
This helps with certain automation tools, such as ansible, that usually
expect failure to be visible in stderr.
Other minor changes:
* replace "doesn't" with "does not" to keep messages consistent and
avoid escaping quotes in grep, etc.
* add newlines
2023-06-20 13:16:19 -05:00
Nicolas Williams
1dbfd4e835
kadmin: Use kadm5_iter_principals() to list princs
...
Now that we have a properly working API for listing principals in an
online way, and a server-side implementation of it, use it.
This should work with old and new servers, but it will only be online
and fast when talking to new servers.
(Old servers have a bug though that prevents LIST from working.)
2022-03-20 18:32:14 -05:00
Nicolas Williams
43a911eedc
Fix bug in kadmin check warning message
2019-01-02 13:56:04 -05:00
Love Hornquist Astrand
7a8a78e417
validate that default@ have KRB5_KDB_DISALLOW_ALL_TIX
2013-09-27 08:39:06 -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 Hornquist Astrand
433b1d5073
drop RCSID
2010-03-16 12:52:58 -07: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
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
9ea34e5fa3
Add check for key lengths for known enctypes for all principals.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 05:09:24 +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
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
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