r17646: Use authentication if specified.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Aug 2006 02:44:51 +0000 (02:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:16:19 +0000 (14:16 -0500)
Andrew Bartlett

testprogs/ejs/minschema.js

index dd7e04270afe2d4d5f80cd846a5cbcb6ba5d1e38..50aca64da59546d7865b7fdb54b3868a6ea6ff2e 100755 (executable)
@@ -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);