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
Stefan Metzmacher
233336d0c2
s3:libsmb: add cli_state_protocol()
...
metze
2011-08-02 04:54:28 +02:00
Stefan Metzmacher
24c5427810
s3:libsmb: add cli_state_capabilities()
...
metze
2011-08-02 04:54:28 +02:00
Stefan Metzmacher
824a300d2b
s3:libsmb: cli_set_secdesc() only needs a const struct security_descriptor
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Jul 23 11:08:19 CEST 2011 on sn-devel-104
2011-07-23 11:08:19 +02:00
Stefan Metzmacher
6219bb9899
s3:libsmb: remove unused cli_query_secdesc_old()
...
metze
2011-07-23 09:55:54 +02:00
Björn Baumbach
cb4fc92177
s3-libsmb: introduce new cli_query_secdesc() which returns NTSTATUS
...
Replacement for cli_query_secdesc_old()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:18:57 +02:00
Björn Baumbach
768646c9a2
s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()
...
Will introduce new cli_query_secdesc() function
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:18:56 +02:00
Björn Baumbach
40e9d0c440
s3-libsmb: finally remove cli_read_old()
...
Replaced by new cli_read() which returns NTSTATUS instead of ssize_t.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:18:56 +02:00
Stefan Metzmacher
6d4f9fc251
s3:libsmb: move cli_state->desthost to cli_state->conn.remote_name
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jul 22 18:17:41 CEST 2011 on sn-devel-104
2011-07-22 18:17:41 +02:00
Stefan Metzmacher
b87bd59ecb
s3:libsmb: add cli_state_remote_name()
...
metze
2011-07-22 17:06:09 +02:00
Stefan Metzmacher
b3e0b73280
s3:libsmb: remove const from cli_cm_display()
...
metze
2011-07-22 17:06:09 +02:00
Stefan Metzmacher
5c7749ac24
s3:libsmb: only pass const sockaddr_storage to cli_full_connection()
...
No direct or indirect caller needs this to be set.
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
1eb8c2ae22
s3:libsmb: only pass a const sockaddr_storage to cli_start_connection()
...
Let the caller use cli_state_remote_sockaddr() if needed.
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
0cd70ec169
s3:libsmb: let cli_connect_nb() only expect a const sockaddr_storage *dest_ss
...
Only one caller expects this value to be set,
which now calls cli_state_remote_sockaddr() to get the value.
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
fa42d2e262
s3:libsmb: add cli_state_[local|remote]_sockaddr()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
ebe258dd40
s3:libsmb: replace cli_initialise[_ex]() by cli_state_create()
...
This makes sure cli_state->src_ss and cli_state->dest_ss are always
initialized.
metze
2011-07-21 22:08:53 +02:00
Stefan Metzmacher
25447a528a
s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind cli_state_[g|s]et_uid()
...
metze
2011-07-21 22:08:52 +02:00
Stefan Metzmacher
c70103f3f8
s3:libsmb: add cli_state_encryption_on()
...
metze
2011-07-21 22:08:51 +02:00
Björn Baumbach
8c360d7f76
s3-libsmb: introduce new NTSTATUS cli_read()
...
Replacement for cli_read_old()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20 22:09:25 +02:00
Björn Baumbach
9b168e128a
s3-libsmb: replace cli_read() with cli_read_old()
...
Will introduce new cli_read() function.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20 22:09:25 +02:00
Stefan Metzmacher
8f41e54d53
s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind cli_state_[g|s]et_tid()
...
metze
2011-07-20 15:56:27 +02:00
Stefan Metzmacher
1e3822115c
s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()
...
metze
2011-07-20 15:55:08 +02:00
Stefan Metzmacher
9fb7e228f5
s3:libsmb: add cli->smb1.vc_num and hide it behind cli_state_get_vc_num()
...
This makes it clearer, why we send the pid value in the session setup.
metze
2011-07-20 15:54:31 +02:00
Björn Baumbach
2052c2d6fa
s3-libsmb: remove unused cli_lock()
...
Replaced with cli_lock32()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 19 00:43:03 CEST 2011 on sn-devel-104
2011-07-19 00:43:03 +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
7bba81f69d
s3:libsmb: add cli_state_disconnect()
...
metze
2011-07-11 18:18:26 +02:00
Stefan Metzmacher
2b70c0f4f3
s3:libsmb: remove unused cli_set_port()
...
metze
2011-07-11 16:39:15 +02:00
Björn Baumbach
f2c5a0afd2
s3-libsmb: let cli_lock64 return NTSTATUS instead of bool
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104
2011-07-11 12:48:38 +02:00
Björn Baumbach
57194d8c5d
s3-libsmb: introduce cli_lock32()
...
Same like cli_lock() but return NTSTATUS instead of bool
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11 11:36:50 +02:00
Stefan Metzmacher
0f006751ec
s3:libsmb: remove unused clistr_push_fn()
...
metze
2011-07-07 19:16:28 +02:00
Stefan Metzmacher
30574a73d8
s3:libsmb: remove unused clistr_pull_fn()
...
metze
2011-07-07 19:16:28 +02:00