Stefan Metzmacher
6c31b610e4
s3:libsmb: move cli->mid to cli->smb1.mid
...
metze
2011-07-20 15:48:59 +02:00
Stefan Metzmacher
8a234cbe15
s3:libsmb: remove unused cli_oplock_handler()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104
2011-07-12 10:53:52 +02:00
Stefan Metzmacher
7b73b6f964
s3:libsmb: remove unused cli->privileges
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
2011-07-12 09:30:49 +02:00
Stefan Metzmacher
2b70c0f4f3
s3:libsmb: remove unused cli_set_port()
...
metze
2011-07-11 16:39:15 +02:00
Stefan Metzmacher
893d137f3f
s3:libsmb: also remember the local socket address after connect
...
metze
2011-07-11 16:39:15 +02:00
Stefan Metzmacher
d6cd1ee032
s3:libsmb: remove unused cli->inbuf and cli->bufsize
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jul 8 15:21:46 CEST 2011 on sn-devel-104
2011-07-08 15:21:46 +02:00
Stefan Metzmacher
235aedae50
s3:libsmb: don't use the cli->inbuf to store the last error
...
We keep the raw error in cli->raw_status now, until we fixed all
caller to get the NTSTATUS from the function calls.
metze
2011-07-08 14:09:09 +02:00
Stefan Metzmacher
f0e6e5c37d
s3:libsmb: remove unused enum smb_read_errors infrastructure
...
metze
2011-07-08 14:09:08 +02:00
Stefan Metzmacher
f21720773f
s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:19 +02:00
Stefan Metzmacher
ab913d1768
s3:libsmb: add smb2cli_negprot*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:17 +02:00
Stefan Metzmacher
a0cf7bae60
s3:libsmb: add basic smb2 client infrastructure
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:17 +02:00
Stefan Metzmacher
3cdf962d1e
s3:libsmb: finally remove unused cli_state->outbuf
...
metze
2011-07-07 19:16:28 +02:00
Stefan Metzmacher
d921200e75
s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()
...
metze
2011-07-07 19:16:27 +02:00
Stefan Metzmacher
fdfb5e95fe
s3:libsmb: remove unused cli_state_seqnum infrastructure
...
metze
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jun 10 20:37:54 CEST 2011 on sn-devel-104
2011-06-10 20:37:54 +02:00
Volker Lendecke
01386ff313
s3: Extract the guest_login field in sesssetup
2011-05-29 12:49:34 +02:00
Jeremy Allison
1815f0298f
Remove fstrings from client struct. Properly talloc strings (ensuring we never end up with a NULL pointer).
2011-04-27 12:06:25 -07:00
Günther Deschner
c3d8991164
s3-build: finally remove references to ndr and dcerpc headers that were included globally.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
2011-04-13 23:07:05 +02:00
Günther Deschner
9824e2e5ee
s3-rpc_client: add and use rpc_client/rpc_client.h.
...
Guenther
2011-04-13 22:23:59 +02:00
Günther Deschner
64b664155b
s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.h
...
Guenther
2011-04-12 12:20:43 +02:00
Günther Deschner
6c8d802391
s3-libsmb: move smb encryption structs into own header.
...
Guenther
2011-03-16 10:11:16 +01:00
Stefan Metzmacher
2907310803
s3:rpc_server: make it possible to use rpcint_binding_handle() directly
...
metze
2010-09-04 09:01:10 +02:00
Stefan Metzmacher
e79c8098d6
s3:include: remove unused dispatch* fn pointers from rpc_pipe_client
...
metze
2010-08-16 14:30:19 +02:00
Stefan Metzmacher
2c0e296dd7
s3:rpc_client: add dcerpc_binding_handle backend
...
metze
2010-08-12 14:31:21 +02:00
Volker Lendecke
fcdda8f443
s3: Remove "cli" from "struct finfo"
2010-07-30 17:01:33 +02:00
Simo Sorce
250e341e0a
misc: Remove unused structure elements
2010-07-28 12:20:13 -04:00
Andreas Schneider
46397f788b
s3-rpc_server: Use struct pipes_struct.
2010-07-28 10:39:23 +02:00
Volker Lendecke
dace013898
s3: Remove a typedef (struct file_info)
2010-07-27 21:05:35 +02:00
Simo Sorce
4581902553
s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_data
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-20 15:52:37 +10:00
Günther Deschner
fbb7814f91
s3: only use netlogon/nbt header when needed.
...
Guenther
2010-05-31 11:32:37 +02:00
Jeremy Allison
f3b8e31f83
Split out the client unix capabilities to those the server offered, and those the client asked for.
...
This fixes a bug when using encrypted transport and DFS links. Found
by my basic DFS torture test, which I'll check in next. Testing *rocks* :-).
Jeremy.
2010-04-13 18:41:14 -07:00
Stefan Metzmacher
99664ad154
s3:rpc_client: add set_timeout hook to rpc_cli_transport
...
metze
2010-03-29 18:11:17 +02:00
Stefan Metzmacher
4f41b53487
s3:rpc_client: add rpccli_is_connected()
...
metze
2010-03-29 18:11:16 +02:00
Volker Lendecke
ca48d6ab77
s3: Add CLI_FULL_CONNECTION_USE_CCACHE
2010-01-24 20:32:17 +01:00
Volker Lendecke
a03a83ad26
s3: Add ccache use to cli_session_setup_ntlmssp
2010-01-24 20:32:17 +01:00
Andrew Bartlett
5b37cd23bf
s3:ntlmssp: remove the typedef NTLMSSP_STATE
...
Andrew Bartlett
2009-12-22 21:07:53 +01:00
Volker Lendecke
e181b88978
Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
...
This reverts commit daa964013b
.
2009-11-08 19:43:47 +01:00
Volker Lendecke
daa964013b
s3: Do not reference ndr_table_<pipe> in the cli_ routines directly
2009-11-08 13:12:13 +01:00
Günther Deschner
799f8d7e13
schannel: fully share schannel sign/seal between s3 and 4.
...
Guenther
2009-09-16 01:55:06 +02:00
Günther Deschner
d3af0346c8
s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.
...
Guenther
2009-09-15 17:49:34 +02:00
Günther Deschner
393a1f594d
s3-rpc_client: add enum dcerpc_transport_t to rpc_cli_transport struct.
...
Guenther
2009-09-11 00:26:24 +02:00
Stefan Metzmacher
dcdefc17b9
s3:rpc_client: add dispatch_send/recv() to struct rpc_pipe_client
...
metze
2009-07-31 12:49:45 +02:00
Jeremy Allison
8cf78ff553
Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
...
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions.
This is smaller than it looks, it just fixes a lot of old code.
Next up, ensure all cli_XX functions return NTSTATUS.
Jeremy.
2009-04-30 15:26:43 -07:00
Andrew Bartlett
baf7274fed
Make Samba3 use the new common libcli/auth code
...
This is particuarly in the netlogon client (but not server at this
stage)
2009-04-14 16:23:44 +10:00
Volker Lendecke
3084d49cc0
Add a bad hack to enable level 2 oplocks in torture_open_connection_share
2009-04-06 21:32:08 +02:00
Volker Lendecke
64067f9204
Remove async_req based async libsmb infrastructure
2009-04-06 21:32:07 +02:00
Volker Lendecke
8bdac3615a
Add new async libsmb infrastructure
...
I know this is just yet another iteration, but I like this one much better than
the one that exists right now :-)
It will do trans and echo requests without a _recv helper and without
unnecessary memcpy().
2009-04-06 21:32:06 +02:00
Volker Lendecke
fa62836839
Convert rpc_cli_transport->trans to tevent_req
2009-03-24 13:23:41 +01:00
Volker Lendecke
8e0d9d002a
Convert rpc_cli_transport->write to tevent_req
2009-03-24 13:23:41 +01:00
Volker Lendecke
22badee4bf
Convert rpc_cli_transport->read to tevent_req
2009-03-24 13:23:40 +01:00
Stefan Metzmacher
6af15943c6
s3:libsmb: use new simplified smb_signing code for the client side
...
We store the seqnum/mid mapping in the cli_request structure
for async requests and in the cli_state structure for sync calls.
We skip the signing check for oplock requests while waiting
for async requests coming in.
metze
2009-03-23 12:21:14 +01:00