ambi/samba-autobuild/.git
8 years agoremove the fedora package, and point at the repository instead
Jelmer Vernooij [Mon, 18 Jul 2011 08:37:21 +0000 (10:37 +0200)]
remove the fedora package, and point at the repository instead

8 years agoREADME.Coding: Mention that PEP8 is the standard for Python code.
Jelmer Vernooij [Sun, 17 Jul 2011 11:33:03 +0000 (13:33 +0200)]
README.Coding: Mention that PEP8 is the standard for Python code.

Almost all of our existing code is PEP8, and virtually every other free software
project in Python uses PEP8.

8 years agoupdate TODO: net has been renamed to samba-tool.
Jelmer Vernooij [Sun, 17 Jul 2011 11:29:32 +0000 (13:29 +0200)]
update TODO: net has been renamed to samba-tool.

8 years agoscripting/bin: Some formatting fixes.
Jelmer Vernooij [Sun, 17 Jul 2011 11:28:21 +0000 (13:28 +0200)]
scripting/bin: Some formatting fixes.

8 years agos3:libsmb: cli_set_secdesc() only needs a const struct security_descriptor
Stefan Metzmacher [Sat, 23 Jul 2011 07:55:06 +0000 (09:55 +0200)]
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

8 years agolibcli/security: add some const to marshall_sec_desc[_buf]()
Stefan Metzmacher [Sat, 23 Jul 2011 07:54:31 +0000 (09:54 +0200)]
libcli/security: add some const to marshall_sec_desc[_buf]()

metze

8 years agos3:libsmb: remove unused cli_query_secdesc_old()
Stefan Metzmacher [Sat, 23 Jul 2011 07:54:04 +0000 (09:54 +0200)]
s3:libsmb: remove unused cli_query_secdesc_old()

metze

8 years agos3:libsmb_xattr: make use of the new cli_query_secdesc()
Stefan Metzmacher [Sat, 23 Jul 2011 07:43:32 +0000 (09:43 +0200)]
s3:libsmb_xattr: make use of the new cli_query_secdesc()

metze

8 years agos3-utils/net_rpc.c: replace cli_query_secdesc_old()
Björn Baumbach [Fri, 22 Jul 2011 15:07:30 +0000 (17:07 +0200)]
s3-utils/net_rpc.c: replace cli_query_secdesc_old()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-utils/net_rpc_printer.c: replace cli_query_secdesc_old()
Björn Baumbach [Fri, 22 Jul 2011 15:00:23 +0000 (17:00 +0200)]
s3-utils/net_rpc_printer.c: replace cli_query_secdesc_old()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-utils/smbcacls.c: replace cli_query_secdesc_old()
Björn Baumbach [Fri, 22 Jul 2011 14:56:04 +0000 (16:56 +0200)]
s3-utils/smbcacls.c: replace cli_query_secdesc_old()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-client/client.c: replace cli_query_secdesc_old()
Björn Baumbach [Fri, 22 Jul 2011 14:51:10 +0000 (16:51 +0200)]
s3-client/client.c: replace cli_query_secdesc_old()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture: run_nttrans_create(): replace cli_query_secdesc_old()
Björn Baumbach [Fri, 22 Jul 2011 13:50:13 +0000 (15:50 +0200)]
s3-torture: run_nttrans_create(): replace cli_query_secdesc_old()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-libsmb: introduce new cli_query_secdesc() which returns NTSTATUS
Björn Baumbach [Fri, 22 Jul 2011 13:11:31 +0000 (15:11 +0200)]
s3-libsmb: introduce new cli_query_secdesc() which returns NTSTATUS

Replacement for cli_query_secdesc_old()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()
Björn Baumbach [Fri, 22 Jul 2011 13:02:23 +0000 (15:02 +0200)]
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>
8 years agos3-libsmb: finally remove cli_read_old()
Björn Baumbach [Fri, 22 Jul 2011 12:23:56 +0000 (14:23 +0200)]
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>
8 years agos3-libsmb/libsmb_file.c: replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 12:22:29 +0000 (14:22 +0200)]
s3-libsmb/libsmb_file.c: replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture/nbio.c: replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 12:01:12 +0000 (14:01 +0200)]
s3-torture/nbio.c: replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture/utable.c: replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 11:46:57 +0000 (13:46 +0200)]
s3-torture/utable.c: replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-utils/net_rpc_printer.c: print more info on write error
Björn Baumbach [Fri, 22 Jul 2011 11:44:49 +0000 (13:44 +0200)]
s3-utils/net_rpc_printer.c: print more info on write error

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-utils/net_rpc_printer.c: return on read error in net_copy_file()
Björn Baumbach [Fri, 22 Jul 2011 11:39:05 +0000 (13:39 +0200)]
s3-utils/net_rpc_printer.c: return on read error in net_copy_file()

replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture/denytest.c: replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 11:06:13 +0000 (13:06 +0200)]
s3-torture/denytest.c: replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-libgpo/gpo_filesync.c: return on read error
Björn Baumbach [Fri, 22 Jul 2011 10:44:56 +0000 (12:44 +0200)]
s3-libgpo/gpo_filesync.c: return on read error

replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-client/clitar.c: replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 10:35:03 +0000 (12:35 +0200)]
s3-client/clitar.c: replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture: run_oplock2(): replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 10:29:59 +0000 (12:29 +0200)]
s3-torture: run_oplock2(): replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture: run_fdsesstest(): replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 10:19:34 +0000 (12:19 +0200)]
s3-torture: run_fdsesstest(): replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture: run_fdpasstest(): replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 10:12:42 +0000 (12:12 +0200)]
s3-torture: run_fdpasstest(): replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture: run_locktest7(): replace cli_read_old() with cli_read()
Stefan Metzmacher [Sat, 23 Jul 2011 07:16:27 +0000 (09:16 +0200)]
s3-torture: run_locktest7(): replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture: run_locktest7(): goto fail on read error
Stefan Metzmacher [Sat, 23 Jul 2011 07:10:09 +0000 (09:10 +0200)]
s3-torture: run_locktest7(): goto fail on read error

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agoFix bug 8314] - smbd crash with unknown user.
Jeremy Allison [Fri, 22 Jul 2011 23:40:54 +0000 (16:40 -0700)]
Fix bug 8314] - smbd crash with unknown user.

All other auth modules code with being called with
auth_method->private_data being NULL, make the auth_server
module cope with this too.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jul 23 02:55:01 CEST 2011 on sn-devel-104

8 years agos3:libsmb: move cli_state->desthost to cli_state->conn.remote_name
Stefan Metzmacher [Fri, 22 Jul 2011 14:53:51 +0000 (16:53 +0200)]
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

8 years agos3:winbindd_cm: use controller instead of cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:52:55 +0000 (16:52 +0200)]
s3:winbindd_cm: use controller instead of cli->desthost

The should have the same value.

metze

8 years agos3:net_util: use server_name instead of cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:52:11 +0000 (16:52 +0200)]
s3:net_util: use server_name instead of cli->desthost

They should be the same.

metze

8 years agos3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:51:19 +0000 (16:51 +0200)]
s3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthost

metze

8 years agos3:net_rpc_printer: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:50:43 +0000 (16:50 +0200)]
s3:net_rpc_printer: make use of cli_state_remote_name()

metze

8 years agos3:net_rpc_join: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:49:28 +0000 (16:49 +0200)]
s3:net_rpc_join: make use of cli_state_remote_name()

metze

8 years agos3:net_rpc_join: use pipe_hnd->desthost instead of cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:48:38 +0000 (16:48 +0200)]
s3:net_rpc_join: use pipe_hnd->desthost instead of cli->desthost

metze

8 years agos3:net_rpc: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:48:02 +0000 (16:48 +0200)]
s3:net_rpc: make use of cli_state_remote_name()

metze

8 years agos3:net_rpc: use netr->desthost instead of cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:47:35 +0000 (16:47 +0200)]
s3:net_rpc: use netr->desthost instead of cli->desthost

metze

8 years agos3:net_rap: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:46:16 +0000 (16:46 +0200)]
s3:net_rap: make use of cli_state_remote_name()

metze

8 years agos3:rpcclient: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:45:51 +0000 (16:45 +0200)]
s3:rpcclient: make use of cli_state_remote_name()

metze

8 years agos3:rpcclient: use rpc_pipe->desthost instead of cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:45:12 +0000 (16:45 +0200)]
s3:rpcclient: use rpc_pipe->desthost instead of cli->desthost

metze

8 years agos3:cli_pipe_schannel: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:44:28 +0000 (16:44 +0200)]
s3:cli_pipe_schannel: make use of cli_state_remote_name()

metze

8 years agos3:cli_pipe: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:44:02 +0000 (16:44 +0200)]
s3:cli_pipe: make use of cli_state_remote_name()

metze

8 years agos3:cli_pipe: use result->desthost instead of cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:43:27 +0000 (16:43 +0200)]
s3:cli_pipe: use result->desthost instead of cli->desthost

metze

8 years agos3:libsmb_server: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:34:29 +0000 (16:34 +0200)]
s3:libsmb_server: make use of cli_state_remote_name()

metze

8 years agos3:libsmb/libsmb_dir: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:33:51 +0000 (16:33 +0200)]
s3:libsmb/libsmb_dir: make use of cli_state_remote_name()

metze

8 years agos3:libsmb/clirap2: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:33:16 +0000 (16:33 +0200)]
s3:libsmb/clirap2: make use of cli_state_remote_name()

metze

8 years agos3:libsmb/clifsinfo: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:31:51 +0000 (16:31 +0200)]
s3:libsmb/clifsinfo: make use of cli_state_remote_name()

metze

8 years agos3:libsmb/clidfs: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:31:18 +0000 (16:31 +0200)]
s3:libsmb/clidfs: make use of cli_state_remote_name()

metze

8 years agos3:libsmb/cliconnect: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:29:58 +0000 (16:29 +0200)]
s3:libsmb/cliconnect: make use of cli_state_remote_name()

metze

8 years agos3:libnet_join: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:28:27 +0000 (16:28 +0200)]
s3:libnet_join: make use of cli_state_remote_name()

8 years agos3:lib/netapi: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:19:00 +0000 (16:19 +0200)]
s3:lib/netapi: make use of cli_state_remote_name()

metze

8 years agos3:client: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:16:20 +0000 (16:16 +0200)]
s3:client: make use of cli_state_remote_name()

metze

8 years agos3:auth_server: make use of cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:15:56 +0000 (16:15 +0200)]
s3:auth_server: make use of cli_state_remote_name()

metze

8 years agos3:auth_domain: we already have the dc_name, it's the same as cli->desthost
Stefan Metzmacher [Fri, 22 Jul 2011 14:10:51 +0000 (16:10 +0200)]
s3:auth_domain: we already have the dc_name, it's the same as cli->desthost

metze

8 years agos3:libsmb: add cli_state_remote_name()
Stefan Metzmacher [Fri, 22 Jul 2011 14:09:54 +0000 (16:09 +0200)]
s3:libsmb: add cli_state_remote_name()

metze

8 years agos3:libsmb: remove const from cli_cm_display()
Stefan Metzmacher [Fri, 22 Jul 2011 14:05:54 +0000 (16:05 +0200)]
s3:libsmb: remove const from cli_cm_display()

metze

8 years agos3-torture: run_locktest4(): replace cli_read_old() with cli_read()
Björn Baumbach [Fri, 22 Jul 2011 09:18:30 +0000 (11:18 +0200)]
s3-torture: run_locktest4(): replace cli_read_old() with cli_read()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
8 years agos3-torture: introduce test_cli_read()
Björn Baumbach [Fri, 22 Jul 2011 08:48:35 +0000 (10:48 +0200)]
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>
8 years agos3:libsmb: move cli_state->{src_ss,dest_ss} to cli_state->conn.{local_ss,remote_ss}
Stefan Metzmacher [Fri, 22 Jul 2011 11:43:02 +0000 (13:43 +0200)]
s3:libsmb: move cli_state->{src_ss,dest_ss} to cli_state->conn.{local_ss,remote_ss}

metze

8 years agos3:net_rpc_printer: make use of cli_state_remote_sockaddr()
Stefan Metzmacher [Fri, 22 Jul 2011 11:42:38 +0000 (13:42 +0200)]
s3:net_rpc_printer: make use of cli_state_remote_sockaddr()

metze

8 years agos3:net_rpc: make use of cli_state_remote_sockaddr()
Stefan Metzmacher [Fri, 22 Jul 2011 11:42:20 +0000 (13:42 +0200)]
s3:net_rpc: make use of cli_state_remote_sockaddr()

metze

8 years agos3:net_rpc_join: make use of cli_state_remote_sockaddr()
Stefan Metzmacher [Fri, 22 Jul 2011 11:44:36 +0000 (13:44 +0200)]
s3:net_rpc_join: make use of cli_state_remote_sockaddr()

metze

8 years agos3:net_rpc_join: pass const sockaddr_storage to net_rpc_join_ok()
Stefan Metzmacher [Fri, 22 Jul 2011 11:41:09 +0000 (13:41 +0200)]
s3:net_rpc_join: pass const sockaddr_storage to net_rpc_join_ok()

metze

8 years agos3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()
Stefan Metzmacher [Fri, 22 Jul 2011 11:40:19 +0000 (13:40 +0200)]
s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()

metze

8 years agos3:net_util: add some const to sockaddr_storage
Stefan Metzmacher [Fri, 22 Jul 2011 11:05:43 +0000 (13:05 +0200)]
s3:net_util: add some const to sockaddr_storage

metze

8 years agos3:auth_domain: add some const to sockaddr_storage
Stefan Metzmacher [Fri, 22 Jul 2011 11:04:32 +0000 (13:04 +0200)]
s3:auth_domain: add some const to sockaddr_storage

metze

8 years agos3:libsmb: only pass const sockaddr_storage to cli_full_connection()
Stefan Metzmacher [Fri, 22 Jul 2011 11:03:19 +0000 (13:03 +0200)]
s3:libsmb: only pass const sockaddr_storage to cli_full_connection()

No direct or indirect caller needs this to be set.

metze

8 years agos3:smbcquotas: pass down NULL instead of a zero sockaddr_storage
Stefan Metzmacher [Fri, 22 Jul 2011 10:31:05 +0000 (12:31 +0200)]
s3:smbcquotas: pass down NULL instead of a zero sockaddr_storage

metze

8 years agos3:smbcacls: pass down NULL instead of a zero sockaddr_storage
Stefan Metzmacher [Fri, 22 Jul 2011 10:29:57 +0000 (12:29 +0200)]
s3:smbcacls: pass down NULL instead of a zero sockaddr_storage

metze

8 years agos3:libsmb_server: pass NULL instead of a zero sockaddr_storage
Stefan Metzmacher [Fri, 22 Jul 2011 10:25:44 +0000 (12:25 +0200)]
s3:libsmb_server: pass NULL instead of a zero sockaddr_storage

metze

8 years agos3:libsmb: only pass a const sockaddr_storage to cli_start_connection()
Stefan Metzmacher [Fri, 22 Jul 2011 10:01:27 +0000 (12:01 +0200)]
s3:libsmb: only pass a const sockaddr_storage to cli_start_connection()

Let the caller use cli_state_remote_sockaddr() if needed.

metze

8 years agos3:net_time: expect const sockaddr_storage in cli_servertime()
Stefan Metzmacher [Fri, 22 Jul 2011 09:56:14 +0000 (11:56 +0200)]
s3:net_time: expect const sockaddr_storage in cli_servertime()

We don't want to modify the value.

metze

8 years agos3:libsmb: let cli_connect_nb() only expect a const sockaddr_storage *dest_ss
Stefan Metzmacher [Fri, 22 Jul 2011 09:54:03 +0000 (11:54 +0200)]
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

8 years agos3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send()
Stefan Metzmacher [Fri, 22 Jul 2011 09:24:45 +0000 (11:24 +0200)]
s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send()

metze

8 years agos3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin()
Stefan Metzmacher [Fri, 22 Jul 2011 09:23:48 +0000 (11:23 +0200)]
s3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin()

metze

8 years agos3:winbindd_cm: use cli_state_[local|remote]_sockaddr()
Stefan Metzmacher [Fri, 22 Jul 2011 09:21:29 +0000 (11:21 +0200)]
s3:winbindd_cm: use cli_state_[local|remote]_sockaddr()

metze

8 years agos3:libsmb: add cli_state_[local|remote]_sockaddr()
Stefan Metzmacher [Fri, 22 Jul 2011 08:29:18 +0000 (10:29 +0200)]
s3:libsmb: add cli_state_[local|remote]_sockaddr()

metze

8 years agos3:libsmb: move cli_state->fd to cli_state->conn.fd
Stefan Metzmacher [Fri, 22 Jul 2011 07:39:52 +0000 (09:39 +0200)]
s3:libsmb: move cli_state->fd to cli_state->conn.fd

metze

8 years agos3:libsmb: make use of cli_state_disconnect()
Stefan Metzmacher [Fri, 22 Jul 2011 07:39:23 +0000 (09:39 +0200)]
s3:libsmb: make use of cli_state_disconnect()

metze

8 years agos3:libsmb: make use of cli_state_is_connected()
Stefan Metzmacher [Fri, 22 Jul 2011 07:38:42 +0000 (09:38 +0200)]
s3:libsmb: make use of cli_state_is_connected()

metze

8 years agos3:torture: use cli_state_disconnect() to close the socket on SIGALRM
Stefan Metzmacher [Fri, 22 Jul 2011 07:34:29 +0000 (09:34 +0200)]
s3:torture: use cli_state_disconnect() to close the socket on SIGALRM

metze

8 years agos3:smbtree: try to fix completely broken logic in get_workgroups()
Stefan Metzmacher [Fri, 22 Jul 2011 10:48:09 +0000 (12:48 +0200)]
s3:smbtree: try to fix completely broken logic in get_workgroups()

metze

8 years agos3:loadparm: fix the reload of the configuration: also reload activated registry...
Michael Adam [Fri, 22 Jul 2011 08:11:52 +0000 (10:11 +0200)]
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

8 years agos3:loadparm: add reload_registry_shares() - reload only those shares already loaded
Michael Adam [Fri, 22 Jul 2011 08:10:43 +0000 (10:10 +0200)]
s3:loadparm: add reload_registry_shares() - reload only those shares already loaded

8 years agos3:smbclient: print nt status code when smb echo fails
Michael Adam [Fri, 22 Jul 2011 13:38:38 +0000 (15:38 +0200)]
s3:smbclient: print nt status code when smb echo fails

8 years agos3:smbclient: add a "tdis" command to view and change the tree id (tid).
Michael Adam [Fri, 22 Jul 2011 12:12:13 +0000 (14:12 +0200)]
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.

8 years agos3:smbclient: add a "tdis" command to do a tree disconnect (close a connection to...
Michael Adam [Fri, 22 Jul 2011 12:11:34 +0000 (14:11 +0200)]
s3:smbclient: add a "tdis" command to do a tree disconnect (close a connection to a share)

8 years agos3:smbclient: add a "tcon" command to do a tree connect (connect to a share)
Michael Adam [Fri, 22 Jul 2011 12:10:38 +0000 (14:10 +0200)]
s3:smbclient: add a "tcon" command to do a tree connect (connect to a share)

8 years agos3:smbclient: add "logoff" command to close the session
Michael Adam [Fri, 22 Jul 2011 12:08:03 +0000 (14:08 +0200)]
s3:smbclient: add "logoff" command to close the session

8 years agos3:libsmb: move cli_state->outgoing to cli_state->conn.outgoing
Stefan Metzmacher [Fri, 22 Jul 2011 06:41:20 +0000 (08:41 +0200)]
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

8 years agos3:libsmb: move cli_state->pending to cli_state->conn.pending
Stefan Metzmacher [Fri, 22 Jul 2011 06:38:59 +0000 (08:38 +0200)]
s3:libsmb: move cli_state->pending to cli_state->conn.pending

metze

8 years agos3:libsmb: fix compiler warnings in cli_state_create()
Stefan Metzmacher [Fri, 22 Jul 2011 06:38:02 +0000 (08:38 +0200)]
s3:libsmb: fix compiler warnings in cli_state_create()

metze

8 years agos4-messaging: fixed the removal of messaging sockets in child tasks
Andrew Tridgell [Fri, 22 Jul 2011 04:55:32 +0000 (14:55 +1000)]
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

8 years agoFix const warning.
Jeremy Allison [Thu, 21 Jul 2011 21:02:10 +0000 (14:02 -0700)]
Fix const warning.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jul 22 01:58:39 CEST 2011 on sn-devel-104

8 years agos3-rpc_server: Do not set msg_ctx twice
Simo Sorce [Thu, 21 Jul 2011 21:10:06 +0000 (17:10 -0400)]
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

8 years agos3:winbindd_cm: remove unused checks for address family
Stefan Metzmacher [Thu, 21 Jul 2011 19:51:11 +0000 (21:51 +0200)]
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

8 years agos3:libsmb: replace cli_initialise[_ex]() by cli_state_create()
Stefan Metzmacher [Thu, 21 Jul 2011 19:47:36 +0000 (21:47 +0200)]
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

8 years agos3:include: remove unused cli_state->called and cli_state->calling
Stefan Metzmacher [Thu, 21 Jul 2011 19:18:27 +0000 (21:18 +0200)]
s3:include: remove unused cli_state->called and cli_state->calling

metze