[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Wed Dec 2 16:12:45 MST 2009


The branch, master has been updated
       via  a2929a6... s3:build: remove redundant qnx block size definition
      from  365c6b4... 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.

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


- Log -----------------------------------------------------------------
commit a2929a638fa6824e38beec7eaa78ac108c522f50
Author: Björn Jacke <bj at sernet.de>
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 32c9e3e..c7ad8e7 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1657,9 +1657,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


More information about the samba-cvs mailing list