Hi,
I am trying to get my intranet to automatically authenticate with a windows machine. I am using Windows XP with Windows Explorer 8.
At the moment basic authenication works, but it asks twice for the username and password.
Any idea how I can get it to:
1. Automatically detect username
2. If it cant detect it, only ask once for the password.
Here is some of my httpd.conf
<Directory D:\TEST.COM>
AllowOverride None
Options None
Order allow,deny
Allow from all
AuthName "Restricted Area"
AuthType SSPI
SSPIAuth on
SSPIAuthoritative on
SSPIBasicPreferred On
SSPIOfferBasic On
SSPIDomain ADMIN
SSPIOmitDomain On
SSPIUsernameCase lower
SSPIPerRequestAuth on
Require valid-user
</Directory>
Thanks for any help,
Alex
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yep its an internal intranet however it can also be accessed externally. I understand I can only get single sign on internally. And its a Windows Server 2003 too.
By the keepalive do you just mean add:
keepalive on
?
I will try tomorrow when at work.
Thanks for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I m using Apache/2.2.21 (Win32)
PHP/5.3.10
mod_auth_sspi/1.0.4 on wamp and Window server 2003
my http.conf is
<Directory "C:/wamp/www/mydbr/index.php">
AuthName "myname"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain online.com
SSPIOfferBasic on
SSPIBasicPreferred On
require valid-user
</directory>
i m using a reporting tool MyDBR which is on php .. this application have its own login page which authenticates..
Now i want to use windows single sign on with this app and dont want this login page once the windows user logged on successfully . But these above mentioned changes made no changes on any browser .. What to do.. Need help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to get my intranet to automatically authenticate with a windows machine. I am using Windows XP with Windows Explorer 8.
At the moment basic authenication works, but it asks twice for the username and password.
Any idea how I can get it to:
1. Automatically detect username
2. If it cant detect it, only ask once for the password.
Here is some of my httpd.conf
<Directory D:\TEST.COM>
AllowOverride None
Options None
Order allow,deny
Allow from all
AuthName "Restricted Area"
AuthType SSPI
SSPIAuth on
SSPIAuthoritative on
SSPIBasicPreferred On
SSPIOfferBasic On
SSPIDomain ADMIN
SSPIOmitDomain On
SSPIUsernameCase lower
SSPIPerRequestAuth on
Require valid-user
</Directory>
Thanks for any help,
Alex
Comment out:
SSPIBasicPreferred On
Make sure you have keepalive turned on
I assume the client machine is on the domain and the server is accessed via an internal intranet url. Otherwise you will get prompted at least once.
Also if IE6 users aren't required then drop SSPIOfferBasic as well.
Also I am assuming Windows Server 2003 AD.
Yep its an internal intranet however it can also be accessed externally. I understand I can only get single sign on internally. And its a Windows Server 2003 too.
By the keepalive do you just mean add:
keepalive on
?
I will try tomorrow when at work.
Thanks for your help
Hey,
I m using Apache/2.2.21 (Win32)
PHP/5.3.10
mod_auth_sspi/1.0.4 on wamp and Window server 2003
my http.conf is
<Directory "C:/wamp/www/mydbr/index.php">
AuthName "myname"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain online.com
SSPIOfferBasic on
SSPIBasicPreferred On
require valid-user
</directory>
i m using a reporting tool MyDBR which is on php .. this application have its own login page which authenticates..
Now i want to use windows single sign on with this app and dont want this login page once the windows user logged on successfully . But these above mentioned changes made no changes on any browser .. What to do.. Need help
What happens if you change SSPIBasicPreferred to Off ?
Makes no difference at all .. Do I have to change something in my login php file?