Subject: | not specifying a username and password returns a 0 (authenticated) |
I was testing out a CGI page using Authen::Smb for some of the "corner" cases. Sure enough, with a correct PDC, BDC, and domain/workgroup, handing a blank password and username to the module returns a 0 (authenticated).
The module works as expected when a username and a password are used. Incorrect combinations are returned as a 3, correct as a 0.