r9725: Fix full output mode of samba3dump as well. Thanks to tridge for
[sfrench/samba-autobuild/.git] / source4 / scripting / ejs / smbcalls_samba3.c
index 7a7175fe5c70b5c15798f7e2a793863370435a24..bad8a7e58e3ba4f42fb79c2932bf6c6cc01e1c3b 100644 (file)
@@ -100,6 +100,8 @@ static struct MprVar mprIdmapDb(struct samba3_idmapdb *db)
                char *tmp;
                mp = mprObject("idmap");
 
+               mprSetVar(&mp, "IDMAP_GROUP", mprCreateIntegerVar(IDMAP_GROUP));
+               mprSetVar(&mp, "IDMAP_USER", mprCreateIntegerVar(IDMAP_USER));
                mprSetVar(&mp, "type", mprCreateIntegerVar(db->mappings[i].type));
                mprSetVar(&mp, "unix_id", mprCreateIntegerVar(db->mappings[i].unix_id));