summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-10-16 20:27:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:30 -0500
commit2c3aa76510aa4e79f887d9c5cb05b8d04187aa38 (patch)
treeed5b38c9952a98dcd6c5fa3ba7cce43125708530
parent2bc3099c71cd7bb699b515910329b6a50be5d4c5 (diff)
downloadsamba-2c3aa76510aa4e79f887d9c5cb05b8d04187aa38.tar.gz
samba-2c3aa76510aa4e79f887d9c5cb05b8d04187aa38.tar.bz2
samba-2c3aa76510aa4e79f887d9c5cb05b8d04187aa38.zip
r19345: Allow better rootdse searches.
Guenther (This used to be commit 27fbd85300c810cd06f4df514b6a762f8eac84d5)
-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 70c8f37cd4..943a755a12 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