Commit Graph

401 Commits

Author SHA1 Message Date
Johan Danielsson
7c0cfca247 ignore SIGINT for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-26 22:20:52 +00:00
Assar Westerlund
9d20072cae *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 23:08:29 +00:00
Assar Westerlund
0fbfbb5860 (parse_attributes): make empty string mean no attributes, specifying
the empty string at the command line should give you no attributes,
but just pressing return at the prompt gives you default attributes
(edit_entry): only pick up values from the default principal if they
aren't set in the principal being edited


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 23:07:29 +00:00
Assar Westerlund
c2b307f959 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-04 15:59:52 +00:00
Assar Westerlund
3ea518adb5 (doit): print an error and bail out if storing an entry in the
database fails.  The most likely reason for it failing is
out-of-space.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-04 15:59:26 +00:00
Assar Westerlund
37888fcc61 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:12:15 +00:00
Assar Westerlund
633782864b (main): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:05:03 +00:00
Assar Westerlund
fdbca0e168 (add_user): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:43:39 +00:00
Assar Westerlund
e15ec49b45 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 03:04:56 +00:00
Assar Westerlund
7dcc3f2d3f (spawn_child): use a struct sockaddr_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 02:50:42 +00:00
Johan Danielsson
6aa25cb34f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-15 14:24:30 +00:00
Johan Danielsson
cedb41f6fc avoid asprintf'ing NULL strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-15 14:24:24 +00:00
Johan Danielsson
9cb9e0c102 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-14 16:25:11 +00:00
Johan Danielsson
1a7c4545a0 fix option parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-14 16:25:02 +00:00
Assar Westerlund
505f5c2a70 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:21:45 +00:00
Assar Westerlund
7d066146ec (wait_for_connection): check for fd's being too large to select on
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:07:50 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
e53e1d11ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 23:31:15 +00:00
Johan Danielsson
ebc19dc219 don't try to print modifier name if it isn't set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 23:26:41 +00:00
Assar Westerlund
2e21f6d162 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 12:49:55 +00:00
Assar Westerlund
a5b73673b2 (handle_v4): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 12:46:18 +00:00
Assar Westerlund
9fcec97d9e (kadmind_loop): send in keytab to v4 handling function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 12:46:01 +00:00
Assar Westerlund
7c5940d941 allow the specification of what keytab to use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 12:45:38 +00:00
Assar Westerlund
38bf44ed76 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 12:44:33 +00:00
Assar Westerlund
ce4f44e7d4 some mandoc fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 12:29:48 +00:00
Assar Westerlund
f2337ccf1e (print_entry_long): actually print the actual saltvalue used if it's
not the default


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 12:11:35 +00:00
Johan Danielsson
ad3946bca9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:20:58 +00:00
Johan Danielsson
77d4beacde add option parsing, and add privs' as an alias for privileges'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:20:49 +00:00
Johan Danielsson
9f0aeca967 complain if there's no realm name specified
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:20:16 +00:00
Johan Danielsson
9c1353f1f8 add option parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:19:20 +00:00
Johan Danielsson
47b95f3233 make get' and list' aliases to each other, but with different
defaults


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:18:37 +00:00
Johan Danielsson
3e24852f6d calling the command `add' make more sense from an english pov
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:16:39 +00:00
Johan Danielsson
31a3348b24 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:14:48 +00:00
Johan Danielsson
48546b4e60 add kadmin manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:14:45 +00:00
Johan Danielsson
7a74548054 short manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:14:24 +00:00
Johan Danielsson
a800c43df3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 17:54:22 +00:00
Johan Danielsson
03c2d820e6 quit' should be a alias for exit', not `help'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 17:54:06 +00:00
Assar Westerlund
d490fd84a4 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 05:49:33 +00:00
Assar Westerlund
f46be87764 (handle_v5): do not try to perform stupid stunts when printing errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 05:48:18 +00:00
Assar Westerlund
43b7c16d4a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 05:43:14 +00:00
Assar Westerlund
3a443f6afa (str2time_t): rename to make it work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-20 01:11:04 +00:00
Assar Westerlund
c071ee122c (str2time_t): add alias for `now'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-19 13:19:52 +00:00
Assar Westerlund
7cfcd42a15 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 05:18:45 +00:00
Assar Westerlund
ef5c76e232 (handle_v5): accept any kadmin/admin@* principal as the server
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 05:18:34 +00:00
Assar Westerlund
b5e48c0f5d remove extra prototype of kadmind_loop
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 05:18:07 +00:00
Assar Westerlund
e71b05e381 (kadmind_loop): add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 05:17:55 +00:00
Assar Westerlund
91aadd63bd (usage): print init-usage and not add-dito
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 05:17:45 +00:00
Assar Westerlund
5f648d3799 use socklen_t where appropriate instead of int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Johan Danielsson
72d5252260 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-07 13:09:22 +00:00
Johan Danielsson
2d0477ec95 use roken_getsockname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-07 13:09:07 +00:00