Commit Graph

3151 Commits

Author SHA1 Message Date
Assar Westerlund
544438cc2b (krb5_realm_of_cell): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6441 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-07 12:30:06 +00:00
Assar Westerlund
ace9816a62 (krb_realm_of_cell): new function
(afslog_uid_int): call krb_get_lrealm correctly


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6440 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-07 12:29:33 +00:00
Assar Westerlund
902e3fc52b *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6439 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-07 10:25:09 +00:00
Assar Westerlund
a1c6915bb1 (store_principal_ent): encoding princ_expire_time and pw_expiration in
correct order


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6438 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-07 10:24:08 +00:00
Assar Westerlund
f284b5472f (get_cred_cache): band-aid instead of rewriting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6437 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-07 10:05:41 +00:00
Assar Westerlund
f80e282f5b (ipv6_parse_addr): remove duplicate variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6432 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 12:17:34 +00:00
Assar Westerlund
8b852df2ff (ipv6_sockaddr2port): fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6431 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 12:16:47 +00:00
Assar Westerlund
eaba0d6df6 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6428 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 04:01:41 +00:00
Assar Westerlund
e1dc1da886 (readv): typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6427 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 04:01:06 +00:00
Assar Westerlund
d29c0e7838 (krb5_cc_resolve): fall-back to files if there's no prefix. also
clean-up a little bit.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6424 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 00:40:58 +00:00
Assar Westerlund
0117755210 test program
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6420 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-05 00:21:09 +00:00
Assar Westerlund
5f80af6d10 more braces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6419 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-05 00:19:52 +00:00
Assar Westerlund
849381ffe0 (add_padat): encrypt pre-auth data with all enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6411 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-04 15:42:35 +00:00
Assar Westerlund
37e7887150 fix stupid error in previous fix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6409 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-04 14:54:58 +00:00
Assar Westerlund
bb654ec67a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6406 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:43:02 +00:00
Assar Westerlund
fb9de67c11 (writev): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6405 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:37:57 +00:00
Assar Westerlund
4e6f8b54ac (sendmsg): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6404 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:37:15 +00:00
Assar Westerlund
5656cb2244 (parse_reply): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6403 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:36:26 +00:00
Assar Westerlund
4135fc6940 (recvmsg): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6402 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:35:48 +00:00
Assar Westerlund
6d5871d904 (readv): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6401 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:35:07 +00:00
Assar Westerlund
b68a6ee7f1 (unparse_name): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6400 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:34:20 +00:00
Assar Westerlund
5a2a11f6e6 (krb5_init_etype): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6399 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:33:32 +00:00
Assar Westerlund
9230f6de40 (*): do some malloc return-value checks properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6397 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:32:51 +00:00
Assar Westerlund
d1e9257fda (hdb_process_master_key): simplify by using krb5_data_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6396 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:31:49 +00:00
Assar Westerlund
b7f8d1d2a5 (hdb_process_master_key): check return value from malloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6395 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:30:37 +00:00
Assar Westerlund
85fea37f1e (statement): use asprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6394 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:30:04 +00:00
Assar Westerlund
8c03752be7 (decode_type): fix generation of decoding information for
TSequenceOf.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6393 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:28:55 +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
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
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
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
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
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
93875f023f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6330 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-16 10:26:21 +00:00
Assar Westerlund
6b2db73d73 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6328 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 04:38:33 +00:00
Assar Westerlund
e80311c0f6 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6326 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:55:01 +00:00
Assar Westerlund
7f1fb98d62 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6321 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:15:57 +00:00
Assar Westerlund
5f9743814e add get_default_username
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6320 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:14:11 +00:00
Assar Westerlund
0b1eb0e088 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6319 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:09:35 +00:00
Assar Westerlund
4270c96bb8 (get_default_username): add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6318 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 02:47:41 +00:00