From 51ea39c5c87aa78949b32ee6a549de22385f73c1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 26 Sep 2010 21:04:39 +0200 Subject: s3-vfs: fix the build of nfs4_acls.c Guenther --- source3/modules/nfs4_acls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index f8a61c96cd..7e5f99405d 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -20,6 +20,7 @@ #include "includes.h" #include "nfs4_acls.h" #include "librpc/gen_ndr/ndr_security.h" +#include "../libcli/security/dom_sid.h" #include "include/dbwrap.h" #undef DBGC_CLASS @@ -567,7 +568,7 @@ static bool smbacl4_fill_ace4( DEBUG(9, ("ace_v4->aceMask(0x%x)!=ace_nt->access_mask(0x%x)\n", ace_v4->aceMask, ace_nt->access_mask)); - if (sid_equal(&ace_nt->trustee, &global_sid_World)) { + if (dom_sid_equal(&ace_nt->trustee, &global_sid_World)) { ace_v4->who.special_id = SMB_ACE4_WHO_EVERYONE; ace_v4->flags |= SMB_ACE4_ID_SPECIAL; } else { -- cgit