lib: Add before/after hooks to async_connect
commitd67e614a07cbf143293436d380aba9a022c0e31b
authorVolker Lendecke <vl@samba.org>
Thu, 16 May 2013 14:11:54 +0000 (16 16:11 +0200)
committerChristian Ambach <ambi@samba.org>
Fri, 17 May 2013 09:22:45 +0000 (17 11:22 +0200)
tree8bbd6a2d278ee96a48761fa5083130080267e888
parent272a58afff69f52704bcc9a62947853b638420d5
lib: Add before/after hooks to async_connect

This will facilitiate [un]become_root for smbd to connect safely to ctdbd.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
lib/async_req/async_sock.c
lib/async_req/async_sock.h
source3/lib/ctdb_conn.c
source3/lib/util_sock.c
source3/libsmb/unexpected.c
source3/torture/wbc_async.c