summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-15 17:07:48 +0200
committerKarolin Seeger <kseeger@samba.org>2009-04-28 09:10:59 +0200
commitc61db17779388cb3b11db1d030e251b393462309 (patch)
treeb3c58c49dccafc493c205da72ca52561bfc10db7 /examples
parentc9dfce75b2dbd13e9c8aa140c51803b7f3ca6a49 (diff)
downloadsamba-c61db17779388cb3b11db1d030e251b393462309.tar.gz
s3-examples: make sure to match correct key name in adssearch.
Guenther (cherry picked from commit 6fe012ff78caf10f4bf5503b27030cd54563ad0b) (cherry picked from commit 6afb9614381f926b590c627f44cf5a93e11068ec)
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 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;
}
}