[SCM] SAMBA-CTDB repository - branch v3-4-ctdb updated - 70a9cb880d9c09098930c38dc5482ca874f8cadd

Michael Adam obnox at samba.org
Mon Jun 29 08:45:44 GMT 2009


The branch, v3-4-ctdb has been updated
  discards  10090001ddf672c02d1c7d8221dc3e9ad3795e42 (commit)
  discards  543bfdcff9759903c4ba476c51f8e7088012894f (commit)
  discards  ff01e8b473599f886e5f1a57bfd569aba9b627f9 (commit)
  discards  c8a03b0043794e57d80caf460d570bb3e3c040bf (commit)
  discards  9b572412f709a0d755e8846ad6f1610387814c16 (commit)
  discards  6a0d05e342ad7a5bc4346db24a32185ed7c135b3 (commit)
  discards  7a3881bd915979b347b19871cd0f0bd771bb530b (commit)
  discards  29c589359b49c1465d5fb062d550c8422d2df3d1 (commit)
  discards  061dd90fc54daeaed758b47e3aa413a8362c9a08 (commit)
  discards  e780063d072342cc5c57a7adc6c8ea2cd8084775 (commit)
  discards  65f92495d27591ce7ed6e8f955484a0c71b0dd37 (commit)
  discards  3df65b93aa7c0fecebd197b5e335f384c9942c8f (commit)
  discards  7a1b9fae0108ebaa05e40b44d9dd32d89f346cdf (commit)
  discards  d281d5fdf30cdf9a08c8b53c60405b1d10ff8314 (commit)
  discards  25038a982bc47845ce05600f62399896e2e78cac (commit)
  discards  42a7c48712b418acdc030d141a37d10a02c37223 (commit)
       via  70a9cb880d9c09098930c38dc5482ca874f8cadd (commit)
       via  1541cf150cc83a01b8ef4545dcbf64c2aa2125bf (commit)
       via  c8d0d9f34ef2abc7a7859e8561a98fa8a189156a (commit)
       via  97948d23485945178690aa24c64e485526b9854c (commit)
       via  46d551cae9082b5e30e07ff59ef30eaa9ce27089 (commit)
       via  add9726635e2282fe1105e437f0906ad1f728fbe (commit)
       via  3c4f2979a8e4b752a014ebd3bf75a3bd6c01accf (commit)
       via  c3a5566525721ee8fd7c6e76c667cf7da2922554 (commit)
       via  2e26d3c5e7d8d8f4db59eb269761d144954b1c1b (commit)
       via  142b0a89c98a9af7150a108a8dd9d8563575c055 (commit)
       via  70c1cf01a09de16e9e332dcf743fb9cd5d2344f3 (commit)
       via  1e58e3b6cde91ca4eff0e9cab5bb3945ae9bd3cb (commit)
       via  132c3dedf98118dc10bc77f188afb5ee0969f0ee (commit)
       via  2072a0e67696b93ac53d5bb6116adaf6f6caa5c5 (commit)
       via  cfd68c05eb9ac87c205957404401dcb809bc0892 (commit)
       via  ca48ecde915a53e41156044695bf6152a953c63a (commit)
       via  2fdd917894c3571a101ac6f9cafd63585bcb8d52 (commit)
       via  de4c8478e5f6de8c9207f15287b52cb383a903bf (commit)
       via  bb59901d6e4f7c03b815ac6afd297b4230031330 (commit)
       via  228d43ce016e56396f83ed4fb77b246c539bba79 (commit)
       via  ed9d22f23789aa0b3c3c69aabcd398d52c95de5b (commit)
       via  410fa8258169bc9b4a61164cd893746d3e6abfae (commit)
       via  35c8019db31ccb673498b32134944d8acac6ffa9 (commit)
      from  10090001ddf672c02d1c7d8221dc3e9ad3795e42 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-4-ctdb


- Log -----------------------------------------------------------------
commit 70a9cb880d9c09098930c38dc5482ca874f8cadd
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 23 23:09:09 2009 +0200

    packaging(RHEL-CTDB):makerpms.sh: replace source/ by source3/
    
    Michael

commit 1541cf150cc83a01b8ef4545dcbf64c2aa2125bf
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 23 23:06:40 2009 +0200

    packaging(RHEL-CTDB):makespec.sh: fix detection of version
    
    Michael

commit c8d0d9f34ef2abc7a7859e8561a98fa8a189156a
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 23 22:41:51 2009 +0200

    packaging(RHEL-CTDB): makeversion.sh: v3-4-test uses source3 instead of source
    
    Michael

commit 97948d23485945178690aa24c64e485526b9854c
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 23 16:41:38 2009 +0200

    adapt VERSION to be 3.4.0rc1-ctdb-1
    
    following the versioning scheme of the v3-2-ctdb branch
    
    Michael

commit 46d551cae9082b5e30e07ff59ef30eaa9ce27089
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 21 09:49:12 2009 +0100

    packaging(RHEL-CTDB): makerpms.sh: build winbind-32bit libs in the 64bit build
    
    Michael
    (cherry picked from commit a9a506b6640986548e2ae8540b7ae93960d6ece5)

commit add9726635e2282fe1105e437f0906ad1f728fbe
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jan 20 19:47:28 2009 +0100

    packaging(RHEL-CTDB): Build winbind-32bit package in the 64bit build
    
    Michael
    (cherry picked from commit f5cd88a25f360e6609dc5abe24247fab78af6854)

commit 3c4f2979a8e4b752a014ebd3bf75a3bd6c01accf
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 21 11:03:34 2009 +0100

    packaging(RHEL-CTDB): extend makespec.sh to extract VENDOR_PATCH from version.h
    
    Michael
    (cherry picked from commit fc122aa276bce379b492e5bdf52ab3e03bc3737f)

commit c3a5566525721ee8fd7c6e76c667cf7da2922554
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 21 10:24:31 2009 +0100

    packaging(RHEL-CTDB): The former release number has basically moved into VERSION
    
    Michael

commit 2e26d3c5e7d8d8f4db59eb269761d144954b1c1b
Author: Volker Lendecke <vl at samba.org>
Date:   Thu May 14 15:34:42 2009 +0200

    Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT
    
    This patch introduces
    
    struct stat_ex {
            dev_t           st_ex_dev;
            ino_t           st_ex_ino;
            mode_t          st_ex_mode;
            nlink_t         st_ex_nlink;
            uid_t           st_ex_uid;
            gid_t           st_ex_gid;
            dev_t           st_ex_rdev;
            off_t           st_ex_size;
            struct timespec st_ex_atime;
            struct timespec st_ex_mtime;
            struct timespec st_ex_ctime;
            struct timespec st_ex_btime; /* birthtime */
            blksize_t       st_ex_blksize;
            blkcnt_t        st_ex_blocks;
    };
    typedef struct stat_ex SMB_STRUCT_STAT;
    
    It is really large because due to the friendly libc headers playing macro
    tricks with fields like st_ino, so I renamed them to st_ex_xxx.
    
    Why this change? To support birthtime, we already have quite a few #ifdef's at
    places where it does not really belong. With a stat struct that we control, we
    can consolidate the nanosecond timestamps and the birthtime deep in the VFS
    stat calls.
    
    At this moment it is triggered by a request to support the birthtime field for
    GPFS. GPFS does not extend the system level struct stat, but instead has a
    separate call that gets us the additional information beyond posix. Without
    being able to do that within the VFS stat calls, that support would have to be
    scattered around the main smbd code.
    
    It will very likely break all the onefs modules, but I think the changes will
    be reasonably easy to do.

commit 142b0a89c98a9af7150a108a8dd9d8563575c055
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 28 13:34:34 2009 +0100

    vfs_gpfs_prefetch: correctly return -1 on error condition in smbd_gpfs_fcntl()
    
    Michael

commit 70c1cf01a09de16e9e332dcf743fb9cd5d2344f3
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Apr 28 11:44:26 2008 +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.

commit 1e58e3b6cde91ca4eff0e9cab5bb3945ae9bd3cb
Author: Volker Lendecke <vl at samba.org>
Date:   Fri May 29 00:20:10 2009 +0200

    Support getting gpfs birthtime

commit 132c3dedf98118dc10bc77f188afb5ee0969f0ee
Author: Mathias Dietz <mdietz at de.ibm.com>
Date:   Wed May 27 12:03:12 2009 +0200

    Store winattrs in GPFS
    
    1. Store win attributes in gpfs instead of posix bits.
        2. use of path based winattr calls of gpfs.
    
        Signed-off-by: Mathias Dietz <mdietz at de.ibm.com>

commit 2072a0e67696b93ac53d5bb6116adaf6f6caa5c5
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Dec 15 00:16:56 2008 +0100

    Add the "net groupfilter" command
    
    This is the start of a bad hack for even worse systems: Many Unix systems still
    have the NGROUPS problem: A user can not be member of more than a very limited
    number of groups. Solaris for example limits this to 16 by default. Many
    Windows environments have a *LOT* more groups per user, some even go to
    hundreds. Whether that is efficient is debatable, but it's there.
    
    This patch implements the
    
    "net groupfilter"
    
    command with the "addsid", "delsid" and "list" subcommands. If any SIDs are
    present according to "net groupfilter list" (they are stored in secrets.tdb),
    then only the SIDs in that list are converted to GIDs for a user at login time.
    
    This gives the Administrator the possibility to define a set of groups that are
    used on the Unix box, making sure that no user is in more than NGROUPS of those
    at a time.
    
    This patch is incomplete in the sense that winbind is not aware of this, only
    smbd. So it is kind of an emergency hack for smbd-only machines.
    
    Volker
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit cfd68c05eb9ac87c205957404401dcb809bc0892
Author: Andrew Tridgell <tridge at samba.org>
Date:   Mon Apr 21 18:41:32 2008 +0200

    apply patch from v3-0-ctdb to special case root in libnss_winbind
    
    This is needed to ensure the administrator can login to a node even
    when ctdbd and winbindd are stuck

commit ca48ecde915a53e41156044695bf6152a953c63a
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 16 16:03:41 2009 +0200

    add README.v3-4-ctdb
    
    Michael

commit 2fdd917894c3571a101ac6f9cafd63585bcb8d52
Author: Karolin Seeger <kseeger at samba.org>
Date:   Sat Jun 27 11:47:06 2009 +0200

    WHATSNEW: Update changes.
    
    Karolin

commit de4c8478e5f6de8c9207f15287b52cb383a903bf
Author: Bo Yang <boyang at samba.org>
Date:   Fri May 29 16:10:19 2009 +0800

    s3: fix building of pam_smbpass.
    
    Signed-off-by: Bo Yang <boyang at samba.org>
    Signed-off-by: Michael Adam <obnox at samba.org>

commit bb59901d6e4f7c03b815ac6afd297b4230031330
Author: Karolin Seeger <kseeger at samba.org>
Date:   Sat Jun 27 11:15:59 2009 +0200

    s3/VERSION: Raise version number up to 3.4.0.
    
    Karolin

commit 228d43ce016e56396f83ed4fb77b246c539bba79
Author: Karolin Seeger <kseeger at samba.org>
Date:   Sat Jun 27 11:11:04 2009 +0200

    WHATSNEW: Update changes since 3.4.0rc1.
    
    Karolin

commit ed9d22f23789aa0b3c3c69aabcd398d52c95de5b
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jun 16 11:51:11 2009 +0200

    s3/lanman: Workaround for KB932762.
    
    This addresses bug #6498.
    (cherry picked from commit a702dea5a86f22e0b7857b67447152a06b3bbea2)

commit 410fa8258169bc9b4a61164cd893746d3e6abfae
Author: Michael Adam <obnox at samba.org>
Date:   Fri Jun 26 14:09:10 2009 +0200

    s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache().
    
    With the previous code, the cache can never have been hit at all.
    
    Michael
    (cherry picked from commit a4bc5bfa95be242fe1c8e0cd520a8f1e3d2a67f5)

commit 35c8019db31ccb673498b32134944d8acac6ffa9
Author: Björn Jacke <bj at sernet.de>
Date:   Sat Apr 4 11:21:01 2009 +0200

    s3:configure: "test" only takes one "="
    (cherry picked from commit ddd37c2b235eb03ddb438ebb2cdd14dd67f867f3)

-----------------------------------------------------------------------

Summary of changes:
 WHATSNEW.txt                  |   38 +++++++++++++++++++++++++++++---------
 source3/VERSION               |    2 +-
 source3/configure.in          |    2 +-
 source3/pam_smbpass/support.c |   15 +++++++++++++++
 source3/passdb/lookup_sid.c   |    2 +-
 source3/smbd/lanman.c         |    1 +
 6 files changed, 48 insertions(+), 12 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 3eca6f0..06177ca 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,13 +1,10 @@
-                   ================================
-                   Release Notes for Samba 3.4.0rc1
-			    June 19, 2009
-                   ================================
+                   =============================
+                   Release Notes for Samba 3.4.0
+			   July 1, 2009
+                   =============================
 
 
-This is the first release candidate of Samba 3.4.  This is *not*
-intended for production environments and is designed for testing
-purposes only.  Please report any defects via the Samba bug reporting
-system at https://bugzilla.samba.org/.
+This is the first stable release of Samba 3.4.
 
 
 Major enhancements in Samba 3.4.0 include:
@@ -205,6 +202,26 @@ o   Jelmer Vernooij <jelmer at samba.org>
     * Move common libraries to the shared lib/ directory.
 
 
+Changes since 3.4.0rc1
+----------------------
+
+
+o    Michael Adam <obnox at samba.org>
+     * BUG 6509: Use gid (not uid) cache in fetch_gid_from_cache().
+
+
+o    Björn Jacke <bj at sernet.de>
+     * BUG 6497: Fix calling of 'test' in configure.
+
+
+o    Volker Lendecke <vl at samba.org>
+     * BUG 6498: Add workaround for MS KB932762.
+
+
+o    Bo Yang <boyang at samba.org>
+     * BUG 6499: Fix building of pam_smbpass.
+
+
 Changes since 3.4.0pre2
 -----------------------
 
@@ -322,10 +339,13 @@ o   Ole Hansen <ole at redvw.com>
 
 
 o   Björn Jacke <bj at sernet.de>
-    * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
     * Also handle DirX return codes.
 
 
+o   Steve Langasek <vorlon at debian.org>
+    * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
+
+
 o   Volker Lendecke <vl at samba.org>
     * BUG 5681: Do not limit the number of network interfaces.
     * BUG 6157: Fix handling of multi-value attribute "uid".
diff --git a/source3/VERSION b/source3/VERSION
index 9984a37..37d5272 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -56,7 +56,7 @@ SAMBA_VERSION_PRE_RELEASE=
 # e.g. SAMBA_VERSION_RC_RELEASE=1                      #
 #  ->  "3.0.0rc1"                                      #
 ########################################################
-SAMBA_VERSION_RC_RELEASE=1
+SAMBA_VERSION_RC_RELEASE=
 
 ########################################################
 # To mark SVN snapshots this should be set to 'yes'    #
diff --git a/source3/configure.in b/source3/configure.in
index 0465646..edcca69 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6006,7 +6006,7 @@ AC_ARG_ENABLE(dnssd,
 [AS_HELP_STRING([--enable-dnssd], [Enable DNS service discovery support (default=no)])])
 
 AC_SUBST(DNSSD_LIBS)
-if test x"$enable_dnssd" == x"yes"; then
+if test x"$enable_dnssd" = x"yes"; then
     have_dnssd_support=yes
 
     AC_CHECK_HEADERS(dns_sd.h)
diff --git a/source3/pam_smbpass/support.c b/source3/pam_smbpass/support.c
index 50a2a14..dabd57d 100644
--- a/source3/pam_smbpass/support.c
+++ b/source3/pam_smbpass/support.c
@@ -20,6 +20,21 @@
 
 #include "support.h"
 
+#if defined(HAVE_SECURITY_PAM_EXT_H)
+#include <security/pam_ext.h>
+#elif defined(HAVE_PAM_PAM_EXT_H)
+#include <pam/pam_ext.h>
+#endif
+
+#if defined(HAVE_SECURITY__PAM_MACROS_H)
+#include <security/_pam_macros.h>
+#elif defined(HAVE_PAM__PAM_MACROS_H)
+#include <pam/_pam_macros.h>
+#endif
+
+#ifdef HAVE_SYSLOG_H
+#include <syslog.h>
+#endif
 
 #define _pam_overwrite(x)        \
 do {                             \
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index 3a03cfe..112225d 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -1085,7 +1085,7 @@ static bool fetch_gid_from_cache(gid_t *pgid, const DOM_SID *psid)
 {
 	DATA_BLOB cache_value;
 
-	if (!memcache_lookup(NULL, SID_UID_CACHE,
+	if (!memcache_lookup(NULL, SID_GID_CACHE,
 			     data_blob_const(psid, ndr_size_dom_sid(psid, NULL, 0)),
 			     &cache_value)) {
 		return false;
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 1672c51..b15e685 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1214,6 +1214,7 @@ static int get_server_info(uint32 servertype,
 			continue;
 		}
 		fstrcpy(s->comment, p);
+		string_truncate(s->comment, MAX_SERVER_STRING_LENGTH);
 
 		s->domain[0] = '\0';
 		if (!next_token_talloc(frame,&ptr,&p, NULL)) {


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list