No smb_raw_search_next in smb_cliraw.h

Stefan (metze) Metzmacher metze at samba.org
Sat Jul 19 06:11:58 MDT 2014


Hi Stef,

> can someone help me find the code where the data coming from the
> server is read from the filedescriptor and mapped to the right waiting
> smbcli request?

See libcli/smb/smbXcli_base.c

smbXcli_conn_received -> smb1cli_conn_dispatch_incoming ->
tevent_req_done -> smb1cli_req_recv
                      -> smb2cli_conn_dispatch_incoming ->
tevent_req_done -> smb2cli_req_recv

For the source4/libcli/raw/ wrapper:
smbcli_request_done -> req->async.fn()

For the source4/libcli/smb2/ wrapper:
smb2_request_done -> req->async.fn()

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140719/d8f382a6/attachment.pgp>


More information about the samba-technical mailing list