I am using metasploit to exploit a vulnerable version of Samba on a remote host. Samba version 2.2.8, downloaded directly from the cve site.
But when I use trans2open exploit with payload (generic/shell_reverse_tcp) I get the following error:
Exploit failed [no-access]: Rex::Proto::SMB::Exceptions::LoginError Login Failed: undefined local variable or method `args' for #<Rex::Proto::SMB::Client:0x000055d1b5205828>
[*] Exploit completed, but no session was created.
This is how my variables are set:
I am running two virtual machines on AWS. One with kali linux and the other is the one with samba. And yes all firewalls are disabled.