[SCM] Samba Shared Repository - branch v4-0-test updated

Karolin Seeger kseeger at samba.org
Mon Aug 5 14:01:07 MDT 2013


The branch, v4-0-test has been updated
       via  c358417 Fix bug 9678 - Windows 8 Roaming profiles fail
       via  2d6b4f0 security.idl: add new security_secinfo bits
      from  f5bd128 VERSION: Bump version number up to 4.0.9.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit c358417214920a85736ffaaa8f4c8101ef26b0d3
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Aug 1 14:16:24 2013 +0200

    Fix bug 9678 - Windows 8 Roaming profiles fail
    
    Windows 8 tries to set 'ATTRIBUTE_SECURITY_INFORMATION' on some
    dirs. Ignoring it makes roaming profiles work again.
    Just like w2k3 gracefully ignore all the other bits.
    
    Signed-off-by: Gregor Beck <gbeck at sernet.de>
    
    Autobuild-User(v4-0-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-0-test): Mon Aug  5 22:00:52 CEST 2013 on sn-devel-104

commit 2d6b4f0525966050c9f028a82c74a1da3c60658a
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Jul 31 15:28:51 2013 +0200

    security.idl: add new security_secinfo bits
    
    [MS-DTYP].pdf 2.4.7
    
    Signed-off-by: Gregor Beck <gbeck at sernet.de>

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

Summary of changes:
 librpc/idl/security.idl |    3 +++
 source3/smbd/nttrans.c  |    9 ++-------
 2 files changed, 5 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/idl/security.idl b/librpc/idl/security.idl
index 33085c4..4f0e900 100644
--- a/librpc/idl/security.idl
+++ b/librpc/idl/security.idl
@@ -600,6 +600,9 @@ interface security
 		SECINFO_DACL                 = 0x00000004,
 		SECINFO_SACL                 = 0x00000008,
 		SECINFO_LABEL                = 0x00000010,
+		SECINFO_ATTRIBUTE	     = 0x00000020,
+		SECINFO_SCOPE                = 0x00000040,
+		SECINFO_BACKUP		     = 0x00010000,
 		SECINFO_UNPROTECTED_SACL     = 0x10000000,
 		SECINFO_UNPROTECTED_DACL     = 0x20000000,
 		SECINFO_PROTECTED_SACL	     = 0x40000000,
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index f70fb36..5595af2 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -889,13 +889,8 @@ NTSTATUS set_sd(files_struct *fsp, struct security_descriptor *psd,
 
 	/* Ensure we have at least one thing set. */
 	if ((security_info_sent & (SECINFO_OWNER|SECINFO_GROUP|SECINFO_DACL|SECINFO_SACL)) == 0) {
-		if (security_info_sent & SECINFO_LABEL) {
-			/* Only consider SECINFO_LABEL if no other
-			   bits are set. Just like W2K3 we don't
-			   store this. */
-			return NT_STATUS_OK;
-		}
-		return NT_STATUS_INVALID_PARAMETER;
+		/* Just like W2K3 */
+		return NT_STATUS_OK;
 	}
 
 	/* Ensure we have the rights to do this. */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list