mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
r17646: Use authentication if specified.
Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
8236a0ac5e
commit
67c9cd508e
@ -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);
|
||||
|
Reference in New Issue
Block a user