Commit Graph

302 Commits

Author SHA1 Message Date
Assar Westerlund 9784176873 (krb5_kuserok): type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7512 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 23:06:18 +00:00
Assar Westerlund f14e1f5cff *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7504 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:20:36 +00:00
Assar Westerlund 2afff852fe (connect_host): use getaddrinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7497 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:05:50 +00:00
Assar Westerlund 69c0957e94 (find_auth_cookie, match_local_auth): re-write to use getaddrinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7496 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:04:50 +00:00
Johan Danielsson 3ca5f8150f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Johan Danielsson 410b0164e7 do not use krb_get_our_ip_for_realm unless it exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7458 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 13:04:36 +00:00
Assar Westerlund 74ee80dc86 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7445 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-27 14:51:48 +00:00
Assar Westerlund a5bdea7061 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7444 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-26 23:13:14 +00:00
Assar Westerlund b26cf0520c (recv_conn): better errors when getting unrecognized data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7443 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-26 23:12:50 +00:00
Assar Westerlund 8a5f0eae1f (krb4_authenticate): obtain the `local' address when doing NAT. also
turn on passive mode.  From <thn@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7429 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-25 05:29:32 +00:00
Assar Westerlund c35541a048 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7414 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-18 12:46:18 +00:00
Assar Westerlund 506da8874a (krb5_destroy): free the correct part of the context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7413 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-18 12:46:04 +00:00
Assar Westerlund e0bbe59f41 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7298 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-02 22:46:22 +00:00
Assar Westerlund ac5267f34c (main): redo the v4/v5 selection for consistency.
-4 -> try only v4
-5 -> try only v5
none, -45 -> try v5, v4


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7297 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-02 22:45:10 +00:00
Assar Westerlund 363475a4ae *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7133 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:57:26 +00:00
Assar Westerlund d516108f2f (CLEANFILES): add generated files so that they get cleaned away
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7124 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:45:18 +00:00
Johan Danielsson 06b2a4dc57 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7071 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:37:54 +00:00
Assar Westerlund 82c7704d82 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7059 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-29 17:03:55 +00:00
Assar Westerlund 65423ced9d (match_local_auth): only look for FamilyLocal (and FamilyWild)
cookies.  This will not work when we start talking tcp to the local
X-server but `connect_local_xsocket' and the rest of the code doesn't
handle it anyway and the old code could (and did) pick up the wrong
cookie sometimes.  If we have to match FamilyInternet cookies, the
search order has to be changed anyway


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7058 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-29 17:03:21 +00:00
Assar Westerlund bf75fac82a large strc{py,at}_truncate -> strlc{py,at} replacement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Assar Westerlund bcd4c9a351 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6895 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-02 19:09:37 +00:00
Assar Westerlund 37af8f3e75 (childhandler): watch for child `wait_on_pid' to die.
(recv_conn): set `wait_on_pid' instead of looping on waitpid here
also.  This should solve the problem of kxd looping which was caused
by the signal handler getting invoked before this waitpid and reaping
the child leaving this poor loop without any child


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6894 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-02 19:09:25 +00:00
Assar Westerlund 6da782ab9f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6839 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 15:42:18 +00:00
Assar Westerlund d265a2b7b8 (recv_conn): give better error message
(doit_active): don't die if fork gives EAGAIN


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6838 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 15:41:25 +00:00
Johan Danielsson 7b10291769 (recv_conn): call setjob on crays;
(doit_passive): if fork fails with EAGAIN, don't shutdown, just close
the connection
re-implement `-t' flag


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6837 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 14:56:38 +00:00
Assar Westerlund 770a0aab91 update to new format for cpp define SunOS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-22 02:58:32 +00:00
Assar Westerlund 3ebb7f50a9 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-12 20:57:27 +00:00
Assar Westerlund 62f8feee7b handle not building X programs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6450 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-12 20:56:44 +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 df89e94af0 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6337 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-20 14:32:55 +00:00
Assar Westerlund 3ed8194828 (main): hopefully do inetd confusion right
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6336 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-20 14:32:03 +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 b9c70fe785 (fatal): more type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6325 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:54:47 +00:00
Assar Westerlund f83200a936 (krb4_authenticate): get rid of a warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6323 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:51:17 +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 c74106668d const-pollution
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6310 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 02:43:52 +00:00
Assar Westerlund cbaf3ff4c6 use get_default_username and resulting const pollution
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6309 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 02:37:24 +00:00
Assar Westerlund c233ec13dc (context_set): const pollution
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6308 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 02:36:56 +00:00
Assar Westerlund 3608786a89 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6277 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-22 14:35:20 +00:00
Assar Westerlund 656f74b6a6 (recv_conn): fix syslog messages
(main): fix inetd_flag thinko


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6276 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-22 14:34:57 +00:00
Assar Westerlund 29e4161a05 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6275 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-22 13:52:30 +00:00
Assar Westerlund 6297205670 (main): don't byte-swap the argument to krb5_getportbyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6274 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-22 13:51:43 +00:00
Assar Westerlund d5e0df8565 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6269 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-21 09:31:55 +00:00
Assar Westerlund 919478243a (main): try to use $USERNAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6261 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-21 09:22:29 +00:00
Assar Westerlund f8bc69d9b5 (XauWriteAuth): junk declaration of malloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6218 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-12 17:59:44 +00:00
Assar Westerlund 362d7cdf4b *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6217 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-12 17:59:14 +00:00
Assar Westerlund a8b9a6de34 udpate comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6216 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-12 17:57:26 +00:00
Assar Westerlund ed2ea45a18 comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6215 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-12 17:46:55 +00:00
Assar Westerlund 9ed385bdd3 comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6214 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-12 17:41:28 +00:00