logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: It is opening the popup for entering the credentials once ag
Author
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Sun 08 Jan '12 20:56    Post subject: It is opening the popup for entering the credentials once ag Reply with quote

Configured SSL Successfully.It is opening the popup for entering the credentials once credentials are entered it asks for the same again.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Mon 09 Jan '12 12:30    Post subject: Reply with quote

Usually OpenSSL does not ask for credentials. Config details would help a lot Wink
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Mon 09 Jan '12 13:06    Post subject: Reply with quote

httpd.conf



LoadModule auth_basic_module modules/mod_auth_basic.so

<Directory />
# Options FollowSymLinks
Options Indexes MultiViews FollowSymLinks
AllowOverride all
Order deny,allow
Deny from all
</Directory>

<IfModule !mod_auth_sspi.c>

LoadModule sspi_auth_module modules/mod_auth_sspi.so

</IfModule>


<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>


These are the configuration made..Can you please suggest..
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Mon 09 Jan '12 15:59    Post subject: Reply with quote

You posted the wrong <Directory> block, we need to see the one from the Document root.
Ok you are using mod sspi. So what is the config?
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Mon 09 Jan '12 16:49    Post subject: Reply with quote

<IfModule mod_auth_sspi.c>
AuthName "techtime.XXXX.com"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
SSPIBasicPreferred On
#SSPIUsernameCase lower
SSPIDomain domain.com
require valid-user

</IfModule>

Need help in Apache 2.2.21 configuration with SSL.

I have done the SSL configurations (as per suggestions) - Logfiles details:



However it doesn't ssems to be working, below is the error that I am encountering:

[Mon Jan 09 19:35:53 2012] [error] [client 144.36.226.133] (OS 1326)Logon failure: unknown user name or bad password. : authentication failure for "/": user unknown
[Mon Jan 09 19:36:04 2012] [error] [client 144.36.226.133] (OS 1326)Logon failure: unknown user name or bad password. : user dir\\maheswar.n.reddy: authentication failure for "/"
[Mon Jan 09 19:36:09 2012] [error] [client 144.36.226.133] (OS 1326)Logon failure: unknown user name or bad password. : authentication failure for "/favicon.ico": user unknown
[Mon Jan 09 19:36:09 2012] [error] [client 144.36.226.133] (OS 1326)Logon failure: unknown user name or bad password. : user dir\\maheswar.n.reddy: authentication failure for "/favicon.ico"
[Mon Jan 09 19:36:39 2012] [error] [client 144.36.226.133] (OS 1326)Logon failure: unknown user name or bad password. : user dir\\maheswar.n.reddy: authentication failure for "/"
[Mon Jan 09 19:36:48 2012] [error] [client 144.36.226.133] (OS 1326)Logon failure: unknown user name or bad password. : user accenture.com\\maheswar.n.reddy: authentication failure for "/"
[Mon Jan 09 19:36:58 2012] [error] [client 144.36.226.133] (OS 1326)Logon failure: unknown user name or bad password. : user accenture.com\\maheswar.n.reddy: authentication failure for "/"


Any help in this regard will be highly appreciated.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Tue 10 Jan '12 16:17    Post subject: Reply with quote

nagella wrote:

Need help in Apache 2.2.21 configuration with SSL.


mod auth(entication) SSPI has nothing to do with SSL. SSL is for encrytion, not for authentication.

For me it works this way, even without a Domain Controller and also wirh Firefox

Code:

<IfModule mod_auth_sspi.c>
    <Location /protected/>
        AuthName "A Protected Place"
      AuthType SSPI
      SSPIAuth On
      SSPIAuthoritative On
      SSPIOfferBasic On
      SSPIBasicPreferred On
      require valid-user
    </Location>
</IfModule>


Are you using a domain controller? If yes, if the domain controller on the same machine?
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Tue 10 Jan '12 16:40    Post subject: Reply with quote

Yes i am want to use domain controller because i want to authenticate dir domain users.

I am on CLOUD server , i am able to authenticate the
cloud users( means who is having credetials for cloud they are able to acces the site), but i want to authenticate the different
dir domain users , so i don't have idea how to authenticate the different domain users from my cloud.

I have credentials for DIR Domain user name ,password, ports are enabled and IP also i have.
but how to redirect to DIR Domain and authenticate.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Tue 10 Jan '12 17:38    Post subject: Reply with quote

I think maybe ldap is the way to go. See the last post in http://www.apachelounge.com/viewtopic.php?p=7884
Back to top


Reply to topic   Topic: It is opening the popup for entering the credentials once ag View previous topic :: View next topic
Post new topic   Forum Index -> Apache