[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.7_ctdb.54-83-g8f9b7c4

Michael Adam obnox at samba.org
Fri Feb 6 15:52:10 GMT 2009


The branch, v3-2-ctdb has been updated
       via  8f9b7c41c8a8632467db52eb7fa3f2f6e46c2f2e (commit)
       via  c415b6a48dae2809d5d60b0af23eb7781f1146db (commit)
       via  1c3313dea793a7eea72afb990da125f6c2a8444c (commit)
       via  b44b29e5d9047f79202fa8fb3ca0eb86b2a98090 (commit)
       via  876b0b001976226a7c1887570c08178d72842a48 (commit)
       via  e6c46844b2bbc34a8f87ba438f5cc16fcc12d095 (commit)
       via  5d76e219ab4856a5c72835eebf48d5dd1cf0e01e (commit)
       via  a0d32cbc36a52bcd6b9b542919edee72ce95acdf (commit)
       via  ce440096473d4db0e43f65ced6c2084a5bdbabc6 (commit)
       via  bbfe82768add789a98ce3711fb5f378d19363401 (commit)
       via  5e4f6639e7ed96f3457177d203283c1c55ec52dd (commit)
       via  d7c7acee813b3cd9649b381a3e63c0be56e67d29 (commit)
       via  e0381d6a173dcf64910ac597a10a3f0fa59ffe43 (commit)
       via  ca155297bf932df6fd4a0ff223e5a7f1b8340f6b (commit)
       via  772dcc3b3703507af6baee090602a0ae8633fe2f (commit)
       via  31ea6bbc4a964604377509d3c096bae647c614a2 (commit)
       via  ef76b71683f3d420fa8062bc5364493c44ab68ce (commit)
       via  077e0ed31315242c571ccd9e9579f53aac0dbbc7 (commit)
       via  8e7d0cf27cf9eb18be497d13bd0dbbe1d76b97a0 (commit)
       via  a8eb8de94f5bfe4de000c5e85a43469af555a717 (commit)
       via  c21720a3c47748dcbf04d94377c36c47262c4953 (commit)
       via  e0c56d65f4096cdbcf9e560309e71fc21faa7d9a (commit)
       via  ac4d07ef8300a2b571296b8b3f7c23e8850b526a (commit)
       via  74534203b5b91445cd8ae4cd7f2a0d35ea73a281 (commit)
       via  c2d30b0a8e3609854908aeff19174e8e4e291cb7 (commit)
       via  a09ca37c438f31133943238b15c63a5834226c73 (commit)
       via  a691e29b466fdf1776160d92704e1ca958fa9eee (commit)
       via  632f4b83158d46ae456713286a27ac0c2aa2ee25 (commit)
       via  84237fb48aad5f11789d75a6767a6f47465f140b (commit)
       via  9483b143fe473d374e7f5c71f0d497f28f4e69f7 (commit)
       via  7b994fc658ad175bc40af9e38a8f1b870276d980 (commit)
       via  d04d93f783533612e20326b7b6ea5958eb5fcdc6 (commit)
       via  7e38054a94d3feacda9c249549d2721a4ee0b261 (commit)
       via  9c3da895e6dd5df2f4e3377e1bf562b376436081 (commit)
       via  0ee05c012e5f58c9132549c59cfd1ed74dd27759 (commit)
       via  c421d57e69de4d8c135123ed9f78dc9712bc7b3d (commit)
       via  bd3bb83824803c5301201f7fa2703a52971eae8f (commit)
       via  f3d355ffa75cd2b0f8cc51189e80aaf3552766d0 (commit)
       via  410acb0410ce3c33da15dbefd0b59e971494d2fb (commit)
       via  d2e79f3e54cf1762df2ef814af90dcb16cb8e859 (commit)
       via  fe3680cb7ab54142d589c89789af73a3e32a6b79 (commit)
       via  d5f74cfc4434d754afc9fdd746c2a575ebdd3641 (commit)
       via  299f1ae3f335ce99cb9b5d477e0950a4108f80cb (commit)
       via  2545fcc48888628eef2d6b83ef5656be1e53bf7e (commit)
       via  067d4a889a218c79cc2e343e542d9c2f0af459d6 (commit)
       via  e9de9cd33a3260c0b1b019208db9c3f96d9d5f3a (commit)
      from  a9a506b6640986548e2ae8540b7ae93960d6ece5 (commit)

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


- Log -----------------------------------------------------------------
commit 8f9b7c41c8a8632467db52eb7fa3f2f6e46c2f2e
Merge: a9a506b6640986548e2ae8540b7ae93960d6ece5 c415b6a48dae2809d5d60b0af23eb7781f1146db
Author: Michael Adam <obnox at samba.org>
Date:   Tue Feb 3 16:53:57 2009 +0100

    Merge commit 'origin/v3-2-test' into v3-2-ctdb

commit c415b6a48dae2809d5d60b0af23eb7781f1146db
Author: Karolin Seeger <kseeger at samba.org>
Date:   Tue Feb 3 09:48:40 2009 +0100

    WHATSNEW: Update changes since 3.2.7.
    
    Karolin

commit 1c3313dea793a7eea72afb990da125f6c2a8444c
Author: Lars Müller <lars at samba.org>
Date:   Mon Feb 2 21:38:38 2009 +0100

    Adjust regex to match variable names including underscores
    
    This is required to get the CIFSUPCALL_PROGS setting extracted from
    config.log.

commit b44b29e5d9047f79202fa8fb3ca0eb86b2a98090
Author: Lars Müller <lars at samba.org>
Date:   Mon Feb 2 21:12:52 2009 +0100

    Conditional install of the cifs.upcall man page
    
    Only install the cifs.upcall man page if CIFSUPCALL_PROGS was set while
    configure.

commit 876b0b001976226a7c1887570c08178d72842a48
Author: Karolin Seeger <kseeger at samba.org>
Date:   Mon Feb 2 11:46:39 2009 +0100

    docs: Describe "service" in man mount.cifs.
    
    This fixes bug #5346.
    Thanks to the Debian Samba package maintainers for reporting and providing a
    patch!
    
    Karolin
    (cherry picked from commit 73f4fc1f802f31459b70dba4777d142d00fcdd92)
    (cherry picked from commit ab4768452811e67f6606253b5a79101184f777d0)

commit e6c46844b2bbc34a8f87ba438f5cc16fcc12d095
Author: Karolin Seeger <kseeger at samba.org>
Date:   Mon Feb 2 10:13:38 2009 +0100

    WHATSNEW: Update changes since 3.2.7.
    
    Karolin

commit 5d76e219ab4856a5c72835eebf48d5dd1cf0e01e
Author: Björn Jacke <bj at sernet.de>
Date:   Sun Feb 1 03:22:41 2009 +0100

    fix build with external dns_sd libraries
    
    This used to be commit 16f07280 in master.
    (cherry picked from commit 89919a131b234485564ff2f2f20e3d9f9eb83522)

commit a0d32cbc36a52bcd6b9b542919edee72ce95acdf
Author: Günther Deschner <gd at samba.org>
Date:   Thu Jan 22 19:31:22 2009 +0100

    s3-docs: fix typo in eventlogadm manpage.
    
    Guenther
    (cherry picked from commit fb7b92abc2bea4b3d91cdd896f02db88065a4b8f)
    (cherry picked from commit 0cc588ac53316299d2e1ff7d61947fd864d412f9)

commit ce440096473d4db0e43f65ced6c2084a5bdbabc6
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jan 29 22:59:00 2009 +0100

    add Tru64 sub-second resolution timestamp support

commit bbfe82768add789a98ce3711fb5f378d19363401
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jan 29 21:59:44 2009 +0100

    add configure check for Tru64 sub-second timestamp resolution

commit 5e4f6639e7ed96f3457177d203283c1c55ec52dd
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jan 29 20:56:51 2009 +0100

    add missing semicolons
    
    the fixed configure check led to a missing semicolon in the now activated BSD
    code. Then this error was even copypasted into the new AIX code. grrr

commit d7c7acee813b3cd9649b381a3e63c0be56e67d29
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 29 10:47:02 2009 -0800

    Following Björn JACKE's patch, unify the detection of the timespec code in configure.in, and the application of it in time.c
    Jeremy.

commit e0381d6a173dcf64910ac597a10a3f0fa59ffe43
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jan 29 00:33:19 2009 +0100

    add configure check for AIX style sub-second resolution support

commit ca155297bf932df6fd4a0ff223e5a7f1b8340f6b
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jan 29 00:20:00 2009 +0100

    rather cosmetic fix for failed birthtime configure checks

commit 772dcc3b3703507af6baee090602a0ae8633fe2f
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jan 29 00:17:12 2009 +0100

    give configure check "sub-second timestamps without struct timespec" a chance to succeed

commit 31ea6bbc4a964604377509d3c096bae647c614a2
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 29 08:42:55 2009 +0100

    WHATSNEW: Update changes since 3.2.7.
    
    Karolin

commit ef76b71683f3d420fa8062bc5364493c44ab68ce
Author: Andreas Schneider <anschneider at suse.de>
Date:   Wed Jan 14 12:11:36 2009 +0100

    Use talloc_tos() instead of the talloc NULL context.
    
    Signed-off-by: Andreas Schneider <anschneider at suse.de>

commit 077e0ed31315242c571ccd9e9579f53aac0dbbc7
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Jan 28 10:35:35 2009 +0100

    Avoid valgrind errors
    
    In event handlers, we might destroy other events that are pending in the lists.
    We can only run one event safely per select call.
    
    Yes, I've seen these valgrind errors :-)
    
    Jeremy, with ccdd921e61 you had checked in the change to run multiple events.
    Do you remember why it was necessary and could not be solved in a different
    way?
    
    Volker

commit 8e7d0cf27cf9eb18be497d13bd0dbbe1d76b97a0
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jan 27 19:41:34 2009 +0100

    Fix a valgrind error when the socket dies
    
    Don't reference anything that might have been deleted in the async_req_error
    call.

commit a8eb8de94f5bfe4de000c5e85a43469af555a717
Author: Karolin Seeger <kseeger at samba.org>
Date:   Wed Jan 28 12:06:02 2009 +0100

    VERSION: Raise version number up to 3.2.8.
    
    Karolin

commit c21720a3c47748dcbf04d94377c36c47262c4953
Author: Karolin Seeger <kseeger at samba.org>
Date:   Wed Jan 28 11:34:15 2009 +0100

    WHATSNEW: Prepare WHATSNEW for 3.2.8.
    
    Karolin

commit e0c56d65f4096cdbcf9e560309e71fc21faa7d9a
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Jan 27 16:21:04 2009 -0800

    Fix detection of dns_sd libraries.
    Jeremy.

commit ac4d07ef8300a2b571296b8b3f7c23e8850b526a
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jan 27 15:48:20 2009 +0100

    libreplace: fix detection of netinet/ip.h on solaris 8
    
    (The test needs to additionally include <netinet/in_systm.h>.)
    
    Michael
    (cherry picked from commit a223b096700bc54b446a0e152c842b088566720b)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 74534203b5b91445cd8ae4cd7f2a0d35ea73a281
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jan 27 12:13:55 2009 +0100

    libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled
    
    under solaris
    
    Michael
    (cherry picked from commit 1b7beaed69823b3c401bc4c0b1c502b671169168)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit c2d30b0a8e3609854908aeff19174e8e4e291cb7
Author: Andreas Schneider <anschneider at suse.de>
Date:   Mon Jan 26 14:38:34 2009 +0100

    Document default of the printing config variable.
    
    Signed-off-by: Andreas Schneider <anschneider at suse.de>
    (cherry picked from commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7)
    (cherry picked from commit 541704e253f06f8b33006b6c27f51b934c2eb51f)
    (cherry picked from commit 69880dac28ac1681bb0c3d84280494de3d788cc6)

commit a09ca37c438f31133943238b15c63a5834226c73
Author: Karolin Seeger <kseeger at samba.org>
Date:   Mon Jan 26 14:17:23 2009 +0100

    docs: Add manpage for vfs_shadow_copy2.
    
    Karolin
    (cherry picked from commit 512cf0ad50d30fcb35a28b0ef1b859d754f42a99)
    (cherry picked from commit 7ca4b8ec65d5f8794c58f27f3f17033143732897)
    (cherry picked from commit addd0f41eeaf255217f1ab156e970c41a929aa43)

commit a691e29b466fdf1776160d92704e1ca958fa9eee
Author: Günther Deschner <gd at samba.org>
Date:   Sat Jan 24 02:10:47 2009 +0100

    s3-eventlog: fix various invalid memcpy in read_package_entry().
    
    Guenther
    (cherry picked from commit 75fff603625e0259f187e0fa47efd85887092fae)

commit 632f4b83158d46ae456713286a27ac0c2aa2ee25
Author: Günther Deschner <gd at samba.org>
Date:   Sat Jan 24 02:07:40 2009 +0100

    s3-eventlog: fix buffer allocation in eventlog read call.
    
    This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007...
    
    Guenther
    (cherry picked from commit 547c70e896b6890dd5f7b911e4e0ca107c8a3fa3)

commit 84237fb48aad5f11789d75a6767a6f47465f140b
Author: Karolin Seeger <kseeger at samba.org>
Date:   Fri Jan 23 13:02:46 2009 +0100

    docs: Fix formatting issue in man libsmbclient.
    
    Karolin
    (cherry picked from commit aa2fb0efb7ce2bc732569b4baf20c57375fdce59)
    (cherry picked from commit e1e3a0554fcaabacc5bec51c213622271a83ad04)

commit 9483b143fe473d374e7f5c71f0d497f28f4e69f7
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 22 11:52:54 2009 +0100

    lib/replace: add defines to let the callers find out if pwrite and pread are thread/fork safe
    
    metze
    (cherry picked from commit 7fc7ee9331d0539359ad88c527f59d5fdf212209)
    (cherry picked from commit d74b63091781e442e42b1fa7881e903a0bcc928c)

commit 7b994fc658ad175bc40af9e38a8f1b870276d980
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 22 16:25:30 2009 -0800

    Apply same logic fix for #4308 Excel save operation corrupts file ACLs
    to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c.
    Jeremy.

commit d04d93f783533612e20326b7b6ea5958eb5fcdc6
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 22 16:10:36 2009 -0800

    Fix logic error in try_chown - we shouldn't arbitrarily chown
    to ourselves unless that was passed in.
    Jeremy.

commit 7e38054a94d3feacda9c249549d2721a4ee0b261
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 22 14:32:44 2009 -0800

    Second part of the attemt to fix #4308 - Excel save operation corrupts file ACLs.
    If the chown succeeds then the ACL set should also. Ensure this is the case
    (refactor some of this code to make it simpler to read also).
    Jeremy.

commit 9c3da895e6dd5df2f4e3377e1bf562b376436081
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 22 10:59:47 2009 -0800

    Another attempt to fix bug #4308 - Excel save operation corrupts file ACLs.
    Simo is completely correct. We should be doing the chown *first*, and fail the
    ACL set if this fails. The long standing assumption I made when writing the
    initial POSIX ACL code was that Windows didn't control who could chown a file
    in the same was as POSIX. In POSIX only root can do this whereas I wasn't sure
    who could do this in Windows at the time (I didn't understand the privilege
    model). So the assumption was that setting the ACL was more important (early
    tests showed many failed ACL set's due to inability to chown). But now we have
    privileges in smbd, and we must always fail an ACL set when we can't chown
    first. The key that Simo noticed is that the CREATOR_OWNER bits in the ACL
    incoming are relative to the *new* owner, not the old one. This is why the old
    user owner disappears on ACL set - their access was set via the USER_OBJ in the
    creator POSIX ACL and when the ownership changes they lose their access.
    
    Patch is simple - just ensure we do the chown first before evaluating the
    incoming ACL re-read the owners. We already have code to do this it just wasn't
    rigorously being applied.
    Jeremy.

commit 0ee05c012e5f58c9132549c59cfd1ed74dd27759
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 21 15:10:10 2009 +0100

    build-docs: cleanup exit of the script
    
    exit in the directory where it was called using pushd/popd.
    
    Michael
    (cherry picked from commit b319549f129b1c79afc9bfd4a84f2730b96d69a3)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

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

    s3:docs: clean build/catalog.xml in "make clean"
    
    Michael
    (cherry picked from commit 5e21fc3506f2ba7b1135b1acad2697dfb86b5df0)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

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

    s3:docs: clean generated .png images in "make clean"
    
    Michael
    (cherry picked from commit 9b32e839bec8611c30745607a3a6b124d5b34c01)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit f3d355ffa75cd2b0f8cc51189e80aaf3552766d0
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 21 11:47:46 2009 +0100

    s3:docs: fix ommission in fix of (real)distclean targets
    
    Michael
    (cherry picked from commit 37412017c5dd2f05a7f4bbe0410a6e00ce4805e5)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 410acb0410ce3c33da15dbefd0b59e971494d2fb
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 21 11:41:14 2009 +0100

    s3:docs: fix distclean target and add realdistclean target
    
    - remove stuff created by configure in distclean
    - remove stuff created by autoconf in realdistclean
    
    Michael
    (cherry picked from commit 65c92fea3d18c3520ff2a1e53a0c5c8825c9788f)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit d2e79f3e54cf1762df2ef814af90dcb16cb8e859
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue May 27 18:40:14 2008 +0200

    Depend on latexfigures files directly as using a rule in between causes problems.
    (This used to be commit bf3c2773f94c1db29a8a3e5935ff587f16f9a905)
    (cherry picked from commit 5f6d0078d41e790ab4fa7dac15294821cdb4d4f0)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit fe3680cb7ab54142d589c89789af73a3e32a6b79
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed May 21 17:55:20 2008 +0200

    Use double colon targets.
    (This used to be commit 825cf91fa8b30a67d04cbda8885ff62a4c26458f)
    (cherry picked from commit 323be4a6907e4915bb76aa103bf5b868f0b459b1)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit d5f74cfc4434d754afc9fdd746c2a575ebdd3641
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri May 16 15:46:36 2008 +0200

    Add test target in Makefile.
    (This used to be commit ac0d768676b1b8105a9141169b1afa248df6ce66)
    (cherry picked from commit 0f3ba4b766ed83d2a38e6cae8db8690374d88989)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 299f1ae3f335ce99cb9b5d477e0950a4108f80cb
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri May 16 15:31:54 2008 +0200

    Make the make output a bit less chatty.
    (This used to be commit 1fa4ef553c437bae07389c0f6a5410ba22ee4905)
    (cherry picked from commit 70f52c06ba1d0d9638f1dfb8c42cd0d70364e9df)
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 2545fcc48888628eef2d6b83ef5656be1e53bf7e
Author: Karolin Seeger <kseeger at samba.org>
Date:   Wed Jan 21 11:37:30 2009 +0100

    build_docs: Use 'make distclean' instead of 'make clean'.
    
    This fixes bug #6058.
    Thanks to Christian Perrier for reporting!
    
    Karolin
    (cherry picked from commit 162e4b66601b41dd5adb24e192f3b5a91dfb41cc)

commit 067d4a889a218c79cc2e343e542d9c2f0af459d6
Merge: e9de9cd33a3260c0b1b019208db9c3f96d9d5f3a 5db09d4dd27e10c926c3413bcd3088e72a4af487
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Jan 19 18:11:33 2009 -0800

    Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

commit e9de9cd33a3260c0b1b019208db9c3f96d9d5f3a
Author: Richard Sharpe <realrichardsharpe at gmail.com>
Date:   Mon Jan 19 18:11:04 2009 -0800

    Fix  mistake in DEBUG message

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

Summary of changes:
 WHATSNEW.txt                               |  175 +++++++++++++++-
 docs-xml/Makefile                          |   82 ++++----
 docs-xml/manpages-3/eventlogadm.8.xml      |    4 +-
 docs-xml/manpages-3/libsmbclient.7.xml     |    7 +-
 docs-xml/manpages-3/mount.cifs.8.xml       |   11 +-
 docs-xml/manpages-3/vfs_shadow_copy2.8.xml |  174 ++++++++++++++++
 docs-xml/smbdotconf/printing/printing.xml  |    2 +
 release-scripts/build-docs                 |   22 ++-
 source/Makefile.in                         |    2 +-
 source/VERSION                             |    2 +-
 source/configure.in                        |  134 +++++++++++-
 source/lib/events.c                        |   38 +---
 source/lib/replace/libreplace_network.m4   |    9 +-
 source/lib/replace/replace.h               |    6 +
 source/lib/time.c                          |   66 ++++++-
 source/libsmb/async_smb.c                  |    5 +-
 source/modules/nfs4_acls.c                 |   82 ++++----
 source/rpc_parse/parse_eventlog.c          |    4 +-
 source/rpc_server/srv_eventlog_nt.c        |   10 +-
 source/script/installman.sh                |    3 +-
 source/smbd/posix_acls.c                   |  310 ++++++++++++++--------------
 source/smbd/reply.c                        |    2 +-
 source/smbd/service.c                      |    2 +-
 23 files changed, 830 insertions(+), 322 deletions(-)
 create mode 100644 docs-xml/manpages-3/vfs_shadow_copy2.8.xml


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index af91e72..a492967 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,16 +1,18 @@
                    =============================
-                   Release Notes for Samba 3.2.7
-			 January 05, 2009
+                   Release Notes for Samba 3.2.8
+			  March 03, 2009
                    =============================
 
 
-This is a security release in order to address CVE-2009-0022.
+This is a bug fix release of the Samba 3.2 series.
+
+Major enhancements included in Samba 3.2.8 are:
+
+  o Correctly detect if the current DC is the closest one.
+  o Add saf_join_store() function to memorize the DC used at join time.
+    This avoids problems caused by replication delays shortly after domain
+    joins.
 
-   o CVE-2009-0022
-     In Samba 3.2.0 to 3.2.6, in setups with registry shares enabled,
-     access to the root filesystem ("/") is granted
-     when connecting to a share called "" (empty string)
-     using old versions of smbclient (before 3.0.28).
 
 The original security announcement for this and past advisories can
 be found http://www.samba.org/samba/security/
@@ -20,12 +22,165 @@ be found http://www.samba.org/samba/security/
 Changes
 #######
 
-Changes since 3.2.6
+Changes since 3.2.7
 -------------------
 
 
 o   Michael Adam <obnox at samba.org>
-    * Fix for CVE-2009-0022.
+    * BUG 6066: netinet/ip.h present but cannot be compiled under Solaris.
+    * Fix join by creating keytab after changing the config in libnet.
+    * Streamline logic of libnet_join_post_processing() in libnet_join.
+    * Fix build of [u]mount.cifs in the RHEL packaging.
+    * Fix distclean target and add realdistclean target in the docs build.
+    * Clean generated .png images and build/catalog.xml in "make clean".
+    * Fix detection of netinet/ip.h on Solaris 8.
+
+
+o   Jeremy Allison <jra at samba.org>
+    * BUG 4308: Excel save operation corrupts file ACLs.
+    * BUG 5979: Fix level 2 oplocks.
+    * BUG 5980: Fix race condition when granting level2 oplocks can cause break
+      notify to be missed.
+    * BUG 5986: Fix renaming of streams.
+    * BUG 5990: Strict allocate should be checked before ftruncate.
+    * BUG 6009: Setting "min receivefile size = 1" breaks writes.
+    * BUG 6016: Alternate Data Streams / Extended Attributes seem to conflict.
+    * BUG 6017: Fix magic scripts.
+    * BUG 6019: Fix file corruption in Clustered SMB/NFS environments managed via
+      CTDB.
+    * BUG 6021: smbclient du command does not recuse properly.
+    * BUG 6030: Add missing <th> header in Status page.
+    * BUG 6035: Fix possible race between fcntl F_SETLKW and alarm delivery.
+    * BUG 6040: Calling Samba print server with an aliased DNS-name fails.
+    * Fix race condition in alarm lock processing.
+    * Fix logic bug introduce in backport of ccache_regain_all_now.
+    * Fix crash bug in SWAT.
+    * Fix logic error in try_chown.
+    * Fix detection of dns_sd libraries.
+
+
+o   Kai Blin <kai at samba.org>
+    * BUG 5953: Fix smbclient crashes.
+
+
+o   Gerald (Jerry) Carter <jerry at samba.org>
+    * Fix "allow trusted domain" so it disables trusted domains.
+
+
+o   Guenther Deschner <gd at samba.org>
+    * Fix buffer allocation in eventlog read call.
+    * Fix various invalid memcpy in read_package_entry().
+
+
+o   SATOH Fumiyasu <fumiyas at osstech.co.jp>
+    * Variables for signals must be volatile sig_atomic_t in Winbind.
+    * Fix gmem->numgids and gmem->maxgids breakage on Solaris 64-bit.
+    * Fix a compile-time warning.
+    * Fix SIGBUS on non-x86 CPUs in libsmbclient.
+
+
+o   Björn Jacke <bj at sernet.de>
+    * Correct the description of the "ldap timeout" parameter.
+    * Fix build with external dns_sd libraries.
+
+
+o   Jeff Layton <jlayton at redhat.com>
+    * Allow mounts to ipv6 capable servers in mount.cifs.
+
+
+o   Volker Lendecke <vl at sernet.de>
+    * BUG 5933: Fix incrementing/decrementing num_validated_vuids.
+    * BUG 5953: Make cli_send_smb_direct_writeX use writev.
+    * BUG 5965: Fix creation of the first share using SWAT.
+    * BUG 5969: Optimize smbclient put command.
+    * BUG 6014: mget shouldn't segfault without arguments.
+    * Fix error code when smbclient puts a file over an existing directory.
+    * Fix a valgrind error.
+    * Fix a "ignoring function call result" warning.
+    * Add sys_writev.
+    * Add write_data_iov.
+    * Make write_data use write_data_iov.
+    * Fix a memory leak in cups_pull_comment_location.
+    * Fix an ancient uninitialized variable read.
+    * Fix a bad memleak in vfs_full_audit.
+    * Fix several valgrind errors.
+
+
+o   Herb Lewis <hlewis at chomps.localdomain>
+    * Don't return 0 on error in smbcacls - bad for scripts.
+
+
+o   Derrell Lipman <derrell.lipman at unwireduniverse.com>
+    * Determine case sensitivity based on file system attributes in
+      libsmbclient.
+
+
+o   Stefan Metzmacher <metze at samba.org>
+    * Correctly detect if the current dc is the closest one.
+    * Use get_dc_name() instead of get_sorted_dc_list() in the LDAP case.
+    * Fallback to returning all DCs, when none is available in the requested
+      site.
+    * Add saf_join_store() function.
+    * Use DS_FORCE_REDISCOVERY in libnet_join.
+    * Use dbwrap to open sessionid.tdb in net status.
+    * Fix dbwrap_store_uint32() to match dbwrap_store_int32().
+    * Handle the SMB signing states the same in the krb5 and ntlmssp cases in
+      libsmb.
+    * Re-add "fileid:algorithm" as option in vfs_fileid.
+    * Add vfs_fileid manpage.
+
+
+o   Lars Müller <lars at samba.org>
+    * Tweak with pam defines of older Linux versions.
+    * Adjust regex to match variable names including underscores.
+    * Conditional install of the cifs.upcall man page.
+
+
+o   Tim Prouty <tprouty at samba.org>
+    * Fix stream marshalling to return the correct streaminfo status.
+    * Fix a delete on close divergence from Windows.
+    * Allow renames of streams via NTRENAME and fix stream error codes on
+      rename.
+    * Remove a few unnecessary checks from the streams depot module and fix to
+      work with NTRENAME.
+    * Remove a few unnecessary checks from the streams xattr module.
+    * Remove a few unnecessary checks from the streams xattr module.
+
+
+o   Andreas Schneider <anschneider at suse.de>
+    * Fix a segfault if ? is there but the options are NULL.
+    * Avoid flooding of syslog with failing pam_putenv messages.
+    * Document default of the printing config variable.
+    * Use talloc_tos() instead of the talloc NULL context.
+
+
+o   Karolin Seeger <kseeger at samba.org>
+    * BUG 6058: Use 'make distclean' instead of 'make clean' in build_docs.
+    * BUG 6000: Avoid bashism in perfcount.init.
+    * Change default value for "ldap ssl" to "start tls".
+    * Several documentation improvements/typo fixes.
+    * Fix syntax error in samba.spec.tmpl.
+    * Check if Unix account exists before asking for the password in smbpasswd.
+    * Add manpage for vfs_shadow_copy2.
+
+
+o   Richard Sharpe <realrichardsharpe at gmail.com>
+    * Fix mistake in DEBUG message.
+
+
+o   Andrew Tridgell <tridge at samba.org>
+    * Keep compatibility with v3-0-ctdb name for fileid:mapping option.
+
+
+o   Bo Yang <boyang at novell.com>
+    * Clean event context after child is forked.
+    * Refresh sequence number as soon as possible.
+    * Don't set child->requests to NULL in parent after fork.
+    * Backport of the clean event context after fork and
+      krb5 refresh chain fixes.
+    * Fix null pointer refrence in event context.
+    * Don't send message to any other child in child process.
+    * Fix bug in get_dc_name_via_netlogon(), null pointer refrence.
 
 
 ######################################################################
diff --git a/docs-xml/Makefile b/docs-xml/Makefile
index 0f401d6..610d720 100644
--- a/docs-xml/Makefile
+++ b/docs-xml/Makefile
@@ -50,49 +50,56 @@ $(DOCBOOKDIR)/Samba3-Developers-Guide.xml: $(filter-out Samba3-Developers-Guide/
 $(DOCBOOKDIR)/Samba4-HOWTO.xml: $(filter-out Samba4-HOWTO/index.xml,$(wildcard Samba4-HOWTO/*.xml)) Samba4-HOWTO-attributions.xml
 
 # Pseudo targets 
-all: $(TARGETS)
-everything: manpages3 pdf html-single html htmlman3 txt ps fo htmlhelp pearson 
-release: manpages3 htmlman3 html pdf 
-clean:
+all:: $(TARGETS)
+everything:: manpages3 pdf html-single html htmlman3 txt ps fo htmlhelp pearson 
+release:: manpages3 htmlman3 html pdf 
+clean::
 	@echo "Cleaning up..." 
 	rm -rf $(OUTPUTDIR)/* $(DOCBOOKDIR)
 	rm -f $(patsubst %.svg,%.png,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-dia))) \
 			$(patsubst %.svg,%.pdf,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-svg))) \
-			$(patsubst %.svg,%.eps,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-svg)))
+			$(patsubst %.svg,%.eps,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-svg))) \
+			$(patsubst %.svg,%.png,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-svg)))
 	rm -f *-attributions.xml *.d *.tpt *.tex *.loc *.toc *.lof *.glo *.idx *.aux
 	rm -f *-images-html*
-	rm -f *-images-latex-* latexfigures
+	rm -f *-images-latex-* $(LATEX_FIGURES)
 	rm -f xslt/figures/*pdf
 	rm -f $(SMBDOTCONFDOC)/parameters.*.xml
 	rm -f $(addsuffix .*,$(MAIN_DOCS))
+	rm -f build/catalog.xml
 
 # Output format targets
-pdf: $(patsubst %,$(PDFDIR)/%.pdf,$(MAIN_DOCS))
-dvi: $(patsubst %,$(DVIDIR)/%.dvi,$(MAIN_DOCS))
-ps: $(patsubst %,$(PSDIR)/%.ps,$(MAIN_DOCS))
-txt: $(patsubst %,$(TXTDIR)/%.txt,$(MAIN_DOCS))
-txt-chunks: $(addsuffix -txt-chunks,$(MAIN_DOCS))
-fo: $(patsubst %,$(FODIR)/%.fo,$(MAIN_DOCS))
-fo-pdf: $(patsubst %,$(FOPDFDIR)/%.pdf,$(MAIN_DOCS))
-tex: $(addsuffix .tex,$(MAIN_DOCS))
-texi: $(patsubst %,$(TEXINFODIR)/%.texi,$(MAIN_DOCS))
-texiinfo: $(patsubst %,$(TEXINFODIR)/%.info,$(MAIN_DOCS))
-manpages3: $(patsubst $(MANPAGEDIR3)/%.xml,$(OUTPUTDIR)/manpages-3/%,$(MANPAGES3))
-pearson: $(PEARSONDIR)/Samba3-HOWTO.xml
-pearson-verify: $(PEARSONDIR)/Samba3-HOWTO.report.html
-plucker: $(patsubst %,$(PLUCKERDIR)/%.pdb,$(MAIN_DOCS))
-htmlman3: $(patsubst $(MANPAGEDIR3)/%.xml,$(HTMLDIR)/manpages-3/%.html,$(MANPAGES3)) $(HTMLDIR)/manpages-3/index.html
-html-single: $(patsubst %,$(HTMLDIR)/%.html,$(MAIN_DOCS))
-html: $(patsubst %,$(HTMLDIR)/%/index.html,$(MAIN_DOCS)) $(HTMLDIR)/index.html
-htmlhelp: $(addprefix $(HTMLHELPDIR)/,$(MAIN_DOCS))
-validate: $(addsuffix -validate,$(MAIN_DOCS))
+pdf:: $(patsubst %,$(PDFDIR)/%.pdf,$(MAIN_DOCS))
+dvi:: $(patsubst %,$(DVIDIR)/%.dvi,$(MAIN_DOCS))
+ps:: $(patsubst %,$(PSDIR)/%.ps,$(MAIN_DOCS))
+txt:: $(patsubst %,$(TXTDIR)/%.txt,$(MAIN_DOCS))
+txt-chunks:: $(addsuffix -txt-chunks,$(MAIN_DOCS))
+fo:: $(patsubst %,$(FODIR)/%.fo,$(MAIN_DOCS))
+fo-pdf:: $(patsubst %,$(FOPDFDIR)/%.pdf,$(MAIN_DOCS))
+tex:: $(addsuffix .tex,$(MAIN_DOCS))
+texi:: $(patsubst %,$(TEXINFODIR)/%.texi,$(MAIN_DOCS))
+texiinfo:: $(patsubst %,$(TEXINFODIR)/%.info,$(MAIN_DOCS))
+manpages3:: $(patsubst $(MANPAGEDIR3)/%.xml,$(OUTPUTDIR)/manpages-3/%,$(MANPAGES3))
+pearson:: $(PEARSONDIR)/Samba3-HOWTO.xml
+pearson-verify:: $(PEARSONDIR)/Samba3-HOWTO.report.html
+plucker:: $(patsubst %,$(PLUCKERDIR)/%.pdb,$(MAIN_DOCS))
+htmlman3:: $(patsubst $(MANPAGEDIR3)/%.xml,$(HTMLDIR)/manpages-3/%.html,$(MANPAGES3)) $(HTMLDIR)/manpages-3/index.html
+html-single:: $(patsubst %,$(HTMLDIR)/%.html,$(MAIN_DOCS))
+html:: $(patsubst %,$(HTMLDIR)/%/index.html,$(MAIN_DOCS)) $(HTMLDIR)/index.html
+htmlhelp:: $(addprefix $(HTMLHELPDIR)/,$(MAIN_DOCS))
+validate:: $(addsuffix -validate,$(MAIN_DOCS))
+
+test:: validate
+check:: validate
+
+.PHONY: test check validate
 
 # Intermediate docbook docs
 #
 $(DOCBOOKDIR)/%.xml: %/index.xml xslt/expand-sambadoc.xsl
 	@echo "Converting Samba-specific tags for $*..."
 	@mkdir -p $(@D)
-	$(XSLTPROC) --stringparam latex.imagebasedir "$*/"  --stringparam noreference 0  --xinclude --output $@ xslt/expand-sambadoc.xsl $<
+	@$(XSLTPROC) --stringparam latex.imagebasedir "$*/"  --stringparam noreference 0  --xinclude --output $@ xslt/expand-sambadoc.xsl $<
 
 $(DOCBOOKDIR)/manpages-3/%.xml: $(MANPAGEDIR3)/%.xml xslt/expand-sambadoc.xsl
 	@mkdir -p $(@D)
@@ -105,7 +112,6 @@ $(DOCBOOKDIR)/manpages-3/index.xml: $(MANPAGES3) xslt/manpage-summary.xsl
 	@echo "</variablelist></article>" >> $@
 
 # HTML docs
-
 $(HTMLDIR)/index.html: htmldocs.html
 	@mkdir -p $(@D)
 	cp $< $@
@@ -128,7 +134,7 @@ $(HTMLDIR)/%.html: $(DOCBOOKDIR)/%.xml $(HTMLDIR)/samba.css xslt/html.xsl
 %-attributions.xml: 
 	@echo "Generating attributions file $@ from $*/"
 	@cp -f templates/attributions.xml $@
-	$(XSLTPROC) --xinclude -o $@ xslt/generate-attributions.xsl $*/index.xml 
+	@$(XSLTPROC) --xinclude -o $@ xslt/generate-attributions.xsl $*/index.xml 
 
 # Text files
 $(TXTDIR)/%.txt: $(HTMLDIR)/%.html
@@ -139,15 +145,13 @@ $(TXTDIR)/%.txt: $(HTMLDIR)/%.html
 %.tex: %/index.xml xslt/latex.xsl
 	@echo "Generating $@..."
 	@mkdir -p $(@D)
-	$(XSLTPROC) $(DB2LATEX_ARGS) --stringparam latex.imagebasedir "$*/" --xinclude --output $@ xslt/latex.xsl $<
-
-latexfigures: $(LATEX_FIGURES)
+	@$(XSLTPROC) $(DB2LATEX_ARGS) --stringparam latex.imagebasedir "$*/" --xinclude --output $@ xslt/latex.xsl $<
 
 $(PDFDIR)/%.pdf: %.pdf
 	@mkdir -p $(@D)
 	cp $< $@
 
-%.idx: %.tex latexfigures
+%.idx: %.tex $(LATEX_FIGURES)
 	-$(PDFLATEX) $<
 
 %.ind: %.idx
@@ -156,8 +160,7 @@ $(PDFDIR)/%.pdf: %.pdf
 # Dependency files
 %.d: $(DOCBOOKDIR)/%.xml xslt/generate-dependencies.xsl
 	@echo "Generating dependency file for $*" 
-	$(XSLTPROC) \
-		--novalid \
+	@$(XSLTPROC) --novalid \
 		--stringparam txtbasedir "$(TXTDIR)/$*/" \
 		--stringparam target "$*" \
 		-o $@ xslt/generate-dependencies.xsl $<
@@ -190,7 +193,7 @@ endif
 endif
 
 # Adobe PDF files
-%.pdf: %.tex %.ind latexfigures %-images-latex-png %-images-latex-pdf
+%.pdf: %.tex %.ind $(LATEX_FIGURES) %-images-latex-png %-images-latex-pdf
 	-$(PDFLATEX) $<
 	-$(PDFLATEX) $<
 	-$(PDFLATEX) $<
@@ -318,12 +321,15 @@ xslt/generate-attributions.xsl:
 xslt/man.xsl:
 xslt/pearson.xsl:
 
-distclean clobber: clean
-	rm Makefile.settings config.status config.log configure
+distclean clobber:: clean
+	rm -f Makefile.settings config.status config.log
+
+realdistclean:: distclean
+	rm -f configure
 	rm -rf autom4te.cache
 
 
 # Always keep intermediate files if we can
 .SECONDARY:
-.PHONY: clean clobber archive release everything all $(TARGETS) latexfigures
+.PHONY: clean clobber archive release everything all 
 
diff --git a/docs-xml/manpages-3/eventlogadm.8.xml b/docs-xml/manpages-3/eventlogadm.8.xml
index 04ba022..51a066f 100644
--- a/docs-xml/manpages-3/eventlogadm.8.xml
+++ b/docs-xml/manpages-3/eventlogadm.8.xml
@@ -91,7 +91,7 @@
 		</term>
 		<listitem><para>
 		The <command>-o write</command> reads event log
-		records from standard input and writes them to theSamba
+		records from standard input and writes them to the Samba
 		event log store named by EVENTLOG.
 		</para> </listitem>
 		</varlistentry>
@@ -180,7 +180,7 @@
 		</para></listitem>
 
 		<listitem><para>
-		<command>SRN</command> - he name of the machine on
+		<command>SRN</command> - The name of the machine on
 		which the eventlog was generated. This is typically the
 		host name.
 		</para></listitem>
diff --git a/docs-xml/manpages-3/libsmbclient.7.xml b/docs-xml/manpages-3/libsmbclient.7.xml
index ec95004..9257e1c 100644
--- a/docs-xml/manpages-3/libsmbclient.7.xml
+++ b/docs-xml/manpages-3/libsmbclient.7.xml
@@ -18,10 +18,11 @@
 
 <refsynopsisdiv>
 	<cmdsynopsis>
-		<command>Browser URL:</command>
 	<para>
-        smb://[[[domain:]user[:password@]]server[/share[/path[/file]]]] [?options]
-    </para>
+	Browser URL:
+	<command moreinfo="none">smb://[[[domain:]user[:password@]]server[/share[/path[/file]]]] [?options]
+	</command>
+	</para>
 	</cmdsynopsis>
 </refsynopsisdiv>
 
diff --git a/docs-xml/manpages-3/mount.cifs.8.xml b/docs-xml/manpages-3/mount.cifs.8.xml
index 54fbc13..00711e0 100644
--- a/docs-xml/manpages-3/mount.cifs.8.xml
+++ b/docs-xml/manpages-3/mount.cifs.8.xml
@@ -43,10 +43,13 @@ by the popular Open Source server Samba.
 	</para>
 
 	<para>
-	The mount.cifs utility attaches the UNC name (exported network resource) to
-	the local directory <emphasis>mount-point</emphasis>. It is possible to set the mode for mount.cifs to 
-setuid root to allow non-root users to mount shares to directories for which they
-have write permission.
+	The mount.cifs utility attaches the UNC name (exported network resource)
+	specified as <emphasis>service</emphasis> (using //server/share syntax,
+	where "server" is the server name or IP address and "share" is the name
+	of the share) to the local directory <emphasis>mount-point</emphasis>.
+	It is possible to set the mode for mount.cifs to setuid root to allow
+	non-root users to mount shares to directories for which they
+	have write permission.
 	</para>
 
 	<para>
diff --git a/docs-xml/manpages-3/vfs_shadow_copy2.8.xml b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml
new file mode 100644
index 0000000..364dd59
--- /dev/null
+++ b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<refentry id="vfs_shadow_copy2.8">
+
+<refmeta>
+	<refentrytitle>vfs_shadow_copy2</refentrytitle>
+	<manvolnum>8</manvolnum>
+	<refmiscinfo class="source">Samba</refmiscinfo>
+	<refmiscinfo class="manual">System Administration tools</refmiscinfo>
+	<refmiscinfo class="version">3.2</refmiscinfo>
+</refmeta>
+
+
+<refnamediv>
+	<refname>vfs_shadow_copy2</refname>
+	<refpurpose>Expose snapshots to Windows clients as shadow copies.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+	<cmdsynopsis>
+		<command>vfs objects = shadow_copy2</command>
+	</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This VFS module is part of the
+	<citerefentry><refentrytitle>samba</refentrytitle>
+	<manvolnum>7</manvolnum></citerefentry> suite.</para>
+
+	<para>The <command>vfs_shadow_copy2</command> VFS module functionality
+	that is similar to Microsoft Shadow Copy services. When setup properly,
+	this module allows Microsoft Shadow Copy clients to browse
+	"shadow copies" on Samba shares.
+	</para>
+
+	<para>This is a 2nd implementation of a shadow copy module. This
+	version has the following features:</para>
+	<orderedlist continuation="restarts" inheritnum="ignore" numeration="arabic">
+        <listitem><para>You don't need to populate your shares with symlinks to the
+	snapshots. This can be very important when you have thousands of
+	shares, or use [homes].</para></listitem>
+	<listitem><para>The inode number of the files is altered so it is different
+	from the original. This allows the 'restore' button to work
+	without a sharing violation.</para></listitem>
+	</orderedlist>
+
+	<para>This module is stackable.</para>
+
+</refsect1>
+
+<refsect1>
+	<title>CONFIGURATION</title>
+
+	<para><command>vfs_shadow_copy2</command> relies on a filesystem
+	snapshot implementation. Many common filesystems have native
+	support for this.
+	</para>
+
+	<para>Filesystem snapshots must be mounted on
+	specially named directories in order to be recognized by
+	<command>vfs_shadow_copy2</command>. The snapshot mount points must
+	be immediate children of a the directory being shared.</para>
+
+	<para>The snapshot naming convention is @GMT-YYYY.MM.DD-hh.mm.ss,
+	where:
+	<itemizedlist>
+		<listitem><para><command>YYYY</command> is the 4 digit year</para></listitem>
+		<listitem><para><command>MM</command> is the 2 digit month</para></listitem>
+		<listitem><para><command>DD</command> is the 2 digit day</para></listitem>
+		<listitem><para><command>hh</command> is the 2 digit hour</para></listitem>


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list