Commit Graph

6396 Commits

Author SHA1 Message Date
Assar Westerlund
d0378afc05 (construct_command): handle argc == 0 for generality
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:20:50 +00:00
Assar Westerlund
6c9520273d (copy_octet_string): don't fail if length == 0 and malloc returns NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6388 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-02 21:35:12 +00:00
Björn Groenvall
f6c5a3de40 Constness fixes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6387 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-29 21:19:33 +00:00
Assar Westerlund
95b3bfc585 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6386 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-29 02:18:27 +00:00
Assar Westerlund
022ae5ecc6 (ipv6_parse_addr): implement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6385 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-29 02:11:46 +00:00
Assar Westerlund
a41ab60051 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6384 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-28 18:33:40 +00:00
Assar Westerlund
a7904acbad (kadm5_s_randkey_principal): nuke old mkvno, otherwise hdb will think
that the new random keys are already encrypted which will cause lots
of confusion later.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6383 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-28 18:33:24 +00:00
Assar Westerlund
4217f47285 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6382 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-27 00:52:06 +00:00
Assar Westerlund
59168bcce5 (bin_PROGRAMS): only include pagsh if KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6381 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-27 00:45:26 +00:00
Assar Westerlund
a68f801087 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6380 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-26 21:53:24 +00:00
Assar Westerlund
e481abb329 add pagsh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6379 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-26 21:13:12 +00:00
Assar Westerlund
9299f3fcf1 heimdal-ized pagsh. Thanks to Miroslav Ruda <ruda@ics.muni.cz>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6378 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-26 21:12:03 +00:00
Assar Westerlund
b9341a8abb *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6377 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:21:01 +00:00
Assar Westerlund
8a80d1a936 (krb5_rd_cred): compare the sender's address as an addrport one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6376 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:19:51 +00:00
Assar Westerlund
5178d921b9 (KRB5_ADDRESS_ADDRPORT, KRB5_ADDRESS_IPPORT): add
(krb5_auth_context): add local and remote port


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6375 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:19:09 +00:00
Assar Westerlund
3e3591b1a0 (krb5_get_forwarded_creds): get the local and remote address and add
them to the krb-cred packet


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6374 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:18:24 +00:00
Assar Westerlund
3016410999 save the local and remove ports in the auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6373 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:11:04 +00:00
Assar Westerlund
f7ad9e28eb (krb5_make_addrport): create an address of type KRB5_ADDRESS_ADDRPORT
from (addr, port)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6372 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:10:42 +00:00
Assar Westerlund
70fe4312c6 (krb5_sockaddr2port): new function for grabbing the port number out of
the sockaddr


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6371 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:10:15 +00:00
Assar Westerlund
622cbc87ad (kerberos5_send): set the addresses in the auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6370 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:09:10 +00:00
Assar Westerlund
4e9c30f29a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6369 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 17:59:55 +00:00
Assar Westerlund
579b6dce9d (kadm_ser_cpw): read the key in the strange order it's sent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6368 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 17:56:43 +00:00
Assar Westerlund
cbe37f24c6 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6367 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 16:57:35 +00:00
Assar Westerlund
003b6c7f55 (srvcreate): always take the DES-CBC-MD5 key. increase possible
verbosity.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6366 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 16:55:53 +00:00
Assar Westerlund
78341862b6 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6365 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 16:38:43 +00:00
Assar Westerlund
8335186d31 (parse_list): handle blank lines at another place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6364 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 16:37:32 +00:00
Johan Danielsson
33a0796d48 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6363 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 15:59:15 +00:00
Assar Westerlund
03805d1c42 (values_to_ent): ntohl key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6362 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 15:00:08 +00:00
Assar Westerlund
16d2952acb *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6361 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 13:13:17 +00:00
Assar Westerlund
f8d35a221e (add_port_string): don't return a value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6360 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 13:12:39 +00:00
Assar Westerlund
0d49ab4e1f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6359 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:43:31 +00:00
Assar Westerlund
2dbeee4ddc (acc_units): move the special case of 0 -> 1 to parse_something to
avoid having it happen at the end of the string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6358 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:41:35 +00:00
Assar Westerlund
86d38a634d add test of -1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6357 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:39:42 +00:00
Assar Westerlund
6f45b38721 (edit_entry): look at default
(edit_time): always set mask even if value == 0


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6356 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:39:19 +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
d86a6c73ef (edit_entry): update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6354 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:38:25 +00:00
Assar Westerlund
24ff91cc5a (INCLUDES): add $(INCLUDE_krb4)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6353 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:37:58 +00:00
Assar Westerlund
2faa266a21 make ank use the values of the default principal for prompting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6352 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:37:05 +00:00
Assar Westerlund
4befc59da8 add more people
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6351 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 11:57:15 +00:00
Assar Westerlund
7d1092fd56 (_kadm5_setup_entry): handle 0 == unlimited correctly. From Michal
Vocu <michal@karlin.mff.cuni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6350 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 11:55:24 +00:00
Assar Westerlund
2a50031890 (get_cred_cache): you cannot reuse the cred cache if the principals
are different.  close and NULL the old one so that we create a new one.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6349 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 10:19:40 +00:00
Assar Westerlund
fbed21af26 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6348 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 09:57:58 +00:00
Assar Westerlund
ce12cc5676 (values_to_ent): convert key data correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6347 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 09:57:34 +00:00
Assar Westerlund
d0c3fe0512 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6346 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 06:15:55 +00:00
Assar Westerlund
86b1e4bb18 conditionalize krb_enable_debug
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6345 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 06:14:49 +00:00
Assar Westerlund
0123a6a59f move around cgywin et al
(LIB_kdb): set at the end of krb4-block
(krb4): test for krb_enable_debug and krb_disable_debug


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6344 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 06:08:26 +00:00
Assar Westerlund
134ec8d002 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6343 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 06:01:54 +00:00
Assar Westerlund
d2c15ffb15 (togkrbdebug): conditionalize on krb_disable_debug
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6342 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 05:59:41 +00:00
Assar Westerlund
e4ab0aeee0 (add_standard_ports): add comma
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6341 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 05:33:41 +00:00
Assar Westerlund
5535b81a4e *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6340 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 04:12:08 +00:00