Active Directory login failures

Post Reply
smcgrat
Posts: 11
Joined: Mon Jul 06, 2020 4:51 pm
Full Name: Sean McGrath
Organization: Trinity College Dublin

Active Directory login failures

Post by smcgrat »

Hello,

I'm not sure if this is the correct place to post this. If not I would be grateful if I could be pointed in the right direction please.

WebMO version 20.0.009e configured to authenticate against Active Directory but logins where failing. I was getting the following error in the errors log:

Code: Select all

[Fri Jul  3 16:46:59 2020] [error] [Authen::Simple::ActiveDirectory] Failed to authenticate user 'username@domain.fqdn'. Reason: 'No password, did you mean noauth or anonymous ?'
 
The

Code: Select all

public_html/cgi-bin/webmo/password_external-backup.cgi
file had to be edited as follows to stop sending an empty password to AD:

Code: Select all

-       $password = "" if ($password == undef);
+       #$password = "" if ($password == undef);
Once that was done AD login worked.

Is this the expected behavior or have I misunderstood something?

Thanks

Sean

schmidt
Posts: 23
Joined: Sat May 30, 2020 3:00 pm
Full Name: JR Schmidt
Organization: WebMO, LLC

Re: Active Directory login failures

Post by schmidt »

Good catch! This was supposed to be a catch against blank password-related errors, but it created a new bug. Your fix is fine, but a more comprehensive fix will be released in a day or two.

Post Reply