summaryrefslogtreecommitdiffstats
path: root/examples
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
commit27fbd85300c810cd06f4df514b6a762f8eac84d5 (patch)
tree83a5dd2826024321e12bc0f707e26f8a254498c1 /examples
parenta2c20811d6ef2a20326bcc2d4c2bb2cbb49f6394 (diff)
downloadsamba-27fbd85300c810cd06f4df514b6a762f8eac84d5.tar.gz
samba-27fbd85300c810cd06f4df514b6a762f8eac84d5.tar.xz
samba-27fbd85300c810cd06f4df514b6a762f8eac84d5.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