Volker Lendecke [Fri, 13 Jun 2008 12:24:05 +0000 (14:24 +0200)]
bump version number to 32
Volker Lendecke [Fri, 13 Jun 2008 10:04:48 +0000 (12:04 +0200)]
Merge commit 'origin/v3-2-stable' into v3-2-ctdb
Volker Lendecke [Fri, 13 Jun 2008 10:01:31 +0000 (12:01 +0200)]
Correctly return NULL from messaging_ctdbd_connection if messaging_init failed
Volker Lendecke [Fri, 13 Jun 2008 10:00:24 +0000 (12:00 +0200)]
Exit smbstatus cleanly if messaging_init fails
Volker Lendecke [Fri, 13 Jun 2008 09:58:31 +0000 (11:58 +0200)]
Exit nmbd cleanly if messaging_init() fails
Volker Lendecke [Fri, 13 Jun 2008 09:56:40 +0000 (11:56 +0200)]
Do not segfault if corepath is not set up properly
Volker Lendecke [Fri, 13 Jun 2008 09:55:09 +0000 (11:55 +0200)]
Do not panic if db_open_ctdb fails
Karolin Seeger [Thu, 12 Jun 2008 07:34:15 +0000 (09:34 +0200)]
man pages: Fix indentation in smb.conf section about 'map readonly'.
(cherry picked from commit
0f0d81a89ae2ebae7d031a3a8633c3a924ebcbae)
Christoph Zauner [Wed, 11 Jun 2008 13:15:22 +0000 (15:15 +0200)]
man pages: Added improvements.
(cherry picked from commit
7fecd548af0a21b9644bd70e22a38aaa28777aa0)
Karolin Seeger [Thu, 12 Jun 2008 07:26:32 +0000 (09:26 +0200)]
man pages: Fix typo in smb.conf section about the 'deleteprinter command'.
Karolin
(cherry picked from commit
5fa77c216bc43c3558aff3373f74554efdb9210d)
Christoph Zauner [Wed, 11 Jun 2008 13:17:21 +0000 (15:17 +0200)]
man pages: Fix typos.
(cherry picked from commit
881eaa26e071a7fde9c6fc5eb42ae122d0ddd490)
Christoph Zauner [Wed, 11 Jun 2008 12:49:30 +0000 (14:49 +0200)]
Samba3-HOWTO: Fix typos.
(cherry picked from commit
2391d999eb733bd8d12631478f4318608225cbb6)
Christoph Zauner [Wed, 11 Jun 2008 12:05:47 +0000 (14:05 +0200)]
Volker Lendecke [Thu, 12 Jun 2008 10:35:28 +0000 (12:35 +0200)]
Add -brtl to the AIX linker flags
Thanks to William Jojo
(cherry picked from commit
74b195b54416d9e3eb46079a71eed31a15c7293a)
Volker Lendecke [Thu, 12 Jun 2008 10:36:15 +0000 (12:36 +0200)]
AIX build fixes from William Jojo -- thanks
(cherry picked from commit
cb91a47576e820390bc62195702aaae93a2feba6)
Volker Lendecke [Wed, 11 Jun 2008 16:56:20 +0000 (18:56 +0200)]
Fix max_fd calculation in event_loop_once
For some bugs I really wonder how they can go undetected for so long.
Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.
Volker
(cherry picked from commit
82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
Volker Lendecke [Wed, 11 Jun 2008 16:56:20 +0000 (18:56 +0200)]
Fix max_fd calculation in event_loop_once
For some bugs I really wonder how they can go undetected for so long.
Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.
Volker
(cherry picked from commit
82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
Volker Lendecke [Wed, 11 Jun 2008 16:59:00 +0000 (18:59 +0200)]
Merge commit 'origin/v3-2-stable' into v3-2-ctdb
Günther Deschner [Wed, 11 Jun 2008 07:52:56 +0000 (09:52 +0200)]
pam_winbind: Update cached creds during password change.
Fix is from Bo Yang @ Novell.
Thanks!
(cherry picked from commit
e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)
(cherry picked from commit
49178f979f14ced834dda3104044bb8a84d4ebdb)
Volker Lendecke [Tue, 10 Jun 2008 14:14:30 +0000 (16:14 +0200)]
Correctly find a [u]int32_t replacement
(cherry picked from commit
346375cda557a675f8f882ca2ae8edffec725a72)
Volker Lendecke [Tue, 10 Jun 2008 12:15:01 +0000 (14:15 +0200)]
Fix some scary FC9 warnings
(cherry picked from commit
6b0fed09ea34409d1c61bae9121bdb38d4c68d62)
Karolin Seeger [Tue, 10 Jun 2008 13:30:19 +0000 (15:30 +0200)]
man pages: Don't refer to numbered chapter of the HOWTO collection.
This fixes bug #5527.
Thanks to the Debian package maintainers for reporting!
Karolin
(cherry picked from commit
b6696f4fbfc6aaffceef71c6099b8eaea58c1172)
Karolin Seeger [Tue, 10 Jun 2008 08:54:21 +0000 (10:54 +0200)]
man pages: Fix broken smb.conf section about the 'get quota command'.
This fixes bug #5422.
Thanks to the Debian package maintainers for reporting!
Karolin
(cherry picked from commit
04e2470e2eeef34362f2893ec062ae16f74c28ed)
Karolin Seeger [Tue, 10 Jun 2008 08:17:14 +0000 (10:17 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
eb99ac3618269103b434afaca13295ab5c2cc478)
Jim McDonough [Mon, 9 Jun 2008 15:45:39 +0000 (11:45 -0400)]
Don't reset password last set time just because the expired flag
is set to 0. If the account wasn't expired but autolocked,
using "net user /dom <username> /active:y" would clear this,
incorrectly setting the current time as the new "password last set"
time.
(cherry picked from commit
2089c692cfe5a4f9bbed1e658c6f73c310dbff57)
Karolin Seeger [Mon, 9 Jun 2008 14:53:45 +0000 (16:53 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
1b9894622fccd044647abfe2c13c3018f72a6949)
Volker Lendecke [Mon, 9 Jun 2008 14:07:57 +0000 (16:07 +0200)]
shrink ldbtools
Thanks to Björn Jacke for noticing :-)
(cherry picked from commit
8faee1cee829d749835a66d219170ccfd85151d0)
Karolin Seeger [Mon, 9 Jun 2008 13:05:26 +0000 (15:05 +0200)]
man pages: Fix synonyms.
Karolin
(cherry picked from commit
d1ae27ddbe9c30996d2c593a37e65581c3ff482c)
Karolin Seeger [Mon, 9 Jun 2008 13:03:12 +0000 (15:03 +0200)]
man pages: Remove wrong synonym.
Karolin
(cherry picked from commit
4951bc8ff1da9bfc79b9b403b420f07299266df6)
Karolin Seeger [Mon, 9 Jun 2008 11:42:15 +0000 (13:42 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
ead68586fc1d3d8ac83d069a1355573026397ac6)
Volker Lendecke [Mon, 9 Jun 2008 13:34:51 +0000 (15:34 +0200)]
Fix the compile on NetBSD -- missing prototypes
(cherry picked from commit
11236d266e3703eb3aca4b96e2ed9da76614ec12)
Volker Lendecke [Mon, 9 Jun 2008 13:33:28 +0000 (15:33 +0200)]
Fix the compile on NetBSD -- readlink and read are macros there
(cherry picked from commit
435b80a9a2e9324cc20594d922b3d8d6418c27af)
Karolin Seeger [Mon, 9 Jun 2008 10:22:27 +0000 (12:22 +0200)]
WHATSNEW: Update changes since 3.2.0rc2.
Karolin
(cherry picked from commit
7b2150da84e51426b07e259e51dd4cbc3171ba83)
Stefan Metzmacher [Mon, 9 Jun 2008 08:39:48 +0000 (10:39 +0200)]
libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
This fixes ./autogen.sh with autoconf-2.62
metze
(cherry picked from commit
72bb01dda4d425528e28cd96e249595dc6c1952f)
(cherry picked from commit
85111dc2b60ca38027adf129a074641c752cb104)
(cherry picked from commit
24f0c35571b26187c13af933604fe40afed1da34)
Stefan Metzmacher [Mon, 9 Jun 2008 08:38:09 +0000 (10:38 +0200)]
libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
67e43860b4973a458676b36785570bb4a66e046a)
(cherry picked from commit
d786bfc48e20ed7e695a988da6ed56a573afdadc)
(cherry picked from commit
c402acd63a31bace402b361760a7d73f95db3717)
Stefan Metzmacher [Mon, 9 Jun 2008 08:43:48 +0000 (10:43 +0200)]
configure: we require autoconf 2.54
I've tested with autoconf from 2.53 to 2.62.
metze
(cherry picked from commit
a268a6d251e58c27262e11fcd85b8281dfaddd8b)
(cherry picked from commit
21bbd421d4bd2c16f4d8ab94a6a9e3388be4fb82)
Stefan Metzmacher [Mon, 9 Jun 2008 08:27:12 +0000 (10:27 +0200)]
configure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
89663ab4d10586b96807c56de53fd60d2488093c)
(cherry picked from commit
74c644a2bed45d48215914da8002913254a7f54c)
Stefan Metzmacher [Mon, 9 Jun 2008 08:23:27 +0000 (10:23 +0200)]
configure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
426b1e36e262ae47ea62e36e1df8a76c930394bc)
(cherry picked from commit
84a8a7d9e028aa223617a8cb7aa31d5fabd7636e)
Stefan Metzmacher [Mon, 9 Jun 2008 08:19:21 +0000 (10:19 +0200)]
configure: fix warnings with autoconf-2.62 rename smb_krb5_ => smb_krb5_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
38a03d61ecd35a70905b895b839a994e974cbaf1)
(cherry picked from commit
a7a8abdbac00693a0437d3b3cb1e4e9784a03e51)
Karolin Seeger [Mon, 9 Jun 2008 08:55:16 +0000 (10:55 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
3b8c9ae9826705edd7a3852a9c0ffd0e632094c4)
Günther Deschner [Thu, 5 Jun 2008 17:04:31 +0000 (19:04 +0200)]
netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.
Now that libnetjoin reloads configuration after joining, we can rely on the
NetGetJoinInformation() output and use it for displaying the new domain name and
type.
Guenther
(cherry picked from commit
cc1b8de2632e87002cac86838f2a77ab9771ce2c)
Günther Deschner [Thu, 5 Jun 2008 17:02:09 +0000 (19:02 +0200)]
netdomjoin-gui: fix more gtk runtime warnings.
Guenther
(cherry picked from commit
521ea68719524eeef827875e018bb8cba2a92e87)
Günther Deschner [Wed, 4 Jun 2008 23:11:23 +0000 (01:11 +0200)]
netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
(cherry picked from commit
8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84)
Günther Deschner [Tue, 3 Jun 2008 13:19:46 +0000 (15:19 +0200)]
netdomjoin-gui: some minor fixes + hunting down typecast bugs.
Guenther
(cherry picked from commit
0fa6c8c6a3efd026154e8af54ba73b3d3de1affa)
Jeremy Allison [Sun, 8 Jun 2008 21:19:16 +0000 (14:19 -0700)]
Bugfix noticed by Herb. On using the again: tag as a
goto target we were not reinitializing the array counts.
From Herb:
This is in the file nsswitch/winbindd_cm.c (samba-3.0.30) line 1236
We have a label again: where we keep trying to find the name of the DC
from the list of IPs returned by get_dcs. If we fail to figure out the
name we do a goto again at the end of the function. The problem is we
don't reset the num_dcs, num_addrs, etc and free the memory in the
various arrays. This seems wrong to me. I have a winbindd core where
I have 9 IPs returned for the DCs but at the time of the crash num_dcs
is 87 and if I look through the array dcs it keeps repeating entries
from the same group of 9
Jerry, Volker and Guenther please check.
Jeremy.
(cherry picked from commit
0b2062a499c69c86cc03130542aaf3e92265b65d)
Günther Deschner [Fri, 6 Jun 2008 13:59:52 +0000 (15:59 +0200)]
pam_winbind: fix pam_sm_chauthtok for storing modified cached creds.
Thanks to Bo Yang for pointing this out.
Guenther
(cherry picked from commit
516a067016955938988ab37c777102a14b41e100)
Günther Deschner [Thu, 5 Jun 2008 17:00:05 +0000 (19:00 +0200)]
libnetjoin: add libnet_join_rollback().
This is required now if the join verify failed and we already
modified the local configuration.
Guenther
(cherry picked from commit
2870fe50af5163e30330f5a3ef21d0b7eea85ee5)
Günther Deschner [Thu, 5 Jun 2008 16:58:27 +0000 (18:58 +0200)]
libnetjoin: First store configuration and then verify the join.
Jerry, this fixes the issues while joining with "config backend = registry".
Guenther
(cherry picked from commit
b3d47f099286778252c6df6bf2c1fee0c4e26560)
Gerald W. Carter [Fri, 23 May 2008 20:19:58 +0000 (15:19 -0500)]
Manually port Steven Dannenman fix for using the correct machine domain when
looking up trust credentials in our tdb.
commit
fd0ae47046d37ec8297396a2733209c4d999ea91
Author: Steven Danneman <sdanneman@isilon.com>
Date: Thu May 8 13:34:49 2008 -0700
Use machine account and machine password from our domain when
contacting trusted domains.
(cherry picked from commit
69b37ae60757075a0712149c5f97f17ee22c2e41)
(cherry picked from commit
8a64988fc45aff15359caf16f28ff1712bbe6d5f)
Gerald W. Carter [Fri, 23 May 2008 21:01:45 +0000 (16:01 -0500)]
Manually merge Steven Danneman's patch for SPNEGO auth to a trusted
Win2008 domain (merged from v3-0-test).
commit
8dc4e979776aae0ecaa74b51dc1eac78a7631405
Author: Steven Danneman <sdanneman@isilon.com>
Date: Wed May 7 13:34:26 2008 -0700
spnego SPN fix when contacting trusted domains
cli_session_setup_spnego() was not taking into consideration the situation
where we're connecting to a trusted domain, specifically one (like W2K8)
which doesn't return a SPN in the NegTokenInit.
This caused two problems:
1) When guessing the SPN using kerberos_get_default_realm_from_ccache() we
were always using our default realm, not the realm of the domain we're
connecting to.
2) When falling back on NTLMSSP for authentication we were passing the name
of the domain we're connecting to for use in our credentials when we should be
passing our own workgroup name.
The fix for both was to split the single "domain" parameter into
"user_domain" and "dest_realm" parameters. We use the "user_domain"
parameter to pass into the NTLM call, and we used "dest_realm" to create an SPN
if none was returned in the NegTokenInit2 packet. If no "dest_realm" is
provided we assume we're connecting to our own domain and use the credentials
cache to build the SPN.
Since we have a reasonable guess at the SPN, I removed the check that defaults
us directly to NTLM when negHint is empty.
(cherry picked from
b78b14c88e8354aadf9ba7644bdb1c29245fe419)
(cherry picked from commit
f1e6b40bbc8ce249e2f2a85a1d57ed6b8141e3bb)
Karolin Seeger [Mon, 9 Jun 2008 06:56:11 +0000 (08:56 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
8d4ce48377df7be336d520de9b108f45489c9766)
Karolin Seeger [Mon, 9 Jun 2008 06:47:17 +0000 (08:47 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
79db2228f74e5362736063b7e0793b37516d46c1)
Karolin Seeger [Mon, 9 Jun 2008 06:39:12 +0000 (08:39 +0200)]
Revert "build: add symbol versioning when we build with gnu ld"
This reverts commit
cb5492978b6b157f529806afb2f5fc6202888129.
For more information, please have a look at the discussion on
samba-technical starting with [1].
[1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html
Karolin
(cherry picked from commit
1e5aeb96f92fef8056ec9010e125f4d0d31dd90e)
Volker Lendecke [Sat, 7 Jun 2008 06:48:13 +0000 (08:48 +0200)]
Fix a memleak in fetch_ldap_pw
Fix Coverity ID 572, also fix the error check for secrets_fetch failing
(cherry picked from commit
2663c81a782fd4394a9feaaaa987c7f6d38ca5da)
(cherry picked from commit
56447baf3bca6cc7110420d84188291f6c785daf)
Volker Lendecke [Sat, 7 Jun 2008 06:50:02 +0000 (08:50 +0200)]
Fix a memleak in secrets_fetch_trust_account_password_legacy
Coverity ID 571
(cherry picked from commit
a551773e34af1c118f77784a285e1b885da8655d)
(cherry picked from commit
682ec284b189e12de4fff9f000b12960a69d90cb)
Volker Lendecke [Sat, 7 Jun 2008 06:51:35 +0000 (08:51 +0200)]
Fix a memleak in secrets_fetch_afs_key
Coverity ID 570
(cherry picked from commit
0f52dc3f7eae7e87b8a71bd099b99b0b3e76a387)
(cherry picked from commit
fb708dafb052dae7733657487ac73a533750f6f9)
Volker Lendecke [Sat, 7 Jun 2008 07:04:03 +0000 (09:04 +0200)]
Add STREAMINFO op to vfs_full_audit
Fix Coverity ID 552 and 553
(cherry picked from commit
c46e10d2605b22d31675976e62e5ae61d73c8a0a)
(cherry picked from commit
20aa14480e9ae6cea663c67fe9e2d1d3b6fafa7d)
root [Fri, 6 Jun 2008 17:45:26 +0000 (19:45 +0200)]
Package 32-bit versions of libtalloc into the winbind rpm
root [Fri, 6 Jun 2008 11:50:06 +0000 (13:50 +0200)]
Fix README: DOCS_DIR is replaced by DOCS_TARBALL
root [Fri, 6 Jun 2008 11:49:10 +0000 (13:49 +0200)]
Dont core dump if ctdb is not running
root [Fri, 6 Jun 2008 11:49:00 +0000 (13:49 +0200)]
Bump up version number
Günther Deschner [Thu, 5 Jun 2008 16:54:14 +0000 (18:54 +0200)]
mailslot: always pull a command 25 type reply.
Guenther
(cherry picked from commit
1ce726b951621cb4b34069c31d1318fc04ad2389)
(cherry picked from commit
80c7fbb4edb29b3c670c21baa5f613b942e68e1e)
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
Karolin Seeger [Thu, 5 Jun 2008 13:18:41 +0000 (15:18 +0200)]
Samba3-HOWTO: Add improvements/fixes.
These improvements/fixes were reported by
Pete Boyd <petes-bugs@thegoldenear.org> in bug #4203.
Karolin
(cherry picked from commit
497196e713b05901f02a46755bce6a63734dcf4c)
Volker Lendecke [Thu, 5 Jun 2008 13:25:43 +0000 (15:25 +0200)]
Merge commit 'origin/v3-2-stable' into v3-2-ctdb
Volker Lendecke [Thu, 5 Jun 2008 08:38:58 +0000 (10:38 +0200)]
Fix a memleak caused by a crappy get_sorted_dc_list() API
(cherry picked from commit
ba10b9c077272c521504b3a638bba73446efc61c)
Volker Lendecke [Thu, 5 Jun 2008 08:25:02 +0000 (10:25 +0200)]
Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
This is really not a proper place to fix this, but as get_gc_list() and friends
are about to be replaced anyway, just work around the broken existing API
(cherry picked from commit
6bcfa82ff15531c64e0db27dcc58e5847c513aa6)
Günther Deschner [Tue, 3 Jun 2008 18:41:55 +0000 (20:41 +0200)]
build: fix build warning.
Guenther
(cherry picked from commit
62fcad0c0548ab53e9c20cfd6301972c68172b95)
(cherry picked from commit
69e93e2b88c880f770b416b6f5645b8d4c8bf5d8)
Günther Deschner [Wed, 4 Jun 2008 16:05:15 +0000 (18:05 +0200)]
libnetjoin: correctly copy returned lsa policy sid.
Guenther
(cherry picked from commit
12d333fd90450fdd3fa8029502509d872cf5cae0)
Günther Deschner [Wed, 4 Jun 2008 00:43:41 +0000 (02:43 +0200)]
libnetjoin: only close existing policy handles while unjoining.
Guenther
(cherry picked from commit
1c901c82235a4d6bb4750151caebda0554245f05)
Günther Deschner [Tue, 3 Jun 2008 23:32:15 +0000 (01:32 +0200)]
libnetjoin: delete possible "realm" leftover parameter.
Guenther
(cherry picked from commit
d7ba98cc3f2d037ec01e079220a66da508b104b0)
(cherry picked from commit
62a2c988f37354e323e1dd8065b4a93edb169ac1)
Jeremy Allison [Tue, 27 May 2008 18:23:59 +0000 (11:23 -0700)]
Allow server manager to close open files selected by id.
Jeremy.
(cherry picked from commit
4b312d4e6fdd30ea754cf499fbe86ce932d1d9d2)
Karolin Seeger [Thu, 5 Jun 2008 07:16:15 +0000 (09:16 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
415d2cde61607eab1495cdcc48ccede1ff9900d5)
Jeremy Allison [Sat, 31 May 2008 06:50:17 +0000 (23:50 -0700)]
Split the winbindd_passdb backend into a 'builtin' and a 'sam'
backend. This allows winbindd when running on a Samba PDC to
correctly answer wbinfo -u lists and other queries.
Jeremy.
(cherry picked from commit
ce45c773543c6687669fb6a9dd062a6a7e45b409)
Karolin Seeger [Wed, 4 Jun 2008 11:24:00 +0000 (13:24 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
f2befbeb35a002877db853b6cd72a04ac8f5e8ad)
Karolin Seeger [Tue, 3 Jun 2008 14:44:59 +0000 (16:44 +0200)]
man pages: Add documentation for new parameter 'ldap connection timeout'.
Karolin
(cherry picked from commit
f7bfa1330cef34b1bbe7969bddbce2ff895321ed)
Björn Jacke [Mon, 26 May 2008 09:29:24 +0000 (11:29 +0200)]
Add ldap connection timeout for OpenLDAP and Netscape LDAP libs. This can be controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544
(cherry picked from commit
8e59a2fedc940b081222b0e8f90fe0c5a0981c06)
Karolin Seeger [Tue, 3 Jun 2008 14:25:17 +0000 (16:25 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
1f7296350212a65500885c7d21cb586026713f61)
Andreas Schneider [Tue, 3 Jun 2008 13:26:42 +0000 (15:26 +0200)]
Fix empty input fields in SWAT; [#5515].
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
e1579c90fb27c07f95889dd8778daeef53e2ac16)
(cherry picked from commit
f29f96fe76a139291cbc6e2dee1bca160ea3460a)
Andreas Schneider [Tue, 3 Jun 2008 13:05:50 +0000 (15:05 +0200)]
Fix saving of the config file in SWAT; [#5516].
The strlen of the source string passed to convert_string_allocate was too
short :)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
ac3597ef8b7781499ab55f1039670ec82202e32c)
(cherry picked from commit
cd7e6b0a0de376c94f9c97247db65a959031a21a)
Karolin Seeger [Tue, 3 Jun 2008 07:09:39 +0000 (09:09 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
e7b0d54fa0c26117047c23b2a295edfbad3c19d9)
Jeremy Allison [Mon, 2 Jun 2008 22:26:37 +0000 (15:26 -0700)]
Fix by Bo Yang <boyang@novell.com> for bug with winbindd trusted domain child
not keeping primary domain online status up to date.
Jeremy.
(cherry picked from commit
d634d78cdfbfa9e27cf9cb5ada3c5220be257a7f)
Jeremy Allison [Tue, 3 Jun 2008 01:37:16 +0000 (18:37 -0700)]
Fix bug reported by David Eisner <deisner@gmail.com>. When allocating cli
buffers for large read/write - make sure we take account of the large
read/write SMB headers as well as the buffer space.
Jeremy.
(cherry picked from commit
220bb029a9f32a011c59013076eaeb3a86dc8843)
Volker Lendecke [Mon, 2 Jun 2008 08:42:27 +0000 (10:42 +0200)]
Fix location of smbldap-tools
Thanks to Miguel Medalha <miguelmedalha@sapo.pt> for pointing this out
(cherry picked from commit
e2f1a43a3a331057c51256aa8956574c028d376f)
Karolin Seeger [Sat, 31 May 2008 12:50:29 +0000 (14:50 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
87a3d59dfcb8e6ae7349de55bb9532e9ae1851a5)
Jeremy Allison [Fri, 30 May 2008 17:06:21 +0000 (10:06 -0700)]
From Michael R Sweet <mike@easysw.com>.
All,
Noticed that smbspool.c still has my Easy Software Products copyright
on it. The following patch fixes it to match the other code I've
contributed over the years...
Jeremy.
(cherry picked from commit
d5ee3b19ebc7b19d7e02f3fb849dcec20fca476f)
Jeremy Allison [Tue, 27 May 2008 20:54:15 +0000 (13:54 -0700)]
A few cleanups from Chere Zhou <chere.zhou@isilon.com>.
Jeremy.
(cherry picked from commit
de3b9e3ed2bfd32dc0d0e45ad8fd775ebd9004fa)
Jeremy Allison [Tue, 27 May 2008 19:27:52 +0000 (12:27 -0700)]
Memory leak fixes from Chere Zhou <czhou@isilon.com>.
Jeremy.
(cherry picked from commit
a48df9ce84d7b365465e70d8ec27d9b5fcf59b45)
Jeremy Allison [Sat, 31 May 2008 00:49:33 +0000 (17:49 -0700)]
Fix bug #5504. winbindd children and parent were handing SIGTERM in the same way - deleting the socket!
Jeremy.
(cherry picked from commit
fb3e5a14dabeb36b55c31ab3b6c502de1e0d1fe0)
Jeremy Allison [Sat, 31 May 2008 00:52:05 +0000 (17:52 -0700)]
Fix valgrind bug in debug statement. Don't reference uninitialized memory.
Jeremy.
(cherry picked from commit
0aded23c4f6fc726896f5b5955e913ca559e7713)
Chere Zhou [Fri, 30 May 2008 20:16:51 +0000 (13:16 -0700)]
minor memory leak fix
(cherry picked from commit
e7a295fa27f4bc7c0661873ef0d9661cfa9b14d0)
Jeremy Allison [Thu, 29 May 2008 17:37:52 +0000 (10:37 -0700)]
Fix winbindd on a PDC by reverting :
83b04c60fac76ccd2d5aecb14f8896a07d488b1f..
6e66512d5beb256a44c6703cdb8c7fa7e0fd8537.
We still need to address https://bugzilla.redhat.com/show_bug.cgi?id=429024, but this
will come later.
Jeremy.
(cherry picked from commit
8bfedcdfd2cf6bd98a9b2040242e7cc9f31294ab)
Karolin Seeger [Fri, 30 May 2008 15:15:56 +0000 (17:15 +0200)]
VERSION: Raise version number to 3.2.0rc2.
Karolin
(cherry picked from commit
7c01c4032ead1940ab36bb85547da291705944ff)
Karolin Seeger [Fri, 30 May 2008 15:22:46 +0000 (17:22 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
9589b99ee38c6c996e7c139e528f006a33652d49)
Jeremy Allison [Wed, 28 May 2008 16:21:27 +0000 (09:21 -0700)]
Security fix for CVE-2008-1105: Boundary failure when parsing SMB responses
can result in a buffer overrun.
Jeremy.
(cherry picked from commit
353d9cb0fdd941781698c6b334db5f2997eef991)
Volker Lendecke [Fri, 30 May 2008 09:46:34 +0000 (11:46 +0200)]
Fix security=server, bug 5502
This has brown paper bag quality and is definitely needed for 3.2.0.
Thanks to Orion Poplawski for reporting this!
Volker
(cherry picked from commit
779a3af0cd3ecbf82e3de16a4e0aec046c19d869)
Marc VanHeyningen [Thu, 29 May 2008 17:00:46 +0000 (10:00 -0700)]
Tiny memory leak
(cherry picked from commit
8fce305e47aefdcad8e20d51851d8a3734508f00)
Günther Deschner [Wed, 28 May 2008 11:20:16 +0000 (13:20 +0200)]
Fix Bug #5285. (libcap header mismatch)
Can someone with gpfs available test this ? The only codepath using this
function is the modules/gpfs.c module. The fix resolves at least the build
issues Samba has with recent kernel / libcap versions by using the portable
cap_get_proc()/cap_set_proc() interface (instead of using capget/capset).
Guenther
(cherry picked from commit
177955141247a4eb56ba0d82dc1add7f52175c40)
Jeremy Allison [Tue, 27 May 2008 04:17:28 +0000 (21:17 -0700)]
Re-enable the evil "aio write behind" parameter.
Jeremy.
(cherry picked from commit
79bda4467f399325773211bb4b660363024c66b4)
Günther Deschner [Tue, 27 May 2008 09:40:50 +0000 (11:40 +0200)]
dsgetdcname: use family (instead of sa_family).
Guenther
(cherry picked from commit
355fb81e9e42e507717f33a11793258db9169199)
(cherry picked from commit
bcf721770d2a76df85737596d6b73e9e6d982c32)