summaryrefslogtreecommitdiff
path: root/source3/sam/idmap_util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-06-26 00:19:57 +0000
committerJeremy Allison <jra@samba.org>2003-06-26 00:19:57 +0000
commite362f3d58154be1cdc65443ef3f9dbf0d2ffa6cd (patch)
tree0cb808fc96585a38c7fbfae9964cac5f8d778739 /source3/sam/idmap_util.c
parent4d468c1c00b0a9dbd68a6f142b8cdef8c15d8ad8 (diff)
downloadsamba-e362f3d58154be1cdc65443ef3f9dbf0d2ffa6cd.tar.gz
samba-e362f3d58154be1cdc65443ef3f9dbf0d2ffa6cd.tar.bz2
samba-e362f3d58154be1cdc65443ef3f9dbf0d2ffa6cd.zip
Fix immediate bug where the idmap can't tell the difference between an entry
not being present (and so allocate another) and an entry that is present but of the wrong type. This code still has major problems... Jeremy. (This used to be commit a304bc5ff134df118754d9e8d2b2680b4101e438)
Diffstat (limited to 'source3/sam/idmap_util.c')
-rw-r--r--source3/sam/idmap_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap_util.c b/source3/sam/idmap_util.c
index 21f827bb9e..f10c20a750 100644
--- a/source3/sam/idmap_util.c
+++ b/source3/sam/idmap_util.c
@@ -348,7 +348,7 @@ BOOL idmap_init_wellknown_sids(void)
for (i = 0; i < num_entries; i++) {
id.gid = map[i].gid;
- idmap_set_mapping(&(map[i].sid), id, ID_GROUPID);
+ idmap_set_mapping(&map[i].sid, id, ID_GROUPID);
}
SAFE_FREE(map);
}