[SCM] Samba Shared Repository - branch master updated

2012-06-04 Thread Jeremy Allison
The branch, master has been updated
   via  4accd23 Fix bug #8972 - Directory group write permission bit is set 
if unix extensions are enabled
  from  0110623 libreplace: Ensure we link xattr.c on MacOS

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 4accd2396e8a9ac4a7b2191a1d3bc9c84d2e0497
Author: Jeremy Allison j...@samba.org
Date:   Mon Jun 4 17:34:54 2012 -0700

Fix bug #8972 - Directory group write permission bit is set if unix 
extensions are enabled

We can't manipulate file_attributes if it's a posix call. I'll look
at adding a test for this asap.

Autobuild-User: Jeremy Allison j...@samba.org
Autobuild-Date: Tue Jun  5 04:26:11 CEST 2012 on sn-devel-104

---

Summary of changes:
 source3/smbd/open.c |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 17721c6..a012675 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2714,8 +2714,10 @@ static NTSTATUS open_directory(connection_struct *conn,
return NT_STATUS_NOT_A_DIRECTORY;
}
 
-   /* Ensure we have a directory attribute. */
-   file_attributes |= FILE_ATTRIBUTE_DIRECTORY;
+   if (!(file_attributes  FILE_FLAG_POSIX_SEMANTICS)) {
+   /* Ensure we have a directory attribute. */
+   file_attributes |= FILE_ATTRIBUTE_DIRECTORY;
+   }
 
DEBUG(5,(open_directory: opening directory %s, access_mask = 0x%x, 
 share_access = 0x%x create_options = 0x%x, 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-06-04 Thread Andrew Bartlett
The branch, master has been updated
   via  d6cd48f wintest: Fix test-s3.py to use smbclient3 under the name 
smbclient
   via  1df3982 WHATSNEW: mention FreeBSD getaddrinfo() issue
   via  b7754f4 s3:build(autoconf): fix no AC_LANG_SOURCE call detected 
warnings
   via  d99bbb5 WHATSNEW: Mention trouble with DNS replication
   via  e3d1d6c WHATSNEW: Note FreeBSD improvements
   via  dc799d4 s4-provision: Test for posix ACLs in the actual sysvol path
   via  d2b635c s4-provision: Place xattr.tdb in the actual state directory
   via  68769c2 WHATSNEW: Update for beta1
   via  d561ef2 VERSION: prepare for beta1 by setting and parsing the beta 
version
   via  1a2b65c Add '--use-ntvfs' option to 'samba-tool domain join'
   via  9db04c4 s3-smbd: Remove support for protocols before LANMAN1
   via  3a13581 Remove Manifest.  The information here was outdated
   via  edd7251 libreplace: Add copyrights to ease tracking of this file in 
future
   via  5f58359 libreplace: Remove autoconf build system
  from  4accd23 Fix bug #8972 - Directory group write permission bit is set 
if unix extensions are enabled

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit d6cd48fca6bc69e7c8c5070790ec5d48a6dcf3f6
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 11:51:18 2012 +1000

wintest: Fix test-s3.py to use smbclient3 under the name smbclient

Autobuild-User: Andrew Bartlett abart...@samba.org
Autobuild-Date: Tue Jun  5 06:24:39 CEST 2012 on sn-devel-104

commit 1df39825e4e5e0db3654d1c2eac4697c30457ab2
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 11:41:52 2012 +1000

WHATSNEW: mention FreeBSD getaddrinfo() issue

commit b7754f4bf7f1204e02baf6086c3cbbd7c6ebf1d9
Author: Martin Schwenke mar...@meltin.net
Date:   Fri Dec 16 12:43:34 2011 +1100

s3:build(autoconf): fix no AC_LANG_SOURCE call detected warnings

Autoconf 2.68 NEWS says:

** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and
   AC_RUN_IFELSE now warn if the first argument failed to use
   AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file
   contents.  A new macro AC_LANG_DEFINES_PROVIDED exists if you have
   a compelling reason why you cannot use AC_LANG_SOURCE but must
   avoid the warning.

Signed-off-by: Martin Schwenke mar...@meltin.net

commit d99bbb52e7763601a638ae24033e4b46691582be
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 11:15:21 2012 +1000

WHATSNEW: Mention trouble with DNS replication

commit e3d1d6c03c04b096b1c4e19eadeb58cf8bdba135
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 10:34:27 2012 +1000

WHATSNEW: Note FreeBSD improvements

commit dc799d4b42551842a9c1dc863568611d82c6168d
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 09:58:41 2012 +1000

s4-provision: Test for posix ACLs in the actual sysvol path

This avoids issues in the previous location where lp may not be initialised 
at this point
and instead simply waits until we have a known sysvol path, and test for 
ACL support
there.

Andrew Bartlett

commit d2b635cc2f031364be1f25a7f8fb897a78764e5c
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 09:56:53 2012 +1000

s4-provision: Place xattr.tdb in the actual state directory

This patch does two things: it fixes up the spelling of state dir to
state directory so that we actually find the smb.conf parameter, and
we move it to after we process the global settings in case this is
changed in the future.

Andrew Bartlett

commit 68769c26ff1bf7d6b36820c64e71169b35434061
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 09:21:15 2012 +1000

WHATSNEW: Update for beta1

commit d561ef20b5f87bd3a77939de7175daca45679e29
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 09:07:44 2012 +1000

VERSION: prepare for beta1 by setting and parsing the beta version

commit 1a2b65cd31243f36f2a0a63bdad7f6d6f39afc1d
Author: Andriy Syrovenko andr...@gmail.com
Date:   Tue Jun 5 01:32:42 2012 +0300

Add '--use-ntvfs' option to 'samba-tool domain join'

commit 9db04c481d981ee0ab285e0e34f32c49a7e84641
Author: Andrew Bartlett abart...@samba.org
Date:   Wed May 30 12:32:56 2012 +1000

s3-smbd: Remove support for protocols before LANMAN1

This falls out of the removal of security=share, because we now require that
a session setup has been performed before (essentially) all other 
operations.

Andrew Bartlett

commit 3a1358121ab0d0d950252a0ec770a08bdda90809
Author: Andrew Bartlett abart...@samba.org
Date:   Mon May 28 13:08:45 2012 +1000

Remove Manifest.  The information here was outdated

commit edd725125792e848a9c1230ae4e57246dcda4352
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jun 5 08:00:00 2012 +1000