summaryrefslogtreecommitdiffstats
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-10-16 09:41:42 +0000
committerVolker Lendecke <vlendec@samba.org>2002-10-16 09:41:42 +0000
commit4f001512cdc5fdf27981ffee7e110a6818a978d7 (patch)
treee5de0ae93c073904821dc231227b7a9d80c03f0d /source3/passdb/passdb.c
parentf55eb87af56b68b44e64a2dee5fcfe8248b718cf (diff)
downloadsamba-4f001512cdc5fdf27981ffee7e110a6818a978d7.tar.gz
samba-4f001512cdc5fdf27981ffee7e110a6818a978d7.tar.xz
samba-4f001512cdc5fdf27981ffee7e110a6818a978d7.zip
Create group mappings on the fly.
Volker (This used to be commit e2fc1de34aaf875a7003f9d15d5f8ecf159130fb)
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 9402f0c94c8..dfaf7c88bef 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -897,7 +897,7 @@ DOM_SID *local_gid_to_sid(DOM_SID *psid, gid_t gid)
sid_copy(psid, get_global_sam_sid());
- if (get_group_map_from_gid(gid, &map, MAPPING_WITHOUT_PRIV)) {
+ if (get_group_from_gid(gid, &map, MAPPING_WITHOUT_PRIV)) {
sid_copy(psid, &map.sid);
}
else {