From: Uri Simchoni Date: Sun, 19 Nov 2017 17:56:50 +0000 (+0000) Subject: s4-lib-policy: fix type of enum X-Git-Tag: talloc-2.1.11~407 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a2da5b0f8a0997de3d56888efd040285e200803;p=thirdparty%2Fsamba.git s4-lib-policy: fix type of enum Signed-off-by: Uri Simchoni Reviewed-by: Andrew Bartlett --- 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 |