s4:kdc: split the kdc_tcp_proxy() logic from the main kdc logic
authorStefan Metzmacher <metze@samba.org>
Wed, 9 Feb 2011 11:17:23 +0000 (12:17 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 4 Mar 2011 20:19:05 +0000 (21:19 +0100)
commit8002406c51cf1f9f6daebef7e03bfef77f56cf38
tree90ddbb12c81a58a65b741d67935251fa43f7f98d
parente70b09e8f8f99b2d63047525f1d5e360582f7eaa
s4:kdc: split the kdc_tcp_proxy() logic from the main kdc logic

By having kdc_tcp_proxy_send/recv(), which just asks any writeable
dc for a reponse blob, we simplify the interaction between
client-local and local-writeable sockets.

This allows us to make kdc_socket, kdc_process_fn_t, kdc_tcp_call and kdc_tcp_socket
private to kdc.c again.

metze
source4/kdc/kdc-glue.h
source4/kdc/kdc.c
source4/kdc/proxy.c