From 14ebeffc463426b969acfb611033ff57a18916d6 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 29 Aug 2005 01:17:20 +0000 Subject: 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) --- source4/scripting/ejs/smbcalls_samba3.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/scripting/ejs/smbcalls_samba3.c') 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)); -- cgit