summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-17 12:18:14 +0200
committerVolker Lendecke <vl@samba.org>2011-08-17 12:30:08 +0200
commit8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f (patch)
tree1413c297fb202de35eedb1f5a6bef7bce3563d50 /source3/modules
parent102f39ae3e7df26faf81595c8e0120b2e2a45bbd (diff)
downloadsamba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.tar.gz
samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.tar.bz2
samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.zip
Replace calls to sid_equal with calls to dom_sid_equal
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/onefs_acl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c
index f78d1f0e2e..749ddec3da 100644
--- a/source3/modules/onefs_acl.c
+++ b/source3/modules/onefs_acl.c
@@ -46,13 +46,13 @@ onefs_sid_to_identity(const struct dom_sid *sid, struct ifs_identity *id,
uid_t uid = 0;
gid_t gid = 0;
- if (!sid || sid_equal(sid, &global_sid_NULL))
+ if (!sid || dom_sid_equal(sid, &global_sid_NULL))
type = IFS_ID_TYPE_NULL;
- else if (sid_equal(sid, &global_sid_World))
+ else if (dom_sid_equal(sid, &global_sid_World))
type = IFS_ID_TYPE_EVERYONE;
- else if (sid_equal(sid, &global_sid_Creator_Owner))
+ else if (dom_sid_equal(sid, &global_sid_Creator_Owner))
type = IFS_ID_TYPE_CREATOR_OWNER;
- else if (sid_equal(sid, &global_sid_Creator_Group))
+ else if (dom_sid_equal(sid, &global_sid_Creator_Group))
type = IFS_ID_TYPE_CREATOR_GROUP;
else if (is_group) {
if (!sid_to_gid(sid, &gid))
@@ -156,7 +156,7 @@ sid_in_ignore_list(struct dom_sid * sid, int snum)
while (*sid_list) {
if (string_to_sid(&match, *sid_list))
- if (sid_equal(sid, &match))
+ if (dom_sid_equal(sid, &match))
return true;
sid_list++;
}