summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-28 07:14:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:08 -0500
commitbab1eb1e3432f5cc5b0d42eebed4079d23264105 (patch)
treebd5f9e81ee4120eab88c6f719f8547a59c32d6d7 /source4/scripting/libjs
parentf6d2892faab30e6f205a81a008168b07e521ab85 (diff)
downloadsamba-bab1eb1e3432f5cc5b0d42eebed4079d23264105.tar.gz
samba-bab1eb1e3432f5cc5b0d42eebed4079d23264105.tar.bz2
samba-bab1eb1e3432f5cc5b0d42eebed4079d23264105.zip
r8822: fixed number of arguments in samr lib
(This used to be commit 8eee26bb85472aa45bd42fd28f968a38730e286c)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/samr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/libjs/samr.js b/source4/scripting/libjs/samr.js
index d0c2b89822..a7d7d964fb 100644
--- a/source4/scripting/libjs/samr.js
+++ b/source4/scripting/libjs/samr.js
@@ -159,8 +159,8 @@ function samrFillUserInfo(conn, dom_handle, users, level)
var i;
for (i=0;i<users.length;i++) {
var r, user_handle, info;
- user_handle = samrOpenUser(dom_handle, users[i].idx);
- info = samrQueryUserInfo(user_handle, level);
+ user_handle = samrOpenUser(conn, dom_handle, users[i].idx);
+ info = samrQueryUserInfo(conn, user_handle, level);
info.name = users[i].name;
info.idx = users[i].idx;
users[i] = info;