diff options
author | Volker Lendecke <vl@samba.org> | 2013-05-16 16:11:54 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2013-05-17 11:22:45 +0200 |
commit | d67e614a07cbf143293436d380aba9a022c0e31b (patch) | |
tree | 8bbd6a2d278ee96a48761fa5083130080267e888 /source3/libsmb | |
parent | 272a58afff69f52704bcc9a62947853b638420d5 (diff) | |
download | samba-d67e614a07cbf143293436d380aba9a022c0e31b.tar.gz samba-d67e614a07cbf143293436d380aba9a022c0e31b.tar.bz2 samba-d67e614a07cbf143293436d380aba9a022c0e31b.zip |
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>
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/unexpected.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c index f537b3d0a7..2c01bb7515 100644 --- a/source3/libsmb/unexpected.c +++ b/source3/libsmb/unexpected.c @@ -514,7 +514,7 @@ struct tevent_req *nb_packet_reader_send(TALLOC_CTX *mem_ctx, subreq = async_connect_send(state, ev, state->reader->sock, (struct sockaddr *)(void *)&state->addr, - sizeof(state->addr)); + sizeof(state->addr), NULL, NULL, NULL); if (tevent_req_nomem(subreq, req)) { return tevent_req_post(req, ev); } |