The branch, v3-5-test has been updated
via 4fa4e67... s3:build: remove redundant qnx block size definition
from 3e1afbb... Restructure the ACL code some more, get the internal
semantics right. The previous bugs were due to the fact that
get_nt_acl_internal() could return an NTSTATUS error if there was no stored ACL
blob, but otherwise would return the underlying ACL from the filysystem. Fix
this so it always returns a valid acl if it can, and if it does not its an
error to be reported back to the client. This then changes the inherit acl
code. Previously we were trying to match Windows by setting a minimal ACL on a
new file that didn't inherit anything from a parent directory. This is silly -
the returned ACL wouldn't match the underlying UNIX permissions. The current
code will correctly inherit from a parent if a parent has any inheritable ACE
entries that apply to the new object, but will return a mapping from the
underlying UNIX permissions if the parent has no inheritable entries. This
makes much more sense for new files/directories. Jeremy. (cherry picked from
commit 3
65c6b4ce0bd84bfb1d9cec03bc835b92b1c5af7)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit 4fa4e6738074d39d73acc82e04ee88c00529f6c3
Author: Björn Jacke <[email protected]>
Date: Thu Dec 3 00:12:53 2009 +0100
s3:build: remove redundant qnx block size definition
-----------------------------------------------------------------------
Summary of changes:
source3/configure.in | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/configure.in b/source3/configure.in
index 5f5cef9..16eb5d1 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1607,9 +1607,6 @@ DSO_EXPORTS=""
AC_DEFINE(STAT_ST_BLOCKSIZE,8192,[The size of a block])
AC_DEFINE(POSIX_ACL_NEEDS_MASK,1,[Does a POSIX ACL need
a mask element])
;;
- *qnx*) AC_DEFINE(QNX,1,[Whether the host os is qnx])
- AC_DEFINE(STAT_ST_BLOCKSIZE,512)
- ;;
*osf*) AC_DEFINE(OSF1,1,[Whether the host os is osf1])
BLDSHARED="true"
LDSHFLAGS="-shared"
--
Samba Shared Repository