Commits on Source (21)
-
Karolin Seeger authored
and re-enable GIT_SNAPSHOT. Signed-off-by: Karolin Seeger <kseeger@samba.org>
cab67cb6 -
Günther Deschner authored
Similar to spoolss server options, make the client advertised OS version values configurable to allow overriding the defaults provided to the print server. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13597 Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
78fbf101 -
Justin Stephenson authored
Client printing operations currently fail against Windows Server 2016 with Access Denied if a client os build number lower than 6000 is advertised. Increase the default build number, major, and minor versions to values associated with client OS versoins Windows 7 and Windows Server 2008 R2. The build number value specifically needs to be increased to allow these operations to succeed. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13597 Signed-off-by: Justin Stephenson <jstephen@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
06c566c5 -
Günther Deschner authored
Use spoolss initialization function to set client version information for iremotewinspool printer operations Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
ff7b2314 -
Ralph Wuerthner authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13610 Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Wed Sep 12 21:50:57 CEST 2018 on sn-devel-144 (cherry picked from commit e52abc8a)
04209558 -
Martin Schwenke authored
If SIGTERM is received and the tevent signal handler setup in the recovery daemon is still enabled then the signal is handled and a corresponding event is queued. The child never runs an event loop so the signal is effectively ignored. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 5a6b1398)
de452413 -
Martin Schwenke authored
If SIGTERM is received and the tevent signal handler setup in the recovery daemon is still enabled then the signal is handled and a corresponding event is queued. The child never runs an event loop so the signal is effectively ignored. Resetting the SIGTERM handler isn't enough. A signal can arrive before that. Block SIGTERM before forking and then immediately unblock it in the parent. In the child, unblock SIGTERM after the signal handler is reset. An explicit unblock is needed because according to sigprocmask(2) "the signal mask is preserved across execve(2)". BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit e789d0da)
7187d7db -
Martin Schwenke authored
No functional changes, just coding style cleanups and debug message tweaks. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 59fc0164)
3819f795 -
Martin Schwenke authored
If the master changed while trying to take the lock then fail gracefully. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit c516e58c)
7bd0e802 -
Martin Schwenke authored
This will be a longer lived structure. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit af22f03d)
773a6474 -
Martin Schwenke authored
At the moment this is still local and is freed after the mutex is successfully taken. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit a53b264a)
54820e3d -
Martin Schwenke authored
... not just cluster mutex handle. This makes the recovery lock handle long-lived and with allow the releasing code to cancel an in-progress attempt to take the recovery lock. The cluster mutex handle is now allocated off the recovery lock handle. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit c5221674)
49130402 -
Martin Schwenke authored
This makes upcoming changes simpler. Update to modern debug macro while touching relevant line. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit a755d060)
a9c7c641 -
Martin Schwenke authored
If the recovery lock is in the process of being taken then free the cluster mutex handle but leave the recovery lock handle in place. This allows ctdb_recovery_lock() to fail. Note that this isn't yet live because rec->recovery_lock_handle is still only set at the completion of the attempt to take the lock. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit b1dc5687)
e6bcccbc -
Martin Schwenke authored
This allows the attempt to be cancelled if an election is lost and an unlock is done before the attempt is completed. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Tue Sep 18 02:18:30 CEST 2018 on sn-devel-144 (cherry picked from commit 486022ef) Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-9-test): Thu Sep 20 12:35:23 CEST 2018 on sn-devel-144
10d1b4d9 -
Andrew Bartlett authored
Correct fix for. On announce, work->lastannounce_time is set to current time t, so we must check that 't >= work->lastannounce_time', not 't > work->lastannounce_time' otherwise we end up not doing the comparison, and always doing the announce. Reported by Reuben Farrelly BUG: https://bugzilla.samba.org/show_bug.cgi?id=13620 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Revviewe-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 1d1cd28a) Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-9-test): Fri Sep 21 12:15:13 CEST 2018 on sn-devel-144
95b08d10 -
Karolin Seeger authored
Signed-off-by: Karolin Seeger <kseeger@samba.org>
7483205b -
Karolin Seeger authored
Signed-off-by: Karolin Seeger <kseeger@samba.org>
8fb6b0f4 -
Mathieu Parent authored02013cb9
-
Mathieu Parent authored
Upstream version 4.9.1+dfsg
61ac884b -
Mathieu Parent authored3816cbac
Showing
- VERSION 1 addition, 1 deletionVERSION
- WHATSNEW.txt 58 additions, 0 deletionsWHATSNEW.txt
- ctdb/doc/ctdb-etcd.7 2 additions, 2 deletionsctdb/doc/ctdb-etcd.7
- ctdb/doc/ctdb-script.options.5 2 additions, 2 deletionsctdb/doc/ctdb-script.options.5
- ctdb/doc/ctdb-statistics.7 2 additions, 2 deletionsctdb/doc/ctdb-statistics.7
- ctdb/doc/ctdb-tunables.7 2 additions, 2 deletionsctdb/doc/ctdb-tunables.7
- ctdb/doc/ctdb.1 2 additions, 2 deletionsctdb/doc/ctdb.1
- ctdb/doc/ctdb.7 2 additions, 2 deletionsctdb/doc/ctdb.7
- ctdb/doc/ctdb.conf.5 2 additions, 2 deletionsctdb/doc/ctdb.conf.5
- ctdb/doc/ctdb.sysconfig.5 2 additions, 2 deletionsctdb/doc/ctdb.sysconfig.5
- ctdb/doc/ctdb_diagnostics.1 2 additions, 2 deletionsctdb/doc/ctdb_diagnostics.1
- ctdb/doc/ctdb_mutex_ceph_rados_helper.7 2 additions, 2 deletionsctdb/doc/ctdb_mutex_ceph_rados_helper.7
- ctdb/doc/ctdbd.1 2 additions, 2 deletionsctdb/doc/ctdbd.1
- ctdb/doc/ctdbd_wrapper.1 3 additions, 6 deletionsctdb/doc/ctdbd_wrapper.1
- ctdb/doc/ctdbd_wrapper.1.html 2 additions, 5 deletionsctdb/doc/ctdbd_wrapper.1.html
- ctdb/doc/ctdbd_wrapper.1.xml 0 additions, 6 deletionsctdb/doc/ctdbd_wrapper.1.xml
- ctdb/doc/ltdbtool.1 2 additions, 2 deletionsctdb/doc/ltdbtool.1
- ctdb/doc/onnode.1 2 additions, 2 deletionsctdb/doc/onnode.1
- ctdb/doc/ping_pong.1 2 additions, 2 deletionsctdb/doc/ping_pong.1
- ctdb/server/ctdb_cluster_mutex.c 32 additions, 0 deletionsctdb/server/ctdb_cluster_mutex.c