s3:smbd: fix interaction between chown and SD flags
commitbcee54726fadd76ee1588c15b29066f66ad9c1c0
authorRalph Boehme <slow@samba.org>
Thu, 10 May 2018 10:29:35 +0000 (10 12:29 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 24 May 2018 09:29:23 +0000 (24 11:29 +0200)
tree0d0861dd216acf70453b736206cd543b37e761d7
parent6ea5d164cd9d836cbd36aa43fa2b7f4b270a68f3
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

(cherry picked from commit ced55850034a3653525823bf9623912a4fcf18a0)
selftest/knownfail.d/samba3.smb2.acls [deleted file]
source3/modules/vfs_acl_common.c