summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-29 01:17:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:53 -0500
commit14ebeffc463426b969acfb611033ff57a18916d6 (patch)
tree7557b5be2c5af763591678fa6ebe91bc1a6442d8 /source4/scripting/ejs
parent176da2a2813aa00fed8a485548f98e61ffa9350c (diff)
downloadsamba-14ebeffc463426b969acfb611033ff57a18916d6.tar.gz
samba-14ebeffc463426b969acfb611033ff57a18916d6.tar.bz2
samba-14ebeffc463426b969acfb611033ff57a18916d6.zip
r9725: Fix full output mode of samba3dump as well. Thanks to tridge for
a bit for explanation about js. (This used to be commit 765a30a0493cbd150f53335c6648e8e56ef6dc23)
Diffstat (limited to 'source4/scripting/ejs')
-rw-r--r--source4/scripting/ejs/smbcalls_samba3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbcalls_samba3.c b/source4/scripting/ejs/smbcalls_samba3.c
index 7a7175fe5c..bad8a7e58e 100644
--- a/source4/scripting/ejs/smbcalls_samba3.c
+++ b/source4/scripting/ejs/smbcalls_samba3.c
@@ -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));