summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-10-16 20:27:08 +0000
committerGünther Deschner <gd@samba.org>2006-10-16 20:27:08 +0000
commitce5811782c55dfd7179f5e787004f7f602f8123f (patch)
treeb771e5cb85c5e6f76df485ac36c9161d737c3491 /examples
parentc6651c231d0aa6c73c8f370299ca08d03dd8d00b (diff)
downloadsamba-ce5811782c55dfd7179f5e787004f7f602f8123f.tar.gz
samba-ce5811782c55dfd7179f5e787004f7f602f8123f.tar.xz
samba-ce5811782c55dfd7179f5e787004f7f602f8123f.zip
r19345: Allow better rootdse searches.
Guenther
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/misc/adssearch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/misc/adssearch.pl b/examples/misc/adssearch.pl
index 70c8f37cd48..943a755a12d 100755
--- a/examples/misc/adssearch.pl
+++ b/examples/misc/adssearch.pl
@@ -388,7 +388,7 @@ $server = process_servername($opt_host) ||
# get the base
-$base = $opt_base ||
+$base = defined($opt_base)? $opt_base : "" ||
get_base_from_rootdse($server,$dse);
# get the realm