Solved

Apache autentication using AD

Posted on 2008-10-31
4
192 Views
Last Modified: 2013-12-24
I have set up an Apache 2.2-server on my Ubuntu server with autentication using Active Directory on Windows 2003 Small Business Server. So far, so good..  But when an authentication fails (a user giving wrong username and/or password) then the login-prompt remains on the screen and the user can try again and again and again... Who can I prevent this from happening?  I.e. giving the user an error page instead so (s)he will have to go back and start again.

No, this is not a very big issue......
0
Comment
Question by:toyman25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Rowley
ID: 22848935
I've got a sneaky suspicion that this might not be possible without without using kerberos, but if you can it'd be good to know.
0
 

Author Comment

by:toyman25
ID: 22849062
It seems to me that when I fail to login three times in a row I get the error message "401 Authentication Required". And I think that I will be satisfied with that.. :-)
But: Where can I change the number of times you can try to login before one gets this error-message ?
0
 
LVL 27

Accepted Solution

by:
caterham_www earned 150 total points
ID: 22849360
> But: Where can I change the number of times you can try to login before one gets this error-message ?

In your browser, if configurable at all. That message is being send each time by the server but displayed by your browser instead of the login box only if you failed to supply the user/pw three times, i.e. the server continues to reply with 401. So it's a browser issue but not a server one. The server always replies with that message and status code 401 if authentication is required and the browser did not supply username+pw (or supplied user+pw did not match).
0
 

Author Closing Comment

by:toyman25
ID: 31511981
I see your point. Thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question