s3:smbd: fix interaction between chown and SD flags
authorRalph Boehme <slow@samba.org>
Thu, 10 May 2018 10:29:35 +0000 (12:29 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 11 May 2018 21:30:31 +0000 (23:30 +0200)
commitced55850034a3653525823bf9623912a4fcf18a0
tree58f557a5c15bac1d5e8187df8b24c91ca699a7ca
parent12f6d56c4814fca64e0e3c636018e70d71ad0be5
s3:smbd: fix interaction between chown and SD flags

A change ownership operation that doesn't set the NT ACLs must not touch
the SD flags (type).

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13432

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 11 23:30:32 CEST 2018 on sn-devel-144
selftest/knownfail.d/samba3.smb2.acls [deleted file]
source3/modules/vfs_acl_common.c