summaryrefslogtreecommitdiffstats
path: root/source/scripting/ejs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-29 01:17:20 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-08-29 01:17:20 +0000
commitf0ffdef425473f95e412b50f200de03d8046e960 (patch)
treeed6bfc2479ec5d6aaff53e2fde97e4107e8b5289 /source/scripting/ejs
parent8556c2c80fb81115212e54953db893599ab77a2a (diff)
downloadsamba-f0ffdef425473f95e412b50f200de03d8046e960.tar.gz
samba-f0ffdef425473f95e412b50f200de03d8046e960.tar.xz
samba-f0ffdef425473f95e412b50f200de03d8046e960.zip
r9725: Fix full output mode of samba3dump as well. Thanks to tridge for
a bit for explanation about js.
Diffstat (limited to 'source/scripting/ejs')
-rw-r--r--source/scripting/ejs/smbcalls_samba3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/scripting/ejs/smbcalls_samba3.c b/source/scripting/ejs/smbcalls_samba3.c
index 7a7175fe5c7..bad8a7e58e3 100644
--- a/source/scripting/ejs/smbcalls_samba3.c
+++ b/source/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));