Stefan Metzmacher
1d7bdfc4fe
s3:libsmb: make cli_ulogoff_send/recv static
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15 09:07:07 +02:00
Stefan Metzmacher
80d4f64352
s3:libsmb: make cli_tdis_send/recv static
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15 09:07:07 +02:00
Volker Lendecke
cd2cc97df2
libsmbclient: Make cli_full_connection async
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-04-11 14:52:56 -07:00
Volker Lendecke
0e1e0a6e41
libsmbclient: Add async cli_session_setup
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-04-11 14:35:44 -07:00
Stefan Metzmacher
d0bca41f48
s3:libsmb: s/struct event_context/struct tevent_context
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-02-19 23:47:54 +01:00
Stefan Metzmacher
9afba14417
s3:libsmb: add cli_{query,set}_security_descriptor() which take sec_info flags
...
In order to set and get security_descriptors it's important to specify
the sec_info flags.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2012-12-02 22:53:32 +01:00
Luk Claes
4688107800
s3:libsmb: get rid of cli_ucs2
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
2012-05-28 16:58:03 +02:00
Luk Claes
93ed99d6ff
s3:libsmb: get rid of clisigning routines
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:51 +02:00
Luk Claes
764b5e5610
s3:libsmb: get rid of cli_negprot
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:49 +02:00
Luk Claes
82895ab22f
s3:libsmb: get rid of cli_state_disconnect
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:49 +02:00
Luk Claes
1ff8c404a6
s3:libsmb: get rid of cli_state_server_time_zone
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:48 +02:00
Luk Claes
278ba9928a
s3:libsmb: get rid of cli_state_security_mode
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:48 +02:00
Luk Claes
5f10bd9fe4
s3:libsmb: get rid of cli_state_server_gss_blob
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:48 +02:00
Luk Claes
2be7e23b99
s3:libsmb: get rid of cli_state_server_challenge
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:47 +02:00
Luk Claes
ab052c7ff0
s3:libsmb: get rid of cli_state_encryption_on
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:47 +02:00
Luk Claes
6c18a66f3e
s3:libsmb: get rid of cli_state_max_requests
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:47 +02:00
Luk Claes
7c69ca09d0
s3:libsmb: get rid of cli_state_server_session_key
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:46 +02:00
Luk Claes
3c9c06ac05
s3:libsmb: get rid of cli_state_capabilities
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:46 +02:00
Luk Claes
d8c0646a5d
s3:libsmb: get rid of cli_state_protocol
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:45 +02:00
Luk Claes
4f6f4ea93c
s3:libsmb: get rid of cli_state_remote_name
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:45 +02:00
Luk Claes
987e81b0ee
s3:libsmb: get rid of cli_state_*_sockaddr
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:44 +02:00
Luk Claes
8e24e7f6b8
s3:libsmb: get rid of cli_sockopt
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:44 +02:00
Andrew Bartlett
6aa12fcb30
build: Remove SMB_OFF_T, replace with off_t
...
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-06 01:47:43 +02:00
Volker Lendecke
9091aec724
s3: Add sync cli_notify
2012-03-22 12:18:35 +01:00
Andreas Schneider
8080dbad78
s3-lib: Fix util_cmdline which doesn't use popt.
...
This creates its own header file for util_cmdline so it doesn't need to
link against popt.
This should fix linking on FreeBSD.
2012-02-01 21:54:21 +01:00
Jeremy Allison
b44cfdf163
Add cli_open() back as a synchronous wrapper function the calls
...
NtCreateX followed by openX() if NtCreateX is unsupported.
2011-12-03 21:31:32 -08:00
Jeremy Allison
4e709dc42f
Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()
...
with a call that uses NTCreateX in preference to OpenAndX.
2011-12-03 21:13:08 -08:00
Jeremy Allison
af76d2588c
After a discussion with Volker, sdd a backup_intent state to the client struct.
...
This causes the backup_intent flags to be added to findfirst/findnext
and ntcreate/nttrans_create calls.
cli_set_backup_intent() sets the flag and returns the old value of
its state.
2011-12-01 13:24:22 -08:00
Stefan Metzmacher
665593d6ac
s3:libsmb: add cli_tree_connect() for a generic tree connect
...
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
9ebdee2817
s3:libsmb: implement cli_state based functions on top of smbXcli_conn/smbXcli_req
...
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
7221ce9bd5
s3:libsmb: use 'tevent_' instead of 'event_' in clitrans.c
...
metze
2011-10-26 15:43:08 +02:00
Stefan Metzmacher
1b9c8d4867
s3:include: move smb_seal.c prototypes to smb_crypt.h
...
metze
2011-10-19 17:32:23 +02:00
Stefan Metzmacher
bd8b2754ba
s3:libsmb/smb_seal: make common_ntlm_[en|de]crypt_buffer static
...
metze
2011-10-19 17:32:17 +02:00
Stefan Metzmacher
fa84d41161
s3:libsmb: forward declaration for struct smb_trans_enc_state
...
metze
2011-09-16 16:44:13 +02:00
Stefan Metzmacher
4faad28778
s3:libsmb: remove unused cli_*encryption* functions
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Sep 15 17:52:00 CEST 2011 on sn-devel-104
2011-09-15 17:51:59 +02:00
Stefan Metzmacher
a00f543aa6
s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob()
...
metze
2011-09-15 12:12:27 +02:00
Stefan Metzmacher
3f00cce9b3
s3:libsmb: pass max_protocol to cli_negprot()
...
metze
2011-09-15 10:25:17 +02:00
Stefan Metzmacher
c682472fdf
s3:libsmb: make use of new advanded SMB signing
...
metze
2011-09-14 08:09:15 +02:00
Stefan Metzmacher
d62f1e1e19
s3:libsmb: add cli_state_server_time()
...
metze
2011-09-13 21:53:07 +02:00
Stefan Metzmacher
4154b374d6
s3:libsmb: add cli_state_server_time_zone()
...
metze
2011-09-13 20:50:16 +02:00
Stefan Metzmacher
7ec961d987
s3:libsmb: add cli_state_server_session_key()
...
metze
2011-09-13 20:49:27 +02:00
Stefan Metzmacher
fbd5cb5835
s3:libsmb: add cli_state_security_mode()
...
metze
2011-09-13 18:12:23 +02:00
Stefan Metzmacher
dafeef47b4
s3:libsmb: add cli_state_max_requests()
...
metze
2011-09-13 18:12:23 +02:00
Stefan Metzmacher
2a5f8daa3e
s3:libsmb: add cli_state_available_size()
...
metze
2011-09-13 13:16:07 +02:00
Stefan Metzmacher
3e227d8544
s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
2011-09-08 10:21:50 +02:00
Stefan Metzmacher
cdca1e0ac3
s3:libsmb: pass CLI_FULL_CONNECTION_* flags to cli_state_create()
...
metze
2011-09-08 08:51:48 +02:00
Stefan Metzmacher
ab0a1cc5c6
s3:libsmb: move cli_smb_oplock_break_waiter*() to clioplock.c
...
metze
2011-08-28 17:16:51 +02:00
Stefan Metzmacher
81580429ec
s3:libsmb: make cli_session_setup_spnego() static
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Aug 10 12:31:55 CEST 2011 on sn-devel-104
2011-08-10 12:31:55 +02:00
Stefan Metzmacher
c6a3dedd99
s3:libsmb: store the remote_realm on the cli_state
...
metze
2011-08-10 11:14:55 +02:00
Andrew Bartlett
a942401c1f
s3-ntlmssp Use auth_ntlmssp_*() functions in more places
...
This allows auth_ntlmssp_get_ntlmssp_state() to be removed.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03 18:48:02 +10:00