s4-lib-policy: fix type of enum
authorUri Simchoni <uri@samba.org>
Sun, 19 Nov 2017 17:56:50 +0000 (17:56 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Nov 2017 09:20:20 +0000 (10:20 +0100)
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/policy/gp_filesys.c

index a18c51341d977bdb7158d64bd27001c84f387479..d48fc9fd6b0bfc26484f1050a0ecc54cd7337569 100644 (file)
@@ -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 |