From 1a2da5b0f8a0997de3d56888efd040285e200803 Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Sun, 19 Nov 2017 17:56:50 +0000 Subject: [PATCH] s4-lib-policy: fix type of enum Signed-off-by: Uri Simchoni Reviewed-by: Andrew Bartlett --- source4/lib/policy/gp_filesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/policy/gp_filesys.c b/source4/lib/policy/gp_filesys.c index a18c51341d9..d48fc9fd6b0 100644 --- a/source4/lib/policy/gp_filesys.c +++ b/source4/lib/policy/gp_filesys.c @@ -644,7 +644,7 @@ NTSTATUS gp_set_gpt_security_descriptor(struct gp_context *gp_ctx, } /* Set the security descriptor on the directory */ - fileinfo.generic.level = RAW_FILEINFO_SEC_DESC; + fileinfo.generic.level = RAW_SFILEINFO_SEC_DESC; fileinfo.set_secdesc.in.file.fnum = io.ntcreatex.out.file.fnum; fileinfo.set_secdesc.in.secinfo_flags = SECINFO_PROTECTED_DACL | SECINFO_OWNER |