[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri Oct 15 21:37:01 MDT 2010


The branch, master has been updated
       via  bcdf781 Ensure we have correct parameters to use Windows ACL modules.
      from  50d3baff heimdal_build: Support using system asn1 library.

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


- Log -----------------------------------------------------------------
commit bcdf781545ae31f9ec7caf2c60f74d27a962de6d
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Oct 15 19:54:51 2010 -0700

    Ensure we have correct parameters to use Windows ACL modules.
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Sat Oct 16 03:36:04 UTC 2010 on sn-devel-104

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

Summary of changes:
 source3/modules/vfs_acl_tdb.c   |    7 +++++--
 source3/modules/vfs_acl_xattr.c |    6 ++++--
 2 files changed, 9 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c
index 6364b7b..5fc1bc0 100644
--- a/source3/modules/vfs_acl_tdb.c
+++ b/source3/modules/vfs_acl_tdb.c
@@ -316,13 +316,16 @@ static int connect_acl_tdb(struct vfs_handle_struct *handle,
 		return -1;
 	}
 
-	/* Ensure we have "inherit acls = yes" if we're
+	/* Ensure we have the parameters correct if we're
 	 * using this module. */
 	DEBUG(2,("connect_acl_tdb: setting 'inherit acls = true' "
-		"and 'dos filemode = true' for service %s\n",
+		"'dos filemode = true' and "
+		"'force unknown acl user = true' for service %s\n",
 		service ));
+
 	lp_do_parameter(SNUM(handle->conn), "inherit acls", "true");
 	lp_do_parameter(SNUM(handle->conn), "dos filemode", "true");
+	lp_do_parameter(SNUM(handle->conn), "force unknown acl user", "true");
 
 	return 0;
 }
diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c
index e486e20..aa7aeae 100644
--- a/source3/modules/vfs_acl_xattr.c
+++ b/source3/modules/vfs_acl_xattr.c
@@ -185,14 +185,16 @@ static int connect_acl_xattr(struct vfs_handle_struct *handle,
 		return ret;
 	}
 
-	/* Ensure we have "inherit acls = yes" if we're
+	/* Ensure we have the parameters correct if we're
 	 * using this module. */
 	DEBUG(2,("connect_acl_xattr: setting 'inherit acls = true' "
-		"and 'dos filemode = true' for service %s\n",
+		"'dos filemode = true' and "
+		"'force unknown acl user = true' for service %s\n",
 		service ));
 
         lp_do_parameter(SNUM(handle->conn), "inherit acls", "true");
         lp_do_parameter(SNUM(handle->conn), "dos filemode", "true");
+        lp_do_parameter(SNUM(handle->conn), "force unknown acl user", "true");
 
 	return 0;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list