summaryrefslogtreecommitdiff
path: root/testprogs/ejs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-08-21 02:44:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:19 -0500
commit66bbd44ec13538d481d1631c4282fb8d208d6779 (patch)
treeb46a7c3a22ba393ca276451ec7ec84c71182d935 /testprogs/ejs
parentf23be49188cec903446bea97261c3ea3774dea28 (diff)
downloadsamba-66bbd44ec13538d481d1631c4282fb8d208d6779.tar.gz
samba-66bbd44ec13538d481d1631c4282fb8d208d6779.tar.bz2
samba-66bbd44ec13538d481d1631c4282fb8d208d6779.zip
r17646: Use authentication if specified.
Andrew Bartlett (This used to be commit 67c9cd508ed9b28b4d605b79f6de421071177fa7)
Diffstat (limited to 'testprogs/ejs')
-rwxr-xr-xtestprogs/ejs/minschema.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/testprogs/ejs/minschema.js b/testprogs/ejs/minschema.js
index dd7e04270a..50aca64da5 100755
--- a/testprogs/ejs/minschema.js
+++ b/testprogs/ejs/minschema.js
@@ -27,6 +27,8 @@ if (options.ARGV.length != 2) {
var url = options.ARGV[0];
var classfile = options.ARGV[1];
+/* use command line creds if available */
+ldb.credentials = options.get_credentials();
var ok = ldb.connect(url);
assert(ok);