]> git.ipfire.org Git - thirdparty/samba.git/commit
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)
committerKarolin Seeger <kseeger@samba.org>
Thu, 24 May 2018 15:22:35 +0000 (17:22 +0200)
commit603bc0160f9cf3322f7958a530c14fb35262251c
treea04d4145b5cb85c3da92f477926798d4ac7d5b94
parentb99d51f1b88b606f9b162b019ee28c707e1d59a6
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)

Autobuild-User(v4-7-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-7-test): Thu May 24 17:22:35 CEST 2018 on sn-devel-144
selftest/knownfail.d/samba3.smb2.acls [deleted file]
source3/modules/vfs_acl_common.c