Commit Graph

4983 Commits

Author SHA1 Message Date
Love Hornquist Astrand
2204b852a7 Merge branch 'master' into wip/win32-port2 2009-11-24 21:46:10 -08:00
Asanka Herath
d00f9984a5 Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 21:42:02 -08:00
Love Hornquist Astrand
f1c0c1bba3 prefix SOCKET symbols with rk_ 2009-11-25 05:29:18 +01:00
Love Hornquist Astrand
98ed50fdf0 switch krb5_socket_t 2009-11-24 13:40:32 -08:00
Love Hornquist Astrand
c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Asanka Herath
81b70c3488 Copy cc_ops and kt_types when copying a krb5_context in krb5_copy_context() 2009-11-24 10:20:19 -08:00
Asanka Herath
81d091baa8 Add tests for the new path tokens 2009-11-24 10:19:49 -08:00
Asanka Herath
39f6fc00f8 krb5_net_read(), krb5_net_write() nad krb5_storage_from_fd() should accept both sockets and fds
When a socket and a file descriptor aren't interchangeable, these
functions should be able to determine whether it has received one or
the other and act accordingly.

This assumes that a fd can be cast into a SOCKET.
2009-11-24 10:19:49 -08:00
Asanka Herath
67e1aa5109 Need a DllMain in libkrb5 for path resolution 2009-11-24 10:19:49 -08:00
Asanka Herath
6073ca9a28 Add portable path tokens
Add USERCONFIG, COMMONCONFIG, LIBDIR, BINDIR, LIBEXEC, SBINDIR tokens.
2009-11-24 10:19:49 -08:00
Asanka Herath
93445a8133 Don't use Windows specific path tokens in lib/krb5/config_file.c 2009-11-24 10:19:49 -08:00
Asanka Herath
4634af9078 Consistent use of SOCKET data type in lib/krb5 2009-11-24 10:19:49 -08:00
Asanka Herath
bd669f10eb Build dll.obj and don't build KRB4 specific targets if not building KRB4 2009-11-24 10:18:20 -08:00
Asanka Herath
06179e66ad Additional include files for krb5 2009-11-24 10:17:50 -08:00
Asanka Herath
5dd6355e56 libkrb5 .def file 2009-11-24 10:16:49 -08:00
Asanka Herath
191361fdf5 Calling convention change 2009-11-24 10:16:49 -08:00
Asanka Herath
78a237e3cc No dirfd() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
6ba6a17ebd Do things the WinSock way 2009-11-24 10:16:49 -08:00
Asanka Herath
d6adaa775f No geteuid() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
77fee77d0e Use path tokens in krb5_config_parse_file_multi() 2009-11-24 10:16:22 -08:00
Asanka Herath
c53686e69b More KRB5_DEPRECATED fixes 2009-11-24 10:15:14 -08:00
Asanka Herath
c2f634d9ad KRB5_DEPRECATED is a storage class specifier 2009-11-24 10:12:45 -08:00
Asanka Herath
1bfde92838 Update krb5/NTMakefile 2009-11-24 10:12:45 -08:00
Asanka Herath
dc0b2b8648 Missing foo_LIB_FUNCTION fixes 2009-11-24 10:11:15 -08:00
Asanka Herath
4da69ab0be (krb5_sendto) Use IS_BAD_SOCKET() to check if the socket is bad 2009-11-24 10:11:15 -08:00
Asanka Herath
9d42b10027 (krb5_config_parse_file_multi) Don't leak memory when the path tokens can't be expanded 2009-11-24 10:11:15 -08:00
Asanka Herath
b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Love Hornquist Astrand
826c14833f make cpp safe, from Allan McRae 2009-11-23 07:19:00 -08:00
Love Hornquist Astrand
a216e42696 deprecated warning 2009-11-22 16:13:37 -08:00
Love Hornquist Astrand
589e8f0978 deprecated warning 2009-11-22 16:13:10 -08:00
Love Hornquist Astrand
7f628a0733 deprecated warning 2009-11-22 16:11:25 -08:00
Love Hornquist Astrand
94b702e938 deprecated warning 2009-11-22 16:10:25 -08:00
Love Hornquist Astrand
a4e9e537e8 deprecated warning 2009-11-22 16:09:55 -08:00
Love Hornquist Astrand
1f0da1963a deprecated warning 2009-11-22 16:09:46 -08:00
Love Hornquist Astrand
dedbadb6d6 format string 2009-11-22 15:08:44 -08:00
Love Hornquist Astrand
ebffc842de prepend error string 2009-11-22 14:59:11 -08:00
Love Hornquist Astrand
b22c42947c make krb5_prepend_error_message prepend 2009-11-22 14:58:20 -08:00
Love Hornquist Astrand
a882971606 remove unused vars 2009-11-22 13:58:42 -08:00
Love Hornquist Astrand
7aba6f94bd poke hole into the underlaying mach code, allow NULL krb5_context 2009-11-22 12:33:53 -08:00
Love Hornquist Astrand
46e0941e7d its krb5_auth_con_getremoteseqnumber 2009-11-22 12:32:53 -08:00
Love Hornquist Astrand
1494b7b611 add kdc syncing, more API cache glue, query if switching is supported 2009-11-22 12:32:39 -08:00
Love Hornquist Astrand
afe4f3129b Read configuration plist on macs 2009-11-22 12:31:56 -08:00
Love Hornquist Astrand
592689dcf3 Read configuration plist on macs 2009-11-22 12:27:52 -08:00
Love Hornquist Astrand
eba120e8ce support EXTRACT_TICKET_TIMESYNC 2009-11-22 12:26:40 -08:00
Love Hornquist Astrand
58ca56ab95 deprecate krb5_auth_getremoteseqnumber 2009-11-22 12:26:23 -08:00
Love Hornquist Astrand
b3e86a1cb6 track kdc offset better 2009-11-22 12:25:15 -08:00
Love Hornquist Astrand
dab6e078b2 more logging, track kdc offset better 2009-11-22 12:24:58 -08:00
Love Hornquist Astrand
a7d1283805 make it easier to get forwardable tickets by default (mmm boolan three state) 2009-11-22 12:24:29 -08:00
Love Hornquist Astrand
b6ac1e61ff more logging, try harder to not loop 2009-11-22 12:23:48 -08:00
Love Hornquist Astrand
4bc5f02317 use HAVE_SCC 2009-11-22 12:23:29 -08:00