diff options
author | Günther Deschner <gd@samba.org> | 2010-09-26 21:04:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-26 21:30:02 +0200 |
commit | 51ea39c5c87aa78949b32ee6a549de22385f73c1 (patch) | |
tree | 62b79ea499e653ffc544da9d0235883ad08a5b5e /source3 | |
parent | 0fd69f570883847f975033bc1a6306b00a5ae0d2 (diff) | |
download | samba-51ea39c5c87aa78949b32ee6a549de22385f73c1.tar.gz samba-51ea39c5c87aa78949b32ee6a549de22385f73c1.tar.bz2 samba-51ea39c5c87aa78949b32ee6a549de22385f73c1.zip |
s3-vfs: fix the build of nfs4_acls.c
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/nfs4_acls.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |