vfs_fake_dfq: Add option to fake stat information
authorChristof Schmitt <cs@samba.org>
Tue, 13 Aug 2019 20:37:22 +0000 (13:37 -0700)
committerChristof Schmitt <cs@samba.org>
Wed, 14 Aug 2019 16:27:43 +0000 (16:27 +0000)
commitbbb259e7acb2485232359191f9d799e4c87bcbae
tree38544baf91ac9155fdaa88f144bdf6dc3a9ef4cd
parent72c4e33decbaa19f9e7845240fdcf02029ded82c
vfs_fake_dfq: Add option to fake stat information

Add an option to allow faking the gid and the SGID bit in the returned
stat buffer. That will be used to verify quota queries on folders with
SGID set.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_fake_dfq.c