Volker Lendecke
9f3e894468
libcli: Make smb2cli_create return blobs
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-06-30 22:28:14 +02:00
Volker Lendecke
0a2209c161
libsmb: Make smb2cli_create cancellable
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-06-21 20:38:11 +02:00
Jeremy Allison
2900dfa5b9
s3: client - rename 'struct smb2_create_returns' to 'struct smb_create_returns' so we can use this in SMB1 create returns as well.
...
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-05-09 23:10:07 +02:00
Stefan Metzmacher
60f16bacdc
libcli/smb: add SMB2_HDR_FLAG_DFS for SMB2 Create operations on dfs shares
...
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-17 16:10:35 +02:00
Stefan Metzmacher
44b53937d5
libcli/smb: pass max_dyn_len to smb2cli_req_send()
...
This way we can calculate the correct credit charge
for requests with large output buffers.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15 09:07:06 +02:00
Jeremy Allison
1229881df6
libcli/smb: Change smb2cli_create() and smb2cli_create_recv() to return a parameter blob of the newly opened/created file.
...
Will use in the smb2 client code.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-08-15 09:07:06 +02:00
Stefan Metzmacher
4ea37dd521
libcli/smb: make use of samba_tevent_context_init()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-02-19 23:47:44 +01:00
Stefan Metzmacher
faa039ef46
libcli/smb: use an explicit TALLOC_FREE(subreq) in smb2cli_*
...
metze
2012-09-29 10:09:25 +02:00
Stefan Metzmacher
56aa419d87
libcli/smb: there's no PID field in the SMB2/3 header anymore
...
It's a reserved field...
metze
2012-07-25 12:15:05 +02:00
Stefan Metzmacher
7de4ae7f9f
libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()
...
metze
2012-07-25 12:15:04 +02:00
Stefan Metzmacher
32b33999db
libcli/smb: pass smbXcli_tcon to smb2cli_create*()
...
metze
2012-07-24 22:20:06 +02:00
Stefan Metzmacher
2674d0c458
libcli/smb: move smb2cli_create.c from source3 to the toplevel
...
metze
2012-05-15 18:25:59 +02:00