summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-10-26 21:05:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:17 -0500
commit6386f31317ef7ea73ced17a3c42f49d0257abe90 (patch)
treec9b0fe330f35a4e7a241738aadca015de2c56097 /testprogs
parentb22bda753390b19e85296cf547ce3f7abaf7fb1a (diff)
downloadsamba-6386f31317ef7ea73ced17a3c42f49d0257abe90.tar.gz
samba-6386f31317ef7ea73ced17a3c42f49d0257abe90.tar.bz2
samba-6386f31317ef7ea73ced17a3c42f49d0257abe90.zip
r11309: A trivial test script for ejs libnet interface.
rafal (This used to be commit deb561ea4a00730787d129ae5eda38ceefe129f6)
Diffstat (limited to 'testprogs')
-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 0000000000..a4dd27dd45
--- /dev/null
+++ b/testprogs/ejs/ejsnet.js
@@ -0,0 +1,4 @@
+#!/usr/bin/env smbscript
+
+var ctx = NetContext("Administrator", "admin");
+ctx.CreateUser("noname");