summaryrefslogtreecommitdiffstats
path: root/examples/misc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-15 17:07:48 +0200
committerGünther Deschner <gd@samba.org>2009-04-15 22:49:57 +0200
commit6fe012ff78caf10f4bf5503b27030cd54563ad0b (patch)
tree30e14e739464e2c102b24b9ef4844b0d739759a5 /examples/misc
parentf1fd39c09f0e094c882775367b1e4c5772d7ee51 (diff)
downloadsamba-6fe012ff78caf10f4bf5503b27030cd54563ad0b.tar.gz
samba-6fe012ff78caf10f4bf5503b27030cd54563ad0b.tar.xz
samba-6fe012ff78caf10f4bf5503b27030cd54563ad0b.zip
s3-examples: make sure to match correct key name in adssearch.
Guenther
Diffstat (limited to 'examples/misc')
-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 d17e680ec8e..026853d1524 100755
--- a/examples/misc/adssearch.pl
+++ b/examples/misc/adssearch.pl
@@ -735,7 +735,7 @@ sub get_machine_password {
($line,$password) = split(/"/, $line);
last;
}
- if ($line =~ /$key/) {
+ if ($line =~ /\"$key\"/) {
$found = 1;
}
}