summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-07 20:11:53 +0000
committerGerald Carter <jerry@samba.org>2003-07-07 20:11:53 +0000
commitb9d503defa8280af916439529c8aaa69115febc0 (patch)
tree8e31687d2d215ce22152d50385bc25721f360361 /source3/sam
parent5895dfb89b27de6fcdcdd0233ae1ea34be03235e (diff)
downloadsamba-b9d503defa8280af916439529c8aaa69115febc0.tar.gz
samba-b9d503defa8280af916439529c8aaa69115febc0.tar.bz2
samba-b9d503defa8280af916439529c8aaa69115febc0.zip
fix some compile problems. Can't get IDMAP_OBJ our of proto.h
just yet. ` (This used to be commit 6f0b5d474a051db512db2f73a8097c80964ec513)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/sam/idmap_util.c b/source3/sam/idmap_util.c
index 4e44ee16ba..94de30a5ce 100644
--- a/source3/sam/idmap_util.c
+++ b/source3/sam/idmap_util.c
@@ -53,10 +53,11 @@ NTSTATUS idmap_gid_to_sid(DOM_SID *sid, gid_t gid)
DEBUG(10,("idmap_gid_to_sid: gid = [%d]\n", gid));
flags = ID_GROUPID;
+#if 0 /* JERRY */
if (!idmap_check_ugid_is_in_free_range(gid)) {
flags |= ID_QUERY_ONLY;
}
-
+#endif
id.gid = gid;
return idmap_get_sid_from_id(sid, id, flags);
}