Hi Dirk
You can perform some client-side javascript validation to make sure password 
field is not empty before submitting form.

Thanks & Regards
Siddharth Sinha
Associate IT Application Specialist
Office: 8955329
On-Call: +917774036954
________________________________
 

________________________________
 




-----Original Message-----
From: Dirk van Deun [mailto:dvand...@wilma.vub.ac.be] 
Sent: Monday, May 08, 2017 1:41 PM
To: users@httpd.apache.org
Subject: [EXT] [users@httpd] AuthLDAPInitialBindAsUser etc.

Hi all,

I have a 90% solution for authenticating against an ldap server that does not 
allow unauthenticated binds, but I'm looking for the last 10%.  I am using 
AuthLDAPInitialBindAsUser on, AuthLDAPSearchAsUser on and AuthLDAPCompareAsUser 
on, and that works brilliantly as long as the user enters a password, either 
correct or incorrect.

However, if the user types a user name but no password, this is in effect still 
an attempt to use unauthenticated bind, which fails, and the user gets an 
Internal Server Error; and even worse is that reloading the page immediately 
gives a new Internal Server Error.  The user has to close the browser and 
restart it before trying again.

How do I prevent that from happening ?

Best,

Dirk van Deun
--
Ceterum censeo Redmond delendum

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to