Michael Adam [Tue, 15 Jul 2008 14:43:26 +0000 (16:43 +0200)]
dbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.
return NULL instead and leave appropriated measures to the caller.
Michael
(cherry picked from commit
1002507b56a13420d8178c5397610edd839a7584)
Michael Adam [Tue, 15 Jul 2008 13:27:46 +0000 (15:27 +0200)]
dbwrap: don't panic in db_open_trans() when attaching to ctdb fails.
Michael
(cherry picked from commit
308fc7d5bf5f5ccfc73677b052a4e6ecede25921)
Michael Adam [Tue, 15 Jul 2008 13:27:14 +0000 (15:27 +0200)]
dbwrap: don't panic in db_open() when attaching to ctdb fails.
Michael
(cherry picked from commit
b9c008d9bd8b8119007e7ad03a40235998af4f5c)
Michael Adam [Wed, 16 Jul 2008 11:14:45 +0000 (13:14 +0200)]
Revert "Do not panic if db_open_ctdb fails"
This reverts commit
677d2cef50f1e74943b34925c14ce42543f278bf.
Re-pick corresponding changes from upstream.
Michael
Michael Adam [Tue, 15 Jul 2008 12:25:00 +0000 (14:25 +0200)]
registry: bump debug level to 1 in regdb_init() if storing version string fails.
Higher level callers should take care of level 0 messages.
Michael
(cherry picked from commit
b5829e04eaf2408858b34f53b849aaf8b969a925)
Michael Adam [Tue, 15 Jul 2008 12:22:55 +0000 (14:22 +0200)]
registry: bump debug level to 1 in regdb_init() if opening the registry fails.
Higher level callers take care of level 0 messages or more drastic measures.
Michael
(cherry picked from commit
111d802b5c0dfdf556f736b6c53df74e077a6238)
Michael Adam [Mon, 14 Jul 2008 08:53:06 +0000 (10:53 +0200)]
dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open_trans.
Michael
(cherry picked from commit
013d29c70438bfd43bd11cbb13ba707b256f9b18)
Michael Adam [Mon, 14 Jul 2008 08:43:28 +0000 (10:43 +0200)]
dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open
Michael
(cherry picked from commit
33188a991f7e2f8dc1b5beed1dde1b7f77403e1a)
Michael Adam [Tue, 15 Jul 2008 09:26:43 +0000 (11:26 +0200)]
testparm: allow the default debug level of 2 to be changed from the command line.
Michael
(cherry picked from commit
5a0883a7f28538fad542293e1d9361e8c4bed1fd)
Michael Adam [Tue, 15 Jul 2008 09:26:11 +0000 (11:26 +0200)]
popt: add a popt_common_debuglevel set of options providing -d|--debuglevel
Michael
(cherry picked from commit
e7d08b673066a63aaa7ab54ac59566ae8a975672)
Michael Adam [Wed, 16 Jul 2008 09:13:16 +0000 (11:13 +0200)]
Merge commit 'origin/v3-2-stable' into v3-2-ctdb
Conflicts:
source/param/loadparm.c
Christoph Zauner [Fri, 11 Jul 2008 13:50:25 +0000 (15:50 +0200)]
man pages: Fix typos and add improvements.
(cherry picked from commit
060ff6d8d4e61f3ce89f980182413852cc5719be)
(cherry picked from commit
dab5cf616ce044040dd598fec3da9d3c97e51f6d)
Karolin Seeger [Wed, 16 Jul 2008 07:48:46 +0000 (09:48 +0200)]
WHATSNEW: Update changes since 3.2.0.
Karolin
(cherry picked from commit
f91f960094b132ae2946f40da4bacd1640c514c0)
Andreas Schneider [Tue, 15 Jul 2008 12:57:32 +0000 (14:57 +0200)]
Release still reachable memory if the smbclient context is freed.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(cherry picked from commit
88c9cf2fdc8f3d704f7f27c25ef6dc6940d451d3)
Jeremy Allison [Tue, 15 Jul 2008 22:27:22 +0000 (15:27 -0700)]
Fix from Volodymyr Khomenko <Volodymyr.Khomenko@exanet.com>. Make ntimes
function more like POSIX and allow NULL arg. Help vfs developers.
Jeremy.
(cherry picked from commit
a034ad5b28dc22b76ef91901306d5c4f9102178f)
Jeremy Allison [Tue, 15 Jul 2008 21:38:19 +0000 (14:38 -0700)]
Fix swat. Bug #5613.
Jeremy
(cherry picked from commit
1036bd6f8adcff316d2d86201b1a7097b4b9fe0c)
Michael Adam [Tue, 15 Jul 2008 11:01:54 +0000 (13:01 +0200)]
testparm: refactor the per-share logic checks out into do_per_share_checks().
Just to enhance clearness of the code.
Michael
(cherry picked from commit
cd5d13dec0153c64d541e85bd13138b738cf50af)
(cherry picked from commit
01b1aff4ac884b91d95d89ac7e53cb0e1a748787)
Michael Adam [Tue, 15 Jul 2008 10:55:57 +0000 (12:55 +0200)]
testparm: skip the per-share logic checks when --skip-logic-checks is specified.
Michael
(cherry picked from commit
6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe)
(cherry picked from commit
3b8524957561911ae7943172fe775200fc98f75a)
Michael Adam [Tue, 15 Jul 2008 10:52:25 +0000 (12:52 +0200)]
testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checks
as suggested by Karolin.
That is what it really means. And per-share logic tests will be
disabled by the same switch, too...
Michael
(cherry picked from commit
5b8a4c33482917a1ef7071df224957ba831d853a)
(cherry picked from commit
04cdfbba747b928c3133e29446c0fe91c39a41f2)
Michael Adam [Mon, 14 Jul 2008 22:27:01 +0000 (00:27 +0200)]
testsuite: fix bug #5594 by using the new --skip-global-ckecks switch
Michael
(cherry picked from commit
32f4b1443af12026c419684be45a7d8b96ccfaac)
(cherry picked from commit
87c4f1fc67df146585a6e0862b701b6e6193f0f0)
Michael Adam [Mon, 14 Jul 2008 22:17:58 +0000 (00:17 +0200)]
testparm: add a switch --skip-global-checks.
This allows for successfully calling testparm without the need
to "make install" before. Without this, testparm fails with
the message that the lock directory does not exist...
Michael
(cherry picked from commit
eeb018fad65c19804a4e96ea949fc2c64883439e)
(cherry picked from commit
1f245e41fa41d2b67eaa7cc85c29da3384697275)
Jeremy Allison [Mon, 14 Jul 2008 19:38:28 +0000 (12:38 -0700)]
Add fix from Simo for bug #5540 - missing code to substitute
%u. Make this the same as other uses.
Jeremy.
(cherry picked from commit
56d8ed48a94b558ad442e38c3d1925c4810dc508)
Michael Adam [Mon, 14 Jul 2008 11:58:24 +0000 (13:58 +0200)]
build: use $(PAM_WINBIND_EXTRA_LIBS) instead of @PAM_WINBIND_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit
9a2870e936a967b82a100b1e26200d3665311f85)
Michael Adam [Mon, 14 Jul 2008 11:57:11 +0000 (13:57 +0200)]
build: use $(WINBIND_NSS_PTHREAD) instead of @WINBIND_NSS_PTHREAD@ in rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit
1aad6661adc5800243969b761c653b57ff280f69)
Michael Adam [Mon, 14 Jul 2008 11:56:09 +0000 (13:56 +0200)]
build: use $(WINBIND_NSS_EXTRA_LIBS) instead of @WINBIND_NSS_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit
7420f409c2fbfd5f90d45a4a435489fe31016581)
Michael Adam [Mon, 14 Jul 2008 11:50:11 +0000 (13:50 +0200)]
build: use $(LDAP_LIBS) instead of @LDAP_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit
a7ee1c16c234ad5d0aa8853081d8f5f4f763614b)
Michael Adam [Mon, 14 Jul 2008 11:47:57 +0000 (13:47 +0200)]
build: use $(LIBNETAPI_LIBS) instead of @LIBNETAPI_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit
22d0f686eb6649b3d4a8c7f142257e303c54568e)
Michael Adam [Mon, 14 Jul 2008 11:44:34 +0000 (13:44 +0200)]
build: link in $(WINBIND_LIBS) instead of @LIBWBCLIENT_SHARED@
This should fix some more picky makes when not building @LIBWBCLINET_SHARED@.
Moreover, we want to link against -lwbclient, not against bin/libwbclient.so,
anyways.
Michael
(cherry picked from commit
a60d295d3ac4a6e7a055927951f7207f09a3df7c)
Michael Adam [Mon, 14 Jul 2008 11:39:32 +0000 (13:39 +0200)]
build: use $(LIBTDB_LIBS) instead of @LIBTDB_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit
0f609e55d8c58285de73fa0955df951042dfd9a0)
Michael Adam [Mon, 14 Jul 2008 11:37:41 +0000 (13:37 +0200)]
build: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit
15dd9f78650b0b853cb6955429ae58656be3945e)
Michael Adam [Mon, 14 Jul 2008 11:35:24 +0000 (13:35 +0200)]
build: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.
Make picky makes happier.
Michael
(cherry picked from commit
2d2b48749e885d2a529dab273c8419c5445568d3)
Michael Adam [Mon, 14 Jul 2008 11:32:19 +0000 (13:32 +0200)]
build: fix build on systems with picky make and without shared libwbclient
This produces empty lines in Makefile rules.
Replacing @WINBIND_LIBS@ by $(WINBIND_LIBS) where
WINBIND_LIBS=@WINBIND_LIBS@ should fix that.
Michael
(cherry picked from commit
fd9b4bcaa5302d3d6245eb7b21ce0ef9994f718d)
Michael Adam [Thu, 10 Jul 2008 21:49:58 +0000 (23:49 +0200)]
docs: fix the specified default of "password server" - it is *, not "".
Michael
(cherry picked from commit
d7f759d302612ef9eb0bba022f3b3e1dd433f843)
(cherry picked from commit
42eec4da853b9d3988fc22494cc3d632d1459732)
Simo Sorce [Sun, 13 Jul 2008 01:28:18 +0000 (21:28 -0400)]
Fix regression introduced with
4086ef15b395f1a536fb669af2103a33ecc14de4
We must not return an error here just because we are offline.
We must instead fix the mappings to the best of our knowledge
(ie mark as mapped, expired ones, and as unmapped, unknown ones)
(cherry picked from commit
c17b125e1fdb9b71877200b2419d7f682bb52e87)
Michael Adam [Fri, 11 Jul 2008 13:35:24 +0000 (15:35 +0200)]
build: fix build of libaddns shared lib : it needs socket_wrapper.
Michael
(cherry picked from commit
58bc04b31b15c36505c5ecb2d8373e9033972390)
(cherry picked from commit
2c097e7f333553ff4a540aef7668de7382723a74)
Michael Adam [Fri, 11 Jul 2008 12:38:22 +0000 (14:38 +0200)]
build: fix build of libaddns shared lib. symbols file was missing.
This symbols file is checked because mksyms script currently does
not support headers without exportet symbols...
Michael
(cherry picked from commit
1fa57b47e8f8da33a5713096c187bafb3a6c5b79)
(cherry picked from commit
8eb7be8d1dbf76f7a0f09e0e0271762902fd7e4b)
Herb Lewis [Fri, 11 Jul 2008 04:05:30 +0000 (21:05 -0700)]
cleanup some dup code by passing the password to the wbinfo_auth*
functions
(cherry picked from commit
710d42d0b7de44fb684edf7412bfb4a48c3daf07)
Zach Loafman [Thu, 10 Jul 2008 18:45:48 +0000 (18:45 +0000)]
Fix realpath() check so that it doesn't generate a core() when it fails.
(cherry picked from commit
5c5e96df3b96bfab93ed0f0b1e5e7f7615cb356e)
Volker Lendecke [Tue, 3 Jun 2008 18:51:42 +0000 (20:51 +0200)]
Always set "registry shares = yes" for "include = registry"
This fixes the case where "include = registry" is set in the smb.conf text file
and *only* shares (no [global] settings) are present in the registry.
Michael, please check!
Thanks,
Volker
(cherry picked from commit
6c80362e291d8c5e748b987a583e8e32acc36354)
(cherry picked from commit
dacd0f90f3706db6ffab0cd7662d22eb40811e05)
Michael Adam [Tue, 27 May 2008 08:59:11 +0000 (10:59 +0200)]
loadparm: fix process_registry_shares() when there is only [global] in registry.
This fixes testparm printing "Error loading services." when there is only
the global section in registry and no other service definition.
Michael
(cherry picked from commit
28d197220038b9a47af177b88a8587f865e45de5)
(cherry picked from commit
efb9a844e74b91d63fda98fa9cc12136bf1f172a)
Michael Adam [Mon, 26 May 2008 09:58:11 +0000 (11:58 +0200)]
loadarm: fix testparm with "config backend = registry".
Set the iServiceIndex to "-1" for starup with either config
backend (originally only for text backend). Otherwise,
process_registry_shares() will fail.
Currently, the only user of lp_load_with_registry_shares() is testparm.
Michael
(cherry picked from commit
5e2b925367241c41793b2eb7a628e9fc9f3ac8ff)
(cherry picked from commit
6fd007905d4ba09309735a14635502008e082cb6)
Michael Adam [Thu, 15 May 2008 00:41:05 +0000 (02:41 +0200)]
testparm: list registry shares with testparm.
I.e., use lp_load_with_registry_shares() instead of lp_load().
Michael
(cherry picked from commit
95339c0c1ecc49049f1fc176f72a1dcac639e06d)
(cherry picked from commit
e1bbcc6c5401c59726ca40dadff5760c2800b5c1)
Michael Adam [Thu, 15 May 2008 00:39:45 +0000 (02:39 +0200)]
loadparm: add funcion lp_load_with_registry_shares().
This is like lp_load(), except that it will load the
registry shares into the services aarray when registry
shares are activated.
Michael
(cherry picked from commit
b387c614ba8d1d3960f6917f03f0fd433cf2b2ee)
(cherry picked from commit
dc04efa42104100e677bccc307726106d8ca4b31)
Michael Adam [Thu, 15 May 2008 00:39:02 +0000 (02:39 +0200)]
loadparm: add call to do_section() to process_registry_service().
Michael
(cherry picked from commit
e1b76cd5d646bb9083cfca0d15a84183cad72882)
(cherry picked from commit
661960e2bd73a6f773531608a635e17be28afeba)
Michael Adam [Thu, 15 May 2008 00:25:34 +0000 (02:25 +0200)]
loadparm: add parameter allow_registry_shares to lp_load_ex().
This allows for registry shares to be activated, i.e. loaded into
the services array at lp_load() time.
Michael
(cherry picked from commit
b3233ecefd5df745ba7e10511f9ab36064036b10)
(cherry picked from commit
02fa674dd62ad400502046fbe9e05a1578b4deab)
Michael Adam [Thu, 15 May 2008 00:15:20 +0000 (02:15 +0200)]
loadparm: add a function process_registry_shares()
This loads the shares defined in registry into the services array.
Michael
(cherry picked from commit
b3a90b72517c2e25d972796908aec4d2b85a030e)
(cherry picked from commit
fc60bc9389e5a0ca278b3622e96aed1626c4882e)
Michael Adam [Thu, 15 May 2008 00:08:14 +0000 (02:08 +0200)]
loadparm: refactor processing of service out of process_registry_globals()
into new function process_registry_service().
Michael
(cherry picked from commit
2986e5174e69527465ae7ef8e108110416752b56)
(cherry picked from commit
e7362a769c4ad7b6715c87dc8ba77ffdd38a4824)
Michael Adam [Wed, 14 May 2008 23:40:11 +0000 (01:40 +0200)]
loadparm: refactor initalization of registry config out into lp_smbconf_ctx().
Michael
(cherry picked from commit
83cd9f74d57c462ad5c8956b3ce3c81bea429b67)
(cherry picked from commit
7f38c280c821cc7950036a709e01383ab94ab55e)
Michael Adam [Thu, 10 Jul 2008 20:49:50 +0000 (22:49 +0200)]
build: fix bug #5608: link creation for libtalloc.so.1 (and friends) on solaris 8
on solaris, ln -s -f does not remove the link if it exists.
Michael
(cherry picked from commit
f4d26db5dfccb962f5ca2cc03e9012a9883e16d8)
Volker Lendecke [Thu, 10 Jul 2008 16:20:30 +0000 (18:20 +0200)]
Fix some uninitialized variable references via ndr_print
(cherry picked from commit
43891c397849ccc9c64e5252b6c0350beb754087)
Volker Lendecke [Thu, 10 Jul 2008 16:12:24 +0000 (18:12 +0200)]
Fix a segfault in base64_encode_data_blob
We did not allocate enough memory for the \0 and a = at the end
(cherry picked from commit
719ec00949094b7d3b01e9ac829183ae08f46417)
Volker Lendecke [Thu, 10 Jul 2008 08:47:46 +0000 (10:47 +0200)]
Give a nice error message if trying to join with a non-privileged user
(cherry picked from commit
088a6f42476782267c50f0a5ea029db0eede6cdd)
Michael Adam [Thu, 10 Jul 2008 12:05:33 +0000 (14:05 +0200)]
docs: fix the net conf section of net(8) to mention "config backend = registry".
Michael
(cherry picked from commit
c2e9d82d9497f0d245a46c5c82ff15306788109e)
(cherry picked from commit
9ab1efbe12e04fca2433217c76d3a16df6e868b0)
Michael Adam [Thu, 10 Jul 2008 11:50:04 +0000 (13:50 +0200)]
docs: fix VERSION section in the net(8) manpage.
It still said for version 3.0 ..
Michael
(cherry picked from commit
93887f2e42bf4e632dab716deda6d2951dbd1f2a)
(cherry picked from commit
9b3ecf75a22aff43a67a62a9dd67397414274d9b)
Michael Adam [Thu, 10 Jul 2008 11:46:25 +0000 (13:46 +0200)]
docs: update the section about net conf in the net(8) manpage.
The description of the "net conf {get,set,del}includes" commands was missing.
Michael
(cherry picked from commit
671988c7b5891deeca23e2305fe101a3be1a44d2)
(cherry picked from commit
baae7347e94b1b849e80d8da323afc179523430a)
Karolin Seeger [Mon, 14 Jul 2008 14:40:36 +0000 (16:40 +0200)]
Fix typo.
retieve -> retrieve
Karolin
(cherry picked from commit
37c64130701ab13b6f34998ac17fec2d128c2e08)
(cherry picked from commit
cacd84b86d14740ebb5e285d5882063aea5cd866)
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
Karolin Seeger [Thu, 10 Jul 2008 09:23:59 +0000 (11:23 +0200)]
man pages: Add missing whitespace.
Karolin
(cherry picked from commit
5ba418d8bd7bd9a678853b23b0928da4f8693bcf)
(cherry picked from commit
5e220de387abc34926fd7a2be03fc4e4f35f0f7f)
Karolin Seeger [Thu, 10 Jul 2008 07:16:32 +0000 (09:16 +0200)]
WHATSNEW: Update changes since 3.2.0.
Karolin
(cherry picked from commit
ae0e3291bc31217767fc2e0a3c5d26f8b4c72dc3)
Volker Lendecke [Fri, 4 Jul 2008 07:28:04 +0000 (09:28 +0200)]
Fix alignment problems on sparc, bug 5512
Patch successfully tested by Christoph Kaegi <kaph@zhaw.ch>, thanks.
(cherry picked from commit
9f8df16f476c49da85000b7365c8a6e33b8b71fc)
Michael Adam [Tue, 8 Jul 2008 22:33:54 +0000 (00:33 +0200)]
testsuite: fix another expr typo in net registry test script.
Michael
(cherry picked from commit
73312e4e21b6d14363bd0987e0c9716c4ec91834)
(cherry picked from commit
01ea8d4f34cfe29dd8a945ebe340a80a4eafb9c7)
Michael Adam [Tue, 8 Jul 2008 22:33:14 +0000 (00:33 +0200)]
testsuite: fix expr typo in net registry testscript.
Michael
(cherry picked from commit
5b6c32160a5d8fafc807fbefb66aa8c98662baae)
(cherry picked from commit
1b293758292a055648403f74d0b565538ad578d2)
Zach Loafman [Tue, 8 Jul 2008 02:30:47 +0000 (19:30 -0700)]
Minor style correction
Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage
so that assignments look like they're going to the same place.
(cherry picked from commit
01d1dddebff7ec9502422667b12f0bac8fa6a780)
Jeremy Allison [Mon, 7 Jul 2008 22:50:39 +0000 (15:50 -0700)]
Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.
Jeremy.
(cherry picked from commit
c1baf310830e7ebff4fe0835812122ec146412da)
Herb Lewis [Mon, 7 Jul 2008 19:44:13 +0000 (12:44 -0700)]
use variables for files used in multiple places
(cherry picked from commit
cee044bc42d955c535dbb6bb372af01089d37756)
Herb Lewis [Mon, 7 Jul 2008 19:32:16 +0000 (12:32 -0700)]
fix comment typo and change some uint32 to uint32_t
(cherry picked from commit
8272dace64f39286e4255e9f5bc8d04fb47f2c51)
Jeremy Allison [Mon, 7 Jul 2008 18:25:57 +0000 (11:25 -0700)]
Allow authentication and memory credential refresh after password change from gdm/xdm. Patch from boyang <boyang@novell.com>.
Jeremy.
(cherry picked from commit
63316efeeb330d2cb7fa0906824c97da2c7b0074)
Michael Adam [Mon, 7 Jul 2008 16:34:13 +0000 (18:34 +0200)]
build: fix creation of libaddns.a - don't link in libtalloc.a
another step towards fixing bug #5590
Michael
(cherry picked from commit
396310775e69baeee06b2e6469854a5ddf759a91)
Michael Adam [Mon, 7 Jul 2008 12:14:35 +0000 (14:14 +0200)]
build: fix creation of libsmbclient.a - don't link in libtalloc.a
Second step in fixing bug #5590.
Michael
(cherry picked from commit
dcf986937ccf5e6947c4214aa0838733ed7f3b9b)
Michael Adam [Mon, 7 Jul 2008 11:52:46 +0000 (13:52 +0200)]
build: fix creation of libsmbsharemodes.a - don't link in libtdb.a.
First step in fixing bug #5590.
Michael
(cherry picked from commit
4fc57a0a90390ede1161fd6f231ea274c9c74b20)
Michael Adam [Wed, 9 Jul 2008 13:07:32 +0000 (15:07 +0200)]
Merge commit 'origin/v3-2-stable' into v3-2-ctdb
Michael Adam [Tue, 8 Jul 2008 22:33:54 +0000 (00:33 +0200)]
testsuite: fix another expr typo in net registry test script.
Michael
(cherry picked from commit
73312e4e21b6d14363bd0987e0c9716c4ec91834)
Michael Adam [Tue, 8 Jul 2008 22:33:14 +0000 (00:33 +0200)]
testsuite: fix expr typo in net registry testscript.
Michael
(cherry picked from commit
5b6c32160a5d8fafc807fbefb66aa8c98662baae)
Michael Adam [Wed, 9 Jul 2008 08:40:39 +0000 (10:40 +0200)]
registry: fix logic in deleting subkeys record in regdb_fetch_keys().
Don't cancel on NT_STATUS_NOT_FOUND error from dbwrap_delete_bystring().
So deletion of an "incomlete" registry key, i.e. one with an entry in
the list of subkeys of its parent key but not a subkey list of its own,
works again.
Michael
(cherry picked from commit
75be2116ac2589aaf69038a4115197f40e4b16a5)
Michael Adam [Wed, 9 Jul 2008 08:39:00 +0000 (10:39 +0200)]
registry: improve logic for deleting value records in regdb_store_keys().
Don't ignore all errors from dbwrap_delete_bystring() but
only NT_STATUS_NOT_FOUND.
Michael
(cherry picked from commit
d7ec9b2d52d1eddd98eba222f723fb6cdff4541f)
Michael Adam [Tue, 8 Jul 2008 15:10:01 +0000 (17:10 +0200)]
registry: fetch regdb_fetch_keys() when a key exists but not its subkey-record.
According to the new policy a key (that is not a base key) exists,
iff it exists in the subkey list of its parent key.
Usually this subkeylist is present, but in a transaction-less
dbwrap backend (ctdb), a failing write can leave an "incomplete"
key without its own subkeylist-record. (Otherwise such an
incomplete key can be generated with e.g. tdbtool.)
For such a key net registry enumerate (e.g.) would fail.
This commit fixes this behaviour of regdb_fetch_keys().
Michael
(cherry picked from commit
f329aaf0452cc9bbad9fb6f67dac00bf8d1ef128)
Karolin Seeger [Sun, 6 Jul 2008 20:26:43 +0000 (22:26 +0200)]
WHATSNEW: Update changes since 3.2.0.
Karolin
(cherry picked from commit
e6ddd28000c92ecd119fdc06197d931394f762cb)
Karolin Seeger [Sun, 6 Jul 2008 20:10:55 +0000 (22:10 +0200)]
VERSION: Raise version number to 3.2.1.
Karolin
(cherry picked from commit
00fc0003f6d163c7a51eda726a7ca542be671718)
Lars Müller [Fri, 4 Jul 2008 12:51:01 +0000 (14:51 +0200)]
Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.h
Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported
by Franz Sirl.
(cherry picked from commit
567c6def08d91716c687ed43de0938e1556f26e2)
Jeremy Allison [Thu, 3 Jul 2008 17:25:26 +0000 (10:25 -0700)]
Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate "acl group control"
parameter and make it only apply to owning group. Also added man page fix.
Jeremy.
(cherry picked from commit
93e91e5364a7f131d988648cf5fe822a9bd68734)
Günther Deschner [Thu, 3 Jul 2008 10:01:36 +0000 (12:01 +0200)]
libnetjoin: fix Bug #5570.
Thanks to Atte Peltomäki.
Guenther
(cherry picked from commit
144d374ad9dd981430a82369ceaa2783e6dae90a)
(cherry picked from commit
3e5bff08dac4faf575a11fe3edb17af08170ed74)
Günther Deschner [Thu, 3 Jul 2008 09:09:32 +0000 (11:09 +0200)]
Fix build warning.
Thanks to Thorkil Olesen.
Guenther
(cherry picked from commit
c18e5983c1e9274131ac7fca7ca5e6739ba2b312)
(cherry picked from commit
b7a53f20494bec008aabd4de4d3a14ece8b9cda1)
Jeremy Allison [Wed, 2 Jul 2008 23:32:02 +0000 (16:32 -0700)]
Remove worrying warning message when safe_strcpy tries to copy a pseaudo interface
name that's too long. Reported by James Kosin <JKosin@intcomgrp.com>.
Jeremy.
(cherry picked from commit
e7c7246300bf060a93c2685ce9496b52f91d0a96)
Jeremy Allison [Wed, 2 Jul 2008 23:11:43 +0000 (16:11 -0700)]
Canonicalize servername in the printer functions to remove leading '\\' characters. Ensure we always return consistent names.
Jeremy.
(cherry picked from commit
d47ab1d07ba043f42a24a17f7644bf672c12791a)
Jeremy Allison [Wed, 2 Jul 2008 18:57:59 +0000 (11:57 -0700)]
Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of strlcat gives error.
Jeremy.
(cherry picked from commit
a93c7a2170124f24aac4063c853475ae3f6b0720)
Jeremy Allison [Wed, 2 Jul 2008 17:51:33 +0000 (10:51 -0700)]
Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.
Reported by hongbing Zhang <hongbing.zhang@gmail.com>.
Jeremy.
(cherry picked from commit
00e48ea5d113a0bde1a2b044d6869174cb536035)
Jeremy Allison [Wed, 2 Jul 2008 01:00:51 +0000 (18:00 -0700)]
MSG_DEBUG now forwarded to all the winbindd children by parent.
smbcontrol winbindd debug level would only set the debug level of the
parent winbindd process and not the child processes. This patch adds
the functionality of broadcasting the debug message to all winbindd
children. Now the debug level message is propagated to all the winbindd
processes that includes parent and children.
From Darshan Purandare <dpurandare@isilon.com> - had to patch separately
due to proto.h not being under git control in 3.2.x.
Jeremy.
(cherry picked from commit
f6d4f487332baf74acec8f50e31bcfea44775570)
Jeremy Allison [Tue, 1 Jul 2008 22:50:27 +0000 (15:50 -0700)]
Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int or
the loop never terminates.
Jeremy.
(cherry picked from commit
0108d32d1d9d7fd975df3ec7d1f1c830f170503f)
Jeremy Allison [Tue, 1 Jul 2008 22:40:07 +0000 (15:40 -0700)]
Two more fixes from Jim Brown <jim.brown@miami.edu> for SGI compiler warnings.
Jeremy.
(cherry picked from commit
8dd833b908cc8d4c0aa34cdece014d0e160aaf9e)
Jeremy Allison [Tue, 1 Jul 2008 22:27:37 +0000 (15:27 -0700)]
Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse searching decrement index,
not increment. Michael please check !
Jeremy.
(cherry picked from commit
042c5008d8411f03980f967edb2f78d1a3262aed)
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
Michael Adam [Fri, 4 Jul 2008 10:19:22 +0000 (12:19 +0200)]
Merge commit 'origin/v3-2-stable' into v3-2-ctdb
Volker Lendecke [Tue, 1 Jul 2008 12:24:47 +0000 (14:24 +0200)]
Attempt to fix the build on Irix CC
(cherry picked from commit
666bf8456ac44cbbbd5524af2bf4fd89e18ddf62)
Karolin Seeger [Tue, 1 Jul 2008 08:38:44 +0000 (10:38 +0200)]
WHATSNEW: Remove reference to 3rd version of Using Samba.
Book is still missing, so I can't ship it.
Karolin
(cherry picked from commit
b124b02afe6a010fd99b29803caaf267d05fab98)
Karolin Seeger [Mon, 30 Jun 2008 19:43:16 +0000 (21:43 +0200)]
WHATSNEW: Update changes since 3.2.0rc2.
Karolin
(cherry picked from commit
c1a708ddba737f9147e4f5f179aca031584d0983)
Jeremy Allison [Mon, 30 Jun 2008 18:23:05 +0000 (11:23 -0700)]
After technical consultation, add Steven Danneman's <steven.danneman@isilon.com> patch to make winbindd enum users and groups async.
We need this for 3.2.0 official.
Jeremy.
(cherry picked from commit
d05451c2c256e04870ebe6467f38585dad72f3a9)
Karolin Seeger [Mon, 30 Jun 2008 18:22:53 +0000 (20:22 +0200)]
WHATSNEW: Fix alphabetical order, update changes.
Karolin
(cherry picked from commit
3d5872c64d5cefc3125702b4c1a3156161abfad2)
Jeremy Allison [Mon, 30 Jun 2008 16:19:16 +0000 (09:19 -0700)]
Fix from Atte Peltomäki - atte.peltomaki@f-secure.com to correctly check
error code in winbindd group expansion.
Jeremy.
(cherry picked from commit
c622c997c513d02f929beaaf8ce2e5aa249fcc47)
Karolin Seeger [Sun, 29 Jun 2008 15:49:59 +0000 (17:49 +0200)]
WHATSNEW: Update changes since 3.2.0rc2.
Karolin
(cherry picked from commit
8e28052cbc923077616f4cbddc81f4f3d4f341ab)
Gerald W. Carter [Sat, 28 Jun 2008 13:35:07 +0000 (09:35 -0400)]
Return NULL in sitename_fetch() if gencache_init() fails. Not false
(cherry picked from commit
9e9bab2dd859c7bb8082b4c932f1a95adf1895c6)
(cherry picked from commit
7a853d265b3701a8a0003c4e3771c4a2fa1c6156)