This project is mirrored from https://gitlab.com/samba-team/samba.git.
Pull mirroring updated .
- 09 Jul, 2018 14 commits
-
-
Christof Schmitt authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Christof Schmitt <cs@samba.org>
-
Christof Schmitt authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Christof Schmitt <cs@samba.org>
-
Christof Schmitt authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Christof Schmitt <cs@samba.org>
-
Christof Schmitt authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Christof Schmitt <cs@samba.org>
-
Christof Schmitt authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Christof Schmitt <cs@samba.org>
-
Christof Schmitt authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Christof Schmitt <cs@samba.org>
-
Ralph Böhme authored
Convert one more client to use the client_messaging_context(). smbstatus actually got the messaging setup right, but now that we have client_messaging_context() let's use it in more places. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Ralph Boehme <slow@samba.org>
-
Ralph Böhme authored
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Ralph Boehme <slow@samba.org>
-
Ralph Böhme authored
This initializes messaging which is needed for registry config and fixes a crash triggered by running testparm with registry config enabled in smb.conf, eg by "include = registry". Registry config calls db_open() and that requires messaging to be up and running on a cluster. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Ralph Boehme <slow@samba.org>
-
Ralph Böhme authored
process_options() calls lp_load_global() which, on a cluster with "include=registry" requires ctdb messaging up an running to do the db_open() on registry.tdb. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Ralph Boehme <slow@samba.org>
-
Ralph Böhme authored
This is similar to server_contexts.c, but for clients like smbpasswd, testparm asf. It streamlines messaging setup which is tricky to get right on a cluster with include=registry in smb.conf. client_messaging_context() calls lp_load_initial_only() which is needed to initialize messaging when checking and creating the directories used for the messaging sockets and lockfiles. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Ralph Boehme <slow@samba.org>
-
Ralph Böhme authored
server_event_ctx and server_msg_ctx static shouldn't be accessible from outside this compilation unit. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by:
Ralph Boehme <slow@samba.org>
-
Bailey Berro authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13511 Signed-off-by:
Bailey Berro <baileyberro@chromium.org> Reviewed-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Jeremy Allison <jra@samba.org> Reviewed-by:
David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Mon Jul 9 21:29:48 CEST 2018 on sn-devel-144
-
Jeremy Allison authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13511 Signed-off-by:
Jeremy Allison <jra@samba.org> Reviewed-by:
David Disseldorp <ddiss@samba.org>
-
- 07 Jul, 2018 4 commits
-
-
Andreas Schneider authored
This can't used uninitialized but some compiler complains about it. Signed-off-by:
Andreas Schneider <asn@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Sat Jul 7 16:24:30 CEST 2018 on sn-devel-144
-
Ralph Böhme authored
On a cluster filesystem the device numbers may differ on the cluster nodes. We already verify the file_id in vfs_default_durable_reconnect(), so we can safely remove the dev/inode checks. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13318 Signed-off-by:
Ralph Boehme <slow@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
Christof Schmitt via samba-technical authored
When e.g. trying to access a filename through Samba that does not adhere to the encoding configured in 'unix charset', the log will show the encoding problem, followed by "strstr_m: src malloc fail". The problem is that strstr_m assumes that any failure from push/pull_ucs2_talloc is a memory allocation problem, which is not correct. Address this by removing the misleading messages and add a missing message in convert_string_talloc_handle. Signed-off-by:
Christof Schmitt <cs@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
Ralph Böhme authored
As the comment above the if condition says: /* * If we are in case insentive mode, we don't need to * store names that need no translation - else, it * would be a waste. */ Ie if stat_cache_add() is called as stat_cache_add("foo/bar", "foo/bar", false) There's no need to cache the path, as a simple stat() on the client supplied name (full_orig_name) matches the name used in the filesystem (passed to stat_cache_add() as translated_path). So fix the if condition to match the comment. Signed-off-by:
Ralph Boehme <slow@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
- 06 Jul, 2018 8 commits
-
-
David Disseldorp authored
Mostly copied from the vfs_gluster manpage: the CephFS share path is not locally mounted, which breaks the ctdb_check_directories_probe() check. Signed-off-by:
David Disseldorp <ddiss@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 6 23:19:02 CEST 2018 on sn-devel-144
-
David Disseldorp authored
Instead, match vfs_gluster behaviour and require that users explicitly disable "kernel share modes". Bug: https://bugzilla.samba.org/show_bug.cgi?id=13506 Signed-off-by:
David Disseldorp <ddiss@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
David Disseldorp authored
Signed-off-by:
David Disseldorp <ddiss@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
David Disseldorp authored
Avoid set_conn_force_user_group() talloc stackframe leaks in doing so. Signed-off-by:
David Disseldorp <ddiss@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
David Disseldorp authored
set_conn_force_user_group() and change_to_user_internal() leak onto the callers' talloc stackframe. Drop the unnecessary heap allocations. Signed-off-by:
David Disseldorp <ddiss@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
David Disseldorp authored
The majority of these lp_servicename(talloc_tos(), ...) callers leak onto the talloc stackframe. Drop the unnecessary heap allocations. Signed-off-by:
David Disseldorp <ddiss@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
David Disseldorp authored
The majority of these lp_servicename(talloc_tos(), ...) callers leak onto the talloc stackframe. Drop the unnecessary heap allocations. Signed-off-by:
David Disseldorp <ddiss@samba.org> Reviewed-by:
Jeremy Allison <jra@samba.org>
-
Andreas Schneider authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13503 Signed-off-by:
Andreas Schneider <asn@samba.org> Reviewed-by:
Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jul 6 17:14:44 CEST 2018 on sn-devel-144
-
- 05 Jul, 2018 14 commits
-
-
Amitay Isaacs authored
This is in addition to af697008 . Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Thu Jul 5 15:22:16 CEST 2018 on sn-devel-144
-
Amitay Isaacs authored
Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net>
-
Andrew Bartlett authored
This matches the changes made in the PSO tests and slows down the whole testsuite but may make it more reliable on slower build hosts. Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 5 12:29:31 CEST 2018 on sn-devel-144
-
Andrew Bartlett authored
selftest: Use self.account_lockout_duration in self.update_lockout_settings for password_lockout tests This allows the account_lockout_duration and lockout_observation_window to be updated with longer values to cope with slower build servers. Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
-
Timur I. Bakeyev authored
Signed-off-by:
Timur I. Bakeyev <timur@iXsystems.com> Reviewed-by:
Gary Lockyer <gary@catalyst.net.nz> Reviewed-by:
Andrew Bartlett <abartlet@samba.org>
-
Timur I. Bakeyev authored
Make "none" the default setting for the successful and failed operations in the vfs_full_audit, so you don't blow up your server by just adding this module to the configuration. Signed-off-by:
Timur I. Bakeyev <timur@iXsystems.com> Reviewed-by:
Gary Lockyer <gary@catalyst.net.nz> Reviewed-by:
Andrew Bartlett <abartlet@samba.org>
-
Timur I. Bakeyev authored
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13436 Signed-off-by:
Timur I. Bakeyev <timur@iXsystems.com> Reviewed-by:
Gary Lockyer <gary@catalyst.net.nz> Reviewed-by:
Andrew Bartlett <abartlet@samba.org>
-
Amitay Isaacs authored
Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Thu Jul 5 09:39:33 CEST 2018 on sn-devel-144
-
Amitay Isaacs authored
This fixes the build and now new eventd is integrated completely in CTDB. Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net>
-
Amitay Isaacs authored
This breaks the build. The new eventd protocol cannot be introduced without removing the old eventd protocol. Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net>
-
Amitay Isaacs authored
Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net>
-
Amitay Isaacs authored
Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net>
-
Amitay Isaacs authored
Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net>
-
Amitay Isaacs authored
Signed-off-by:
Amitay Isaacs <amitay@gmail.com> Reviewed-by:
Martin Schwenke <martin@meltin.net>
-