RE: [EXT] [users@httpd] AuthLDAPInitialBindAsUser etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:dvandeun@xxxxxxxxxxxxxxx] 
Sent: Monday, May 08, 2017 1:41 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [EXT]  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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux