Stefan Metzmacher
22cbb59c37
s3:libnet_join: make use of cli_state_remote_name()
2011-07-22 17:06:09 +02:00
Stefan Metzmacher
bb0d063f01
s3:lib/netapi: make use of cli_state_remote_name()
...
metze
2011-07-22 17:06:09 +02:00
Stefan Metzmacher
9a3e15df7e
s3:client: make use of cli_state_remote_name()
...
metze
2011-07-22 17:06:09 +02:00
Stefan Metzmacher
ab9d99cece
s3:auth_server: make use of cli_state_remote_name()
...
metze
2011-07-22 17:06:09 +02:00
Stefan Metzmacher
823ce6f50f
s3:auth_domain: we already have the dc_name, it's the same as cli->desthost
...
metze
2011-07-22 17:06:09 +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
Björn Baumbach
a560b793ca
s3-torture: run_locktest4(): replace cli_read_old() with cli_read()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22 17:06:09 +02:00
Björn Baumbach
0986b0bed7
s3-torture: introduce test_cli_read()
...
test_cli_read calls cli_read and returns success or failure
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
48de329363
s3:libsmb: move cli_state->{src_ss,dest_ss} to cli_state->conn.{local_ss,remote_ss}
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
cc4b2a6dc3
s3:net_rpc_printer: make use of cli_state_remote_sockaddr()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
9b40092cbd
s3:net_rpc: make use of cli_state_remote_sockaddr()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
a46b265563
s3:net_rpc_join: make use of cli_state_remote_sockaddr()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
f0c1b5dad2
s3:net_rpc_join: pass const sockaddr_storage to net_rpc_join_ok()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
e91797689b
s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
f7cd20d43c
s3:net_util: add some const to sockaddr_storage
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
b76951ba8f
s3:auth_domain: add some const to sockaddr_storage
...
metze
2011-07-22 17:06:08 +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
552164c7bc
s3:smbcquotas: pass down NULL instead of a zero sockaddr_storage
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
d60a1b4bb0
s3:smbcacls: pass down NULL instead of a zero sockaddr_storage
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
814449ab01
s3:libsmb_server: pass NULL instead of a zero sockaddr_storage
...
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
6cc61d6341
s3:net_time: expect const sockaddr_storage in cli_servertime()
...
We don't want to modify the value.
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
7f0b4eed3b
s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
acf4b84cbf
s3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
8bea5d6402
s3:winbindd_cm: use cli_state_[local|remote]_sockaddr()
...
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
13dbd5021b
s3:libsmb: move cli_state->fd to cli_state->conn.fd
...
metze
2011-07-22 17:06:07 +02:00
Stefan Metzmacher
6d1757f189
s3:libsmb: make use of cli_state_disconnect()
...
metze
2011-07-22 17:06:07 +02:00
Stefan Metzmacher
103413da8b
s3:libsmb: make use of cli_state_is_connected()
...
metze
2011-07-22 17:06:07 +02:00
Stefan Metzmacher
cd71c5746b
s3:torture: use cli_state_disconnect() to close the socket on SIGALRM
...
metze
2011-07-22 17:06:07 +02:00
Stefan Metzmacher
5bd80b20a1
s3:smbtree: try to fix completely broken logic in get_workgroups()
...
metze
2011-07-22 17:06:07 +02:00
Michael Adam
efbe1602bd
s3:loadparm: fix the reload of the configuration: also reload activated registry shares
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Jul 22 16:53:49 CEST 2011 on sn-devel-104
2011-07-22 16:53:49 +02:00
Michael Adam
ec113a58a4
s3:loadparm: add reload_registry_shares() - reload only those shares already loaded
2011-07-22 15:42:18 +02:00
Michael Adam
2b4bb9b7a1
s3:smbclient: print nt status code when smb echo fails
2011-07-22 15:42:17 +02:00
Michael Adam
d67a91b955
s3:smbclient: add a "tdis" command to view and change the tree id (tid).
...
This low level command can be used to switch between tree connects in one
session.
2011-07-22 15:42:17 +02:00
Michael Adam
7327bde81a
s3:smbclient: add a "tdis" command to do a tree disconnect (close a connection to a share)
2011-07-22 15:42:17 +02:00
Michael Adam
88d0e44df3
s3:smbclient: add a "tcon" command to do a tree connect (connect to a share)
2011-07-22 15:42:16 +02:00
Michael Adam
281c6d02bd
s3:smbclient: add "logoff" command to close the session
2011-07-22 15:42:16 +02:00
Stefan Metzmacher
a11cc880ef
s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoing
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104
2011-07-22 09:53:59 +02:00
Stefan Metzmacher
9f2b3b0be6
s3:libsmb: move cli_state->pending to cli_state->conn.pending
...
metze
2011-07-22 08:44:08 +02:00
Stefan Metzmacher
b94a7caa3a
s3:libsmb: fix compiler warnings in cli_state_create()
...
metze
2011-07-22 08:44:08 +02:00
Andrew Tridgell
2d21fe079f
s4-messaging: fixed the removal of messaging sockets in child tasks
...
when a child task exits we were firing a destructor on any inherited
messaging contexts, which could trigger a removal of the parents
message socket and messaging database entry.
This adds a new auto_remove flag to imessaging_init(), and exposes the
cleanup code for use by the stream service.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Jul 22 08:09:06 CEST 2011 on sn-devel-104
2011-07-22 08:09:06 +02:00
Jeremy Allison
fafd386910
Fix const warning.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jul 22 01:58:39 CEST 2011 on sn-devel-104
2011-07-22 01:58:39 +02:00
Simo Sorce
b19b05cd0a
s3-rpc_server: Do not set msg_ctx twice
...
msg_ctx was already passed to make_base_pipes_struct,
no need to set it again.
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Fri Jul 22 00:47:28 CEST 2011 on sn-devel-104
2011-07-22 00:47:28 +02:00
Stefan Metzmacher
2b1fc7c0d3
s3:winbindd_cm: remove unused checks for address family
...
If we got a connection, we don't need to check what
address family it uses.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jul 21 23:33:48 CEST 2011 on sn-devel-104
2011-07-21 23:33:48 +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
04b740d18b
s3:include: remove unused cli_state->called and cli_state->calling
...
metze
2011-07-21 22:08:53 +02:00
Stefan Metzmacher
392ddf970c
s3:libsmb: don't pass cli->called.name to NTLMv2_generate_names_blob()
...
cli->called.name is never initialized, so this change doesn't change
the behavior. And this behavior seems to be correct, see
commit 29c0c37691
s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnego.
metze
2011-07-21 22:08:52 +02:00