diff options
author | Günther Deschner <gd@samba.org> | 2009-04-15 17:07:48 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-28 09:10:59 +0200 |
commit | c61db17779388cb3b11db1d030e251b393462309 (patch) | |
tree | b3c58c49dccafc493c205da72ca52561bfc10db7 /examples | |
parent | c9dfce75b2dbd13e9c8aa140c51803b7f3ca6a49 (diff) | |
download | samba-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-x | examples/misc/adssearch.pl | 2 |
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; } } |