kai/samba.git
15 years agoFix for bug #5688 from SATOH Fumiyasu <fumiyas@osstech.co.jp>. LPQ process is orphane...
Jeremy Allison [Wed, 13 Aug 2008 23:45:34 +0000 (16:45 -0700)]
Fix for bug #5688 from SATOH Fumiyasu <fumiyas@osstech.co.jp>. LPQ process is orphaned if socket address parameter is invalid.
If the "socket address" parameter is a null string that is an invalid value for Samba 3.2 but valid for Samba 3.0.
Jeremy.
(This used to be commit c65726d418601cdc86202c0371615e4f7f3d843c)

15 years agoFix for bug #5617, reported and patched by Bartosz Antosik antosik@gmail.com.
Jeremy Allison [Wed, 13 Aug 2008 22:46:35 +0000 (15:46 -0700)]
Fix for bug #5617, reported and patched by Bartosz Antosik antosik@gmail.com.
xp/2003 explorer freezes browsing shares on samba ipv6 hosts. Caused by missing
reply packet to SMB printclose packet.
Jeremy
(This used to be commit ecf2b906f476e4a764d0e53eed84b9b75a2062c0)

15 years agoPrevent NT_STATUS 0xF1000000 errors from appearing when
Jim McDonough [Wed, 13 Aug 2008 22:03:51 +0000 (18:03 -0400)]
Prevent NT_STATUS 0xF1000000 errors from appearing when
dos errors are used and there is no error.  It should
be mapped directly to NT_STATUS_OK.  smbclient to older
servers didn't work.
(This used to be commit 78f009b7ef1f1d63b21df9ba6da7fcca01c12109)

15 years agoRevert "Add winbind:online check timeout parameter"
Volker Lendecke [Thu, 14 Aug 2008 09:09:37 +0000 (11:09 +0200)]
Revert "Add winbind:online check timeout parameter"

This reverts commit 9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6.
(This used to be commit 34a32db9060e7b60455774f923f61b7367ee3fcf)

15 years agoRevert "If it is a forced DOS error, nt_errstr should say so"
Volker Lendecke [Wed, 13 Aug 2008 16:19:06 +0000 (18:19 +0200)]
Revert "If it is a forced DOS error, nt_errstr should say so"

This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f.
(This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)

15 years agoIf it is a forced DOS error, nt_errstr should say so
Volker Lendecke [Wed, 13 Aug 2008 15:40:30 +0000 (17:40 +0200)]
If it is a forced DOS error, nt_errstr should say so
(This used to be commit ef5489ac805237274d6088aaa7ae870cc0deb52f)

15 years agoWHATSNEW: Start WHATSNEW for 3.4.0pre1.
Karolin Seeger [Wed, 13 Aug 2008 13:29:06 +0000 (15:29 +0200)]
WHATSNEW: Start WHATSNEW for 3.4.0pre1.

Karolin
(This used to be commit e25fadd35900bda1ab411ac5abcf664b5eeb531f)

15 years agoVERSION: Raise version number.
Karolin Seeger [Wed, 13 Aug 2008 13:25:09 +0000 (15:25 +0200)]
VERSION: Raise version number.

Karolin
(This used to be commit 1ed4b2151e60050455e0b3564afe01b0c030b71e)

15 years agonetapi: add c++ guard.
Günther Deschner [Tue, 12 Aug 2008 17:38:22 +0000 (19:38 +0200)]
netapi: add c++ guard.

Guenther
(This used to be commit c9e38fef647520e4038f04bd163678bf4b30853d)

15 years agopackaging(RHEL-CTDB): check for success of x86_64 build before building i386
Michael Adam [Tue, 12 Aug 2008 21:46:50 +0000 (23:46 +0200)]
packaging(RHEL-CTDB): check for success of x86_64 build before building i386

Michael
(This used to be commit 3102582f0232359069577174b2faea37e5489014)

15 years agopackaging(RHEL-CTDB): fix installation of libsmbsharemodes for the 3.3.0 build.
Michael Adam [Tue, 12 Aug 2008 21:17:18 +0000 (23:17 +0200)]
packaging(RHEL-CTDB): fix installation of libsmbsharemodes for the 3.3.0 build.

Michael
(This used to be commit 061a46a35d019e2cd4100a8d63ce9c25753e4c38)

15 years agopackaging(RHEL-CTDB): fix installation of libsmclient for 3.3.0 build.
Michael Adam [Tue, 12 Aug 2008 21:14:42 +0000 (23:14 +0200)]
packaging(RHEL-CTDB): fix installation of libsmclient for 3.3.0 build.

Michael
(This used to be commit e70529e477125a04d4368885f80be3c828ce2205)

15 years agopackaging(RHEL-CTDB): install the right libraries for 3.3.0.
Michael Adam [Tue, 12 Aug 2008 19:48:00 +0000 (21:48 +0200)]
packaging(RHEL-CTDB): install the right libraries for 3.3.0.

The library creation and installation has been fixed in that
now the libfoo.so.VERSION is created and libfoo.so is correclty
installed as a link.

Since we do not have a separation of lib dir and modules dir,
we do still install to /usr/lib/samba/, though. Therefore we
still need the workaround in the spec file to install the
libs to /usr/lib/ manually.

Michael
(This used to be commit ba17854342cfe8a0ad63b0f4800d16152291b50f)

15 years agopackaging(RHEL-CTDB): don't call make proto for the 3.3.0 build.
Michael Adam [Tue, 12 Aug 2008 19:46:19 +0000 (21:46 +0200)]
packaging(RHEL-CTDB): don't call make proto for the 3.3.0 build.

Michael
(This used to be commit 815613c65597bbcde9aa1a133b86fce6a9ec554b)

15 years agopackaging(RHEL-CTDB): move to version 3.3.0 for the rpm build.
Michael Adam [Tue, 12 Aug 2008 19:28:10 +0000 (21:28 +0200)]
packaging(RHEL-CTDB): move to version 3.3.0 for the rpm build.

Michael
(This used to be commit fe7847f3e539ed737d7b1cd5b874e2d3add78129)

15 years agopackaging(RHEL-CTDB): Bump release number to ctdb.47 for the next RPM.
Michael Adam [Mon, 11 Aug 2008 20:56:55 +0000 (22:56 +0200)]
packaging(RHEL-CTDB): Bump release number to ctdb.47 for the next RPM.

Michael
(This used to be commit 7eb4ebd364bfcfcdebb0b1a68531e440f4221574)

15 years agosmbd: prevent smbd from panicing with "clustering = no" but --with-cluster-support
Michael Adam [Mon, 11 Aug 2008 14:30:36 +0000 (16:30 +0200)]
smbd: prevent smbd from panicing with "clustering = no" but --with-cluster-support

Michael
(This used to be commit a687949d19ba9690f96e7869aa22e4d87840640e)

15 years agoup release to 46
Andrew Tridgell [Sun, 10 Aug 2008 00:46:09 +0000 (10:46 +1000)]
up release to 46
(This used to be commit 4c2ec600731117316a6bec763e9cde2845e2356c)

15 years agoup to release 45 now
Andrew Tridgell [Sat, 9 Aug 2008 03:27:36 +0000 (13:27 +1000)]
up to release 45 now
(This used to be commit 7f0e1732a06709131475d0174103467aa795ec19)

15 years agodisable the DNS update code, as it breaks clustering
Andrew Tridgell [Sat, 9 Aug 2008 03:26:49 +0000 (13:26 +1000)]
disable the DNS update code, as it breaks clustering
(This used to be commit 30a5f682b5fe6edcdb119af6dc736f4beb40bc26)

15 years agoup to release 44
Andrew Tridgell [Fri, 8 Aug 2008 12:47:23 +0000 (22:47 +1000)]
up to release 44
(This used to be commit 5d482fe9873a20d3fd97f54f1e1216c1f13f46a1)

15 years agoadded a explanatory comment on tcon check
Andrew Tridgell [Fri, 8 Aug 2008 12:47:04 +0000 (22:47 +1000)]
added a explanatory comment on tcon check
(This used to be commit f2ab2cebb9b81453dc0b6370288b85909182ae49)

15 years agosmbd/conn: fix prototype change of conn_close_all() in proto.h.
Michael Adam [Tue, 12 Aug 2008 10:16:19 +0000 (12:16 +0200)]
smbd/conn: fix prototype change of conn_close_all() in proto.h.

(Cleaning "ensure we exit with non-zero status on EOF on socket"
 after rebasing to v3-3-test which has no "make proto" anymore.)

Michael
(This used to be commit a958c6bf1e0394e98df286974d78d3b07498e0b4)

15 years agoensure we exit with non-zero status on EOF on socket, so the parent
Andrew Tridgell [Fri, 8 Aug 2008 12:34:59 +0000 (22:34 +1000)]
ensure we exit with non-zero status on EOF on socket, so the parent
can trigger a brlock db cleanup
(This used to be commit bbd49f9e1c4b50c4a596fb991f3306e1e90c0177)

15 years agofixed child exit handling and IP release handling
Andrew Tridgell [Fri, 8 Aug 2008 11:11:56 +0000 (21:11 +1000)]
fixed child exit handling and IP release handling
(This used to be commit 6fe27d296c389473c24e8c627a61bd56b364ad9f)

15 years agolog unclean shutdowns
Andrew Tridgell [Fri, 8 Aug 2008 11:00:42 +0000 (21:00 +1000)]
log unclean shutdowns
(This used to be commit 30b83245a22ebd5e4fa4739dd2aa1805373a7eb2)

15 years agoregister the ctdbd reconfigure message
Andrew Tridgell [Fri, 8 Aug 2008 10:31:03 +0000 (20:31 +1000)]
register the ctdbd reconfigure message
(This used to be commit 9d3217bb28765e107c230fb90b578dcc6f5d4375)

15 years agoupdate configure.rpm
Andrew Tridgell [Fri, 8 Aug 2008 09:57:57 +0000 (19:57 +1000)]
update configure.rpm
(This used to be commit ec8f3d75a22e7d2d7617ed33836836cd73610095)

15 years agoincrease version to 43
Andrew Tridgell [Fri, 8 Aug 2008 06:44:52 +0000 (16:44 +1000)]
increase version to 43
(This used to be commit 1d8024d261264a709b9df22fa35cdad03ab4af19)

15 years agoallow nested ctdb transactions in the same manner that they are
Andrew Tridgell [Fri, 8 Aug 2008 06:44:24 +0000 (16:44 +1000)]
allow nested ctdb transactions in the same manner that they are
allowed for tdb. This is needed for the registry db backend.
(This used to be commit 4b04ec29c76df837a7909725bbbf4c79d5abdb4d)

15 years agoupdate to ctdb.42 release
Andrew Tridgell [Fri, 8 Aug 2008 03:45:12 +0000 (13:45 +1000)]
update to ctdb.42 release

Michael, if you do a new release, make it 43 or later please
(This used to be commit 89556d28974dc2390dd88a8edd5e32912c45d27c)

15 years agoupdate to transactions4 release
Andrew Tridgell [Fri, 8 Aug 2008 03:14:09 +0000 (13:14 +1000)]
update to transactions4 release
(This used to be commit 9442c78b7e91051803df61f2e36e06e248e7798e)

15 years agodrop retries to 5
Andrew Tridgell [Fri, 8 Aug 2008 03:13:42 +0000 (13:13 +1000)]
drop retries to 5
(This used to be commit a2f70fc175b748ef160a998d0563c28381ea3466)

15 years agouse CTDB_CONTROL_TRANS2_COMMIT_RETRY to prevent the counter getting
Andrew Tridgell [Fri, 8 Aug 2008 03:12:16 +0000 (13:12 +1000)]
use CTDB_CONTROL_TRANS2_COMMIT_RETRY to prevent the counter getting
out of sync
(This used to be commit 571ec7893c8b40959c005d510c039e3f231ffc67)

15 years agoup release to transactions3
Andrew Tridgell [Fri, 8 Aug 2008 01:47:23 +0000 (11:47 +1000)]
up release to transactions3
(This used to be commit a9f277da8b018af89ab7b9509460a158380e09d6)

15 years agofixed lots of places that paniced on a failed transaction_commit,
Andrew Tridgell [Fri, 8 Aug 2008 01:42:06 +0000 (11:42 +1000)]
fixed lots of places that paniced on a failed transaction_commit,
thinking it was a failure of a transaction cancel
(This used to be commit 22dbe158ed62ae47bbcb41bba3db345294f75437)

15 years agodon't leave a dangling transaction on retry error
Andrew Tridgell [Fri, 8 Aug 2008 01:41:21 +0000 (11:41 +1000)]
don't leave a dangling transaction on retry error
(This used to be commit ddf3022595fe8ca378c5f52107f42e296f852685)

15 years agocope with the control failing completely without returning a status
Andrew Tridgell [Fri, 8 Aug 2008 00:55:11 +0000 (10:55 +1000)]
cope with the control failing completely without returning a status
(This used to be commit fe6a03e7b11cd859fddae5ba924ea5e071b8ccea)

15 years agoup release number
Andrew Tridgell [Fri, 8 Aug 2008 00:01:13 +0000 (10:01 +1000)]
up release number
(This used to be commit 226b7d3bdf63970fc75ef08423ee984e3b7e94a5)

15 years agohandle two special cases
Andrew Tridgell [Thu, 7 Aug 2008 23:58:15 +0000 (09:58 +1000)]
handle two special cases

1) when all nodes write the same value to the record, or when writing
   a value that is already there, we can skip the write and save
   ourselves a network transactions

2) when all remote nodes fail an update, and we then fail a replay, we
   don't need to trigger a recovery. This solves a corner case where
   we could get into a recovery loop
(This used to be commit 2481bfce4307274806584b0d8e295cc7f638e184)

15 years agomark this release as a transactions test release
Andrew Tridgell [Thu, 7 Aug 2008 20:02:59 +0000 (22:02 +0200)]
mark this release as a transactions test release
(This used to be commit 9b1fa59d83890534264bec8f1190831eea37d9c3)

15 years agoput a limit on the number of retries. I found a case where a recovery
Andrew Tridgell [Thu, 7 Aug 2008 13:26:22 +0000 (23:26 +1000)]
put a limit on the number of retries. I found a case where a recovery
could lead to it blocking forever
(This used to be commit a633390d3a7cb04a7c4e14cba9c533621793287e)

15 years agowe need to commit, not cancel, on record destruction
Andrew Tridgell [Thu, 7 Aug 2008 11:33:00 +0000 (21:33 +1000)]
we need to commit, not cancel, on record destruction
(This used to be commit ba64a757f86fb60994e12e81416083ac0fa11c21)

15 years agoremoved more unused code
Andrew Tridgell [Thu, 7 Aug 2008 09:21:49 +0000 (19:21 +1000)]
removed more unused code
(This used to be commit 30a697c82db53f9d801e220a7c6277f873ebce67)

15 years agoall persistent databases now do all stores via automatic transactions
Andrew Tridgell [Thu, 7 Aug 2008 09:14:16 +0000 (19:14 +1000)]
all persistent databases now do all stores via automatic transactions
(This used to be commit 76fbe56e827193d939676da23a580aa0f9394dd1)

15 years agouse transactions in idmap_tdb2
Andrew Tridgell [Thu, 7 Aug 2008 08:35:19 +0000 (18:35 +1000)]
use transactions in idmap_tdb2
(This used to be commit 32b8db27652a66a2ade547a6d27f34d0816f7296)

15 years agofixed fetch of empty records
Andrew Tridgell [Thu, 7 Aug 2008 08:34:54 +0000 (18:34 +1000)]
fixed fetch of empty records
(This used to be commit 037516f1362c8d64da1d47a0cdaf83198d3eaeaf)

15 years agosamba3 can't handle NOREPLY yet
Andrew Tridgell [Thu, 7 Aug 2008 08:33:37 +0000 (18:33 +1000)]
samba3 can't handle NOREPLY yet
(This used to be commit 21729256a550509c3c038efa5acdd6ac39027dce)

15 years agocleanup debugging and fix handling of empty transaction
Andrew Tridgell [Thu, 7 Aug 2008 06:56:47 +0000 (16:56 +1000)]
cleanup debugging and fix handling of empty transaction
(This used to be commit 2e85cbe88b3d1674b915f62e02be7d005fddaa39)

15 years agofirst cut at adding full transactions for ctdb to samba3
Andrew Tridgell [Thu, 7 Aug 2008 06:20:05 +0000 (16:20 +1000)]
first cut at adding full transactions for ctdb to samba3
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)

15 years agogot rid of the redundent cache database
Andrew Tridgell [Thu, 7 Aug 2008 01:59:39 +0000 (11:59 +1000)]
got rid of the redundent cache database
(This used to be commit 126f4ac8e85458ee4693b89a184b99420f1b6bee)

15 years agopackaging(RHEL-CTDB): we are now based on 3.2.1
Michael Adam [Thu, 7 Aug 2008 00:46:13 +0000 (02:46 +0200)]
packaging(RHEL-CTDB): we are now based on 3.2.1

Michael
(This used to be commit 87e0688a261590d45d42f17e4cdce329ebe4cd8f)

15 years agoidmap tdb2: fix inconsistent mappings by checking for race and retrying to fetch...
Michael Adam [Thu, 7 Aug 2008 00:03:22 +0000 (02:03 +0200)]
idmap tdb2: fix inconsistent mappings by checking for race and retrying to fetch mapping.

Michael
(This used to be commit cb4c74c9c206e5a445ca636fa6562ce721ea5839)

15 years agodbwrap ctdb: fix a DEBUG message.
Michael Adam [Wed, 6 Aug 2008 22:12:57 +0000 (00:12 +0200)]
dbwrap ctdb: fix a DEBUG message.

Michael
(This used to be commit d776d8df262e1753fb428450140df94e63035af5)

15 years agoidmap tdb2: fix broken logic in tdb2_delete_bystring().
Michael Adam [Wed, 6 Aug 2008 20:43:27 +0000 (22:43 +0200)]
idmap tdb2: fix broken logic in tdb2_delete_bystring().

1. use the return value that idmap_tdb2_open_perm_db() gives us
2. don't delete frep the local db if deleting from the perm db failed.
3. fix wrong interpretation of return value of the local delete

Michael
(This used to be commit 147573d7f6faab0ad90258b6a28c4b9575ccb6ea)

15 years agoidmap tdb2: fix broken logic in tdb2_store_bystring().
Michael Adam [Wed, 6 Aug 2008 20:33:58 +0000 (22:33 +0200)]
idmap tdb2: fix broken logic in tdb2_store_bystring().

1. use the return value that idmap_tdb2_open_perm_db() gives us
2. don't write to the local db if writing to the perm db failed.
3. fix wrong interpretation of return value of the local store

Michael
(This used to be commit be8c6b4f2f40014313899b5cbc1da9d390d94fee)

15 years agodbwrap ctdb: don't retry when tdb_store failed in db_ctdb_persistent_store().
Michael Adam [Wed, 6 Aug 2008 20:30:27 +0000 (22:30 +0200)]
dbwrap ctdb: don't retry when tdb_store failed in db_ctdb_persistent_store().

Only retry when ctdbd_persisten_update() failed.

Michael
(This used to be commit ff413a4614c8b272a34b2a9e56a329a8e8749a34)

15 years agodbwrap ctdb: add a partial mapping from tdb_error to NTSTATUS and use it for store.
Michael Adam [Wed, 6 Aug 2008 20:22:23 +0000 (22:22 +0200)]
dbwrap ctdb: add a partial mapping from tdb_error to NTSTATUS and use it for store.

Michael
(This used to be commit eaf76c751f9bde2843174b400c109304831df83e)

15 years agopackaging(RHEL-CTDB): Bump release number to ctdb.41 for the next RPM.
Michael Adam [Wed, 6 Aug 2008 00:19:53 +0000 (02:19 +0200)]
packaging(RHEL-CTDB): Bump release number to ctdb.41 for the next RPM.

Michael
(This used to be commit 5258907818f8c1e338ab2c8fb4e8d83c6142a24e)

15 years agodbwrap ctdb: add db_ctdb_delete_persistent() and use it for persistent DBs
Michael Adam [Tue, 5 Aug 2008 16:47:40 +0000 (18:47 +0200)]
dbwrap ctdb: add db_ctdb_delete_persistent() and use it for persistent DBs

as delete_rec operation from fetch_locked()

Michael
(This used to be commit f4aab595a0219305fbedf8890e787b690660a55a)

15 years agodbwrap ctdb: call db_ctdb_store() in db_ctdb_delete().
Michael Adam [Tue, 5 Aug 2008 16:46:02 +0000 (18:46 +0200)]
dbwrap ctdb: call db_ctdb_store() in db_ctdb_delete().

to reduce code duplication.

Michael
(This used to be commit 09a197e756459877cab7b4d09f534c6a41cfdd71)

15 years agodbwrap ctdb: add a retry loop to the persistent store operation.
Michael Adam [Tue, 5 Aug 2008 09:32:20 +0000 (11:32 +0200)]
dbwrap ctdb: add a retry loop to the persistent store operation.

This is because ctdbd can fail in performing the persistent_store
due to race conditions, and this does not mean it can't succeed
the next time.

To not loop infinitely, this makes use of a new parametric option:
"dbwrap ctdb:max store retries" (integer) which defaults to 5
and sets the upper limit for the number or repeats of the
fetch/store cycle.

Michael
(This used to be commit 2bcc9e6ecef876030e552a607d92597f60203db2)

15 years agodbwrap ctdb: release the lock before calling ctdbd_persistent_store()
Michael Adam [Tue, 5 Aug 2008 16:42:07 +0000 (18:42 +0200)]
dbwrap ctdb: release the lock before calling ctdbd_persistent_store()

in the persistent db_ctdb_store operation.

This is to prevent deadlocks in db_ctdb_persistent_store().

There is a tradeoff: Usually, the record is still locked
after db->store operation. This lock is usually released
via the talloc destructor with the TALLOC_FREE to
the record. So we have two choices:

- Either re-lock the record after the call to persistent_store
  or cancel_persistent update and this way not changing any
  assumptions callers may have about the state, but possibly
  introducing new race conditions.

- Or don't lock the record again but just remove the
  talloc_destructor. This is less racy but assumes that
  the lock is always released via TALLOC_FREE of the record.

I choose the first variant for now since it seems less racy.
We can't guarantee that we succeed in getting the lock
anyways. The only real danger here is that a caller
performs multiple store operations after a fetch_locked()
which is currently not the case.

Michael
(This used to be commit d004c9a7281d2577c3ba2012c8f790cc198ea700)

15 years agodbwrap ctdb: remove erroneously duplicated comment.
Michael Adam [Mon, 4 Aug 2008 15:07:20 +0000 (17:07 +0200)]
dbwrap ctdb: remove erroneously duplicated comment.

Michael
(This used to be commit c939c55e5182258092faceefa58a7f328f18619e)

15 years agopackaging(RHEL-CTDB): Bump release number to ctdb.40 for the next RPM.
Michael Adam [Wed, 30 Jul 2008 13:46:44 +0000 (15:46 +0200)]
packaging(RHEL-CTDB): Bump release number to ctdb.40 for the next RPM.

Michael
(This used to be commit b822bba9b9ae327bc6cee3f412f7e22ce28c1388)

15 years agopackaging(RHEL-CTDB): Bump release number to ctdb.39 for the next RPM.
Michael Adam [Wed, 23 Jul 2008 00:01:51 +0000 (02:01 +0200)]
packaging(RHEL-CTDB): Bump release number to ctdb.39 for the next RPM.

Michael
(This used to be commit 7e73792c738447049b8662617da340a73fae9bf0)

15 years agoUse transaction start/cancel for persistent writes to avoid leaving the database...
Ronnie Sahlberg [Fri, 18 Jul 2008 08:50:16 +0000 (18:50 +1000)]
Use transaction start/cancel for persistent writes to avoid leaving the database in an inconsistent state if we crash during the operation

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
(This used to be commit 09329f1f9114af44fc4e5e4f29a7315912313125)

15 years agopackaging(RHEL-CTDB): bump Release number to ctdb.37 for next rpm.
Michael Adam [Fri, 18 Jul 2008 09:20:38 +0000 (11:20 +0200)]
packaging(RHEL-CTDB): bump Release number to ctdb.37 for next rpm.

Michael
(This used to be commit bd2158fb5f5d5c0c410fe2853f61776787e1461f)

15 years agopackaging(RHEL-CTDB): Bump release number to ctdb.37 for the next RPM.
Michael Adam [Thu, 10 Jul 2008 21:28:07 +0000 (23:28 +0200)]
packaging(RHEL-CTDB): Bump release number to ctdb.37 for the next RPM.

Michael
(This used to be commit e63a1a396c5cee837aed8a54b5c5ea3b2116d755)

15 years agopackaging(RHEL-CTDB): bump Release number to ctdb.36 for next rpm.
Michael Adam [Fri, 4 Jul 2008 13:22:16 +0000 (15:22 +0200)]
packaging(RHEL-CTDB): bump Release number to ctdb.36 for next rpm.

Michael
(This used to be commit d795c2d5dc860fbfa668160054be084fe23aa44a)

15 years agopackaging(RHEL-CTDB): Bump release number to ctdb.35 for the next RPM.
Michael Adam [Fri, 27 Jun 2008 14:54:57 +0000 (16:54 +0200)]
packaging(RHEL-CTDB): Bump release number to ctdb.35 for the next RPM.

Michael
(This used to be commit 3323456e208742e160b9cabb79dc68bfbe8b1970)

15 years agoAdd a gpfs_prefetch module
Volker Lendecke [Mon, 28 Apr 2008 09:44:26 +0000 (11:44 +0200)]
Add a gpfs_prefetch module

This can not go upstream yet because it uses the non-GPL libgpfs. So it will
not be compiled by default and will not be included in the SOFS RPMs. But upon
Sven's request, we include it in the git tree and the source RPMs, so that it
can be built for in-house tests.
(This used to be commit fc9b30bed2d774dca6660b497cb50f982b23b885)

15 years agopackaging(RHEL-CTDB): bump Release number to ctdb.34 for the next RPM.
Michael Adam [Wed, 18 Jun 2008 16:45:01 +0000 (18:45 +0200)]
packaging(RHEL-CTDB): bump Release number to ctdb.34 for the next RPM.

Michael
(This used to be commit 7f3787a79a9949e7e80c9c5e16ec504ad1c4bdb7)

15 years agopackaging(RHEL-CTDB): update the build instructions in the README.
Michael Adam [Tue, 17 Jun 2008 10:44:07 +0000 (12:44 +0200)]
packaging(RHEL-CTDB): update the build instructions in the README.

Michael
(This used to be commit f7706c6437d6500a477cb704cb916f16fdfa1395)

15 years agopackaging(RHEL-CTDB): bump Release to ctdb.33 for the next build
Michael Adam [Tue, 17 Jun 2008 09:36:21 +0000 (11:36 +0200)]
packaging(RHEL-CTDB): bump Release to ctdb.33 for the next build

Michael
(This used to be commit 1fee80b8a643c22d356d0ca8860d5fc9580c8918)

15 years agopackaging(RHEL-CTDB): remove the libnss_wins modules to reduce deps.
Michael Adam [Wed, 28 May 2008 11:25:31 +0000 (13:25 +0200)]
packaging(RHEL-CTDB): remove the libnss_wins modules to reduce deps.

Michael
(This used to be commit 7c3e4a324248d61504c4c77a63d4d31e587802af)

15 years agobump version number to 32
Volker Lendecke [Fri, 13 Jun 2008 12:24:05 +0000 (14:24 +0200)]
bump version number to 32
(This used to be commit 19becb776148b7930a0abaec8038fee1158a66c4)

15 years agoCorrectly return NULL from messaging_ctdbd_connection if messaging_init failed
Volker Lendecke [Fri, 13 Jun 2008 10:01:31 +0000 (12:01 +0200)]
Correctly return NULL from messaging_ctdbd_connection if messaging_init failed
(This used to be commit 549db133df6782bcca7d033e8573e47716877cbd)

15 years agoExit smbstatus cleanly if messaging_init fails
Volker Lendecke [Fri, 13 Jun 2008 10:00:24 +0000 (12:00 +0200)]
Exit smbstatus cleanly if messaging_init fails
(This used to be commit 5fd51833a31b326d83ac2f76d06560920547f657)

15 years agoPackage 32-bit versions of libtalloc into the winbind rpm
Volker Lendecke [Fri, 6 Jun 2008 17:45:26 +0000 (19:45 +0200)]
Package 32-bit versions of libtalloc into the winbind rpm
(This used to be commit e52e2f7f1a09fff8ec37174a9dc98dc9b440ef87)

15 years agoFix README: DOCS_DIR is replaced by DOCS_TARBALL
Volker Lendecke [Fri, 6 Jun 2008 11:50:06 +0000 (13:50 +0200)]
Fix README: DOCS_DIR is replaced by DOCS_TARBALL
(This used to be commit 3d24c5b4602140470c40f002d206212e388ae59b)

15 years agoBump up version number
Volker Lendecke [Fri, 6 Jun 2008 11:49:00 +0000 (13:49 +0200)]
Bump up version number
(This used to be commit ace315c2ffc4e81c87ba1d30c28578719cb1692b)

15 years agopackaging(RHEL-CTDB): use /usr/%{_libarch} instead of %{_libdir}
Michael Adam [Fri, 23 May 2008 16:13:53 +0000 (18:13 +0200)]
packaging(RHEL-CTDB): use /usr/%{_libarch} instead of %{_libdir}

To fix creation of 32bit packges on x86_64

Michael
(This used to be commit ae2a353286a1a02936fb80edd6f899b1941403af)

15 years agopackaging(RHEL-CTDB): remove duplicate block from spec file.
Michael Adam [Fri, 23 May 2008 16:06:53 +0000 (18:06 +0200)]
packaging(RHEL-CTDB): remove duplicate block from spec file.

Michael
(This used to be commit f978df86f9af480de26a6cf67c4f8e60d1e27139)

15 years agopackaging(RHEL-CTDB): fix placement and link direction of new shared libs
Michael Adam [Fri, 23 May 2008 13:12:01 +0000 (15:12 +0200)]
packaging(RHEL-CTDB): fix placement and link direction of new shared libs

libwbclient, libtalloc, libtdb, and libnetapi are now installed
into /usr/lib{,64} by their SONAME. The symlink is made from
the .so files to point to the SONAME files (e.g., libtdb.so.1).

Michael
(This used to be commit d18287b6284597878bc3683f16f001b949857e54)

15 years agopackaging(RHEL-CTDB): bump rpm release to the next version ctdb.29
Michael Adam [Fri, 23 May 2008 12:03:11 +0000 (14:03 +0200)]
packaging(RHEL-CTDB): bump rpm release to the next version ctdb.29

Michael
(This used to be commit 0d64606da69edba20f545789e526a71d01ca40b0)

15 years agopackaging(RHEL-CTDB): add "service winbind condrestart" to "%post common"
Michael Adam [Fri, 23 May 2008 11:44:13 +0000 (13:44 +0200)]
packaging(RHEL-CTDB): add "service winbind condrestart" to "%post common"

Michael
(This used to be commit c0ecb63d9e7b11bb5c31bdf95605d68c02206220)

15 years agopackaging(RHEL-CTDB): use "/sbin/service smb" instead of "%{initdir}/smb"
Michael Adam [Fri, 23 May 2008 10:52:21 +0000 (12:52 +0200)]
packaging(RHEL-CTDB): use "/sbin/service smb" instead of "%{initdir}/smb"

Michael
(This used to be commit 58085063c46f3c55c8aebc83bb79a2dd19f73622)

15 years agopackaging(RHEL-CTDB): ignore errors from init scripts in pre/post scripts.
Michael Adam [Fri, 23 May 2008 10:51:32 +0000 (12:51 +0200)]
packaging(RHEL-CTDB): ignore errors from init scripts in pre/post scripts.

Michael
(This used to be commit 1cd7201e5387ca11e9b735d37b806cb14d4a8dd3)

15 years agopackaging(RHEL-CTDB): in %preun, first stop the service then deactivate
Michael Adam [Fri, 23 May 2008 10:50:14 +0000 (12:50 +0200)]
packaging(RHEL-CTDB): in %preun, first stop the service then deactivate

Michael
(This used to be commit b3e552d795caf6e4ab811368fda4a8a2f2d493a0)

15 years agopackaging(RHEL-CTDB): use condrestart instead of restart in %post script
Michael Adam [Fri, 23 May 2008 10:48:55 +0000 (12:48 +0200)]
packaging(RHEL-CTDB): use condrestart instead of restart in %post script

Michael
(This used to be commit 2ccd9ef741c88772e4b7409506258e85b252c74f)

15 years agopackaging(RHEL-CTDB): move service smb restart from %postun to %post
Michael Adam [Fri, 23 May 2008 10:47:42 +0000 (12:47 +0200)]
packaging(RHEL-CTDB): move service smb restart from %postun to %post

What would be the use of restarting a service that has just
been uninstalled...

Michael
(This used to be commit 98116075589abb7e0c9dc391f6d1bf3452025a1d)

15 years agopackaging(RHEL-CTDB): move "chkconfig --del winbind" to "%preun common"
Michael Adam [Fri, 23 May 2008 10:26:28 +0000 (12:26 +0200)]
packaging(RHEL-CTDB): move "chkconfig --del winbind" to "%preun common"

remains of winbind are being removed from the main package.
also stop the winbind service in the "%preun common" script.

Michael
(This used to be commit 758f1de7750471815a284e9fad927112b59dc085)

15 years agopackaging(RHEL-CTDB): remove winbind init script and its linke from main pkg
Michael Adam [Fri, 23 May 2008 09:58:01 +0000 (11:58 +0200)]
packaging(RHEL-CTDB): remove winbind init script and its linke from main pkg

Winbind along with its libraries and init script is packaged in the
samba-common rpm.

Michael
(This used to be commit 7ebc1ea13fd975126bfc43af48a4384fc9c620e2)

15 years agopackaging: bump the rhel-ctdb rpm releas number to ctbd.28
Michael Adam [Wed, 21 May 2008 09:41:51 +0000 (11:41 +0200)]
packaging: bump the rhel-ctdb rpm releas number to ctbd.28

Michael
(This used to be commit 185e24249d3dea1755558a154aa819db3bb1a605)

15 years agoDo not call testparm in /etc/init.d/smb
Volker Lendecke [Mon, 19 May 2008 14:08:04 +0000 (16:08 +0200)]
Do not call testparm in /etc/init.d/smb

For SOFS, we do know that we have netbios disabled, and testparm in the ctdb
shutdown event locks up due to a locked registry.tdb
(This used to be commit 285d55d2a273f18ec9b84011c74a8099cba193c2)

15 years agokeep compatibility with v3-0-ctdb name for fileid:mapping option
Andrew Tridgell [Mon, 21 Apr 2008 16:40:45 +0000 (18:40 +0200)]
keep compatibility with v3-0-ctdb name for fileid:mapping option
(This used to be commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861)

15 years agoupdate configure.rpm for clustered Samba usage
Andrew Tridgell [Mon, 21 Apr 2008 16:39:56 +0000 (18:39 +0200)]
update configure.rpm for clustered Samba usage
(This used to be commit 87c9f7717fc8171644c244fe697cace2968b8f8a)

15 years agoAdd winbind:online check timeout parameter
Volker Lendecke [Mon, 19 May 2008 16:15:06 +0000 (18:15 +0200)]
Add winbind:online check timeout parameter

This is a band-aid for the rather convoluted offline/online mess in winbind
right now. Winbind re-uses the offline functionality that is targeted at domain
client installations on laptops to not overload disfunctional DCs. It uses the
winbind cache timeout as the retry timeout after a DC reboot.

I am using a parametric options because when this mess is cleaned up, that
parameter needs to go away again.

I'd recommend to use something like

winbind:online check timeout = 30

in typical LAN environments. This means a reconnect is attempted every 30
seconds.

Volker
(This used to be commit 9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6)

15 years agoAttempt to fix bug 5684
Volker Lendecke [Tue, 12 Aug 2008 20:31:52 +0000 (22:31 +0200)]
Attempt to fix bug 5684

With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for
write-enabled transaction. Sadly, this also removed the possibility to ever
remove dead records left over from tdb_delete calls within a transaction.

Tridge, please check this! Did dde9f3f006 have any reason beyond performance
optimizations?

Thanks,

Volker
(This used to be commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)