summaryrefslogtreecommitdiffstats
path: root/testprogs/ejs
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-10-26 21:05:27 +0000
committerRafal Szczesniak <mimir@samba.org>2005-10-26 21:05:27 +0000
commitd997163e6338c2cd03dba06d0ce65074430abc6d (patch)
tree8690091d63244d1a6b6f6dee6f345e94d5f8e486 /testprogs/ejs
parentbd7e95fbbee5d5572355663e6175e60d3a9c2048 (diff)
downloadsamba-d997163e6338c2cd03dba06d0ce65074430abc6d.tar.gz
samba-d997163e6338c2cd03dba06d0ce65074430abc6d.tar.xz
samba-d997163e6338c2cd03dba06d0ce65074430abc6d.zip
r11309: A trivial test script for ejs libnet interface.
rafal
Diffstat (limited to 'testprogs/ejs')
-rwxr-xr-xtestprogs/ejs/ejsnet.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/testprogs/ejs/ejsnet.js b/testprogs/ejs/ejsnet.js
new file mode 100755
index 00000000000..a4dd27dd458
--- /dev/null
+++ b/testprogs/ejs/ejsnet.js
@@ -0,0 +1,4 @@
+#!/usr/bin/env smbscript
+
+var ctx = NetContext("Administrator", "admin");
+ctx.CreateUser("noname");