Commit Graph

25269 Commits

Author SHA1 Message Date
Love Hornquist Astrand
93e0cc80f4 make use rk_SOCK_ERRNO, make compile again 2009-12-23 14:36:52 +01:00
Love Hornquist Astrand
f798af41a0 change #ifdef to make this compile 2009-12-23 14:31:28 +01:00
Love Hornquist Astrand
e35864d267 Merge in last changes from Asanka for the win32 port
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-12-23 14:17:43 +01:00
Love Hornquist Astrand
be73fa4687 use krb5_socket_t 2009-12-23 14:12:38 +01:00
Love Hornquist Astrand
160ddd0e43 use rk_closesocket 2009-12-23 14:06:37 +01:00
Love Hornquist Astrand
8d28c442d5 Merge branch 'master' into win32-port 2009-12-23 14:03:37 +01:00
Asanka Herath
68cfbb7e19 Add rk_cloexec_dir() to lib/roken 2009-12-22 14:03:39 -05:00
Guido Günther
33f3be4d52 Don't free the hx509ctx
otherwise we crash if we fail to init certs (e.g. due to missing
smartcard).

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-12-22 18:49:39 +01:00
Asanka Herath
ff11a8ae43 Merge remote branch 'lha/master' into win32-port2
* lha/master:
  Clean kadm5-pwcheck.h
  rename closesocket to rk_closesocket
  Log what principal was used in the failure case
2009-12-22 11:05:03 -05:00
Love Hornquist Astrand
ecf9e3c989 Clean kadm5-pwcheck.h 2009-12-22 13:36:58 +01:00
Love Hornquist Astrand
4182a61eba rename closesocket to rk_closesocket 2009-12-22 09:03:05 +01:00
Love Hornquist Astrand
10a5976e45 Log what principal was used in the failure case 2009-12-22 07:36:01 +01:00
Asanka Herath
27115dea15 Correct whitespace errors 2009-12-21 18:06:23 -05:00
Asanka Herath
7f5b105fd6 Fix exports 2009-12-21 18:06:05 -05:00
Asanka Herath
16faee892e Use correct socket glue and try to maintain constness 2009-12-21 18:05:39 -05:00
Asanka Herath
4eb90e1c8c Use correct socket glue 2009-12-21 18:02:32 -05:00
Asanka Herath
a0ae9f5a0e Merge remote branch 'h-github/master' into win32-port2
* h-github/master: (64 commits)
  refix socket wrappers with rk_
  Patch from Secure Endpoints/Asanka Herath for windows support
  unset KRB5CCNAME
  its really just LIBADD more most of them
  correct quoting
  Use -lpthread for modern freebsd instead
  clean KRB5CCNAME and KRB5_CONFIG, require test to reset them
  more up ${env_setup}
  use PTHREADS_LIBADD for freebsd6 and newer
  add PTHREAD_LIBADD
  add PTHREAD_LIBADD
  add PTHREAD_LIBADD
  switch to PTHREADS_LIBADD
  log what the error string say too
  More debug logging
  sprinkle more 'echo "test failed"'
  sprinkle 'echo "test failed"'
  use calloc(), indent more prettier
  in sh, equal compare is really = for strings, not ==
  Check for duplicates, already loaded mechs
  ...

Conflicts (resolved):
	lib/krb5/auth_context.c
	lib/krb5/changepw.c
	lib/krb5/context.c
	lib/krb5/error_string.c
	lib/krb5/kuserok.c
	lib/krb5/libkrb5-exports.def.in
	lib/krb5/net_write.c
	lib/krb5/store_fd.c
	lib/krb5/test_cc.c
	lib/roken/strerror_r.c
2009-12-21 13:44:00 -05:00
Asanka Herath
94bf68aaae Add maint.el helper script for maintaining ported dependencies 2009-12-21 13:10:23 -05:00
Asanka Herath
630e89e357 Add LIBHEIMIPCC and LIBHEIMIPCS to NTMakefile.w32 2009-12-21 13:09:54 -05:00
Asanka Herath
349915e438 Fix comment 2009-12-21 13:09:26 -05:00
Love Hornquist Astrand
d1d0de730d refix socket wrappers with rk_ 2009-12-21 08:50:46 +01:00
Love Hornquist Astrand
687db64c56 Patch from Secure Endpoints/Asanka Herath for windows support 2009-12-21 08:45:28 +01:00
Love Hornquist Astrand
09f478ab98 unset KRB5CCNAME 2009-12-21 08:05:16 +01:00
Love Hornquist Astrand
ce1846a573 its really just LIBADD more most of them 2009-12-17 10:43:49 +01:00
Love Hornquist Astrand
1b6d89c457 correct quoting 2009-12-17 10:15:24 +01:00
Love Hornquist Astrand
c0b1bab378 Use -lpthread for modern freebsd instead 2009-12-17 10:10:13 +01:00
Love Hornquist Astrand
869d8fe465 clean KRB5CCNAME and KRB5_CONFIG, require test to reset them 2009-12-17 10:05:49 +01:00
Love Hornquist Astrand
2c70285d3d more up ${env_setup} 2009-12-17 10:05:10 +01:00
Love Hornquist Astrand
50b48daa9b use PTHREADS_LIBADD for freebsd6 and newer 2009-12-17 09:26:28 +01:00
Love Hornquist Astrand
d9e7f5cd97 add PTHREAD_LIBADD 2009-12-17 09:25:30 +01:00
Love Hornquist Astrand
4f88942d9c add PTHREAD_LIBADD 2009-12-17 09:25:01 +01:00
Love Hornquist Astrand
6ec7e01c39 add PTHREAD_LIBADD 2009-12-17 09:24:52 +01:00
Love Hornquist Astrand
76c1e2e8a2 switch to PTHREADS_LIBADD 2009-12-17 09:11:09 +01:00
Love Hornquist Astrand
a2378f6b82 log what the error string say too 2009-12-14 23:15:56 -08:00
Love Hornquist Astrand
3a42c1f7cb More debug logging 2009-12-14 22:43:37 -08:00
Love Hornquist Astrand
36566c31a0 sprinkle more 'echo "test failed"' 2009-12-14 22:12:29 -08:00
Love Hornquist Astrand
45260b1fda sprinkle 'echo "test failed"' 2009-12-14 22:11:19 -08:00
Love Hornquist Astrand
eadb8838cb use calloc(), indent more prettier 2009-12-14 21:40:16 -08:00
Love Hornquist Astrand
baf9c1c85b in sh, equal compare is really = for strings, not == 2009-12-14 18:25:04 -08:00
Love Hornquist Astrand
a740ee89bc Check for duplicates, already loaded mechs 2009-12-14 17:16:59 -08:00
Love Hornquist Astrand
986aff5a86 (kcm_send_request): if heim_ipc_init_context, we have not kcm 2009-12-14 16:05:10 -08:00
Love Hornquist Astrand
9accf9f36a add Jan Rekorajski 2009-12-14 14:06:51 -08:00
Love Hornquist Astrand
9f5772050b Match old code and use krb5_sname_to_principal on the imported name for acquire cred.
Reported by Jan Rekorajski
2009-12-13 22:55:36 -08:00
Love Hornquist Astrand
a80ec519cd condition threadsafe on ENABLE_PTHREAD_SUPPORT 2009-12-13 22:48:56 -08:00
Love Hornquist Astrand
85327d6242 freebsd supports pthreads 2009-12-13 22:47:23 -08:00
Love Hornquist Astrand
8991a40847 add PTHREADS_LIBS 2009-12-13 16:35:50 -08:00
Love Hornquist Astrand
b0feb58f32 remove invalid $Id$ 2009-12-13 15:43:02 -08:00
Love Hornquist Astrand
daef47b7da don't define SQLITE_THREADSAFE just because THREADSAFE is set 2009-12-13 15:36:14 -08:00
Love Hornquist Astrand
2613e3c973 x 2009-12-13 15:10:52 -08:00
Love Hornquist Astrand
936c3bbd7e add otp_find_alg 2009-12-13 13:52:34 -08:00