This topic is locked
[SOLVED]

 Windows Single Sign On

2/20/2012 7:23:12 PM
PHPRunner General questions
C
copper21 author

Hello,
Not trying to beat a dead horse, but I am having troubles getting SSO to work. I will start out by telling you what I have. My webserver is IIS 7.0 on a Server 2008 box. I have windows authentication enabled and the server is connected to our domain. I do have Anonymouse Authentication set to enabled right now as well. I have a very simple project with one table, just to test and get this working. I placed the SSO script in the Login page: Before process and just pointed the header to the list page of the project. My security page is checked to create a login page and for now have Hardcoded username and password. I have not found much on how to setup the security page for this. When I go to the project, it will always direct itself to the login page. Sorry, but that is all the info that I have.
Also, is PHP Runner close to coming out with AD login? I think I remember something being said that it would be out early this year.
Thanks in advance.
Brian

Admin 2/22/2012

Brian,
Single sign-on functionality relies on server variable $_SERVER["REMOTE_USER"]. If Windows authentication is turned on this variable should be populated with your Windows username. Test this print this variable on the page in 'Login page: BeforeProcess event':

echo $_SERVER["REMOTE_USER"];


PHPRunner 6.1 Enterprise Edition will have active directory support built-in.

C
copper21 author 2/22/2012

Sergey,
Thank you for the response. I placed that code just as you said and all I get is the login page without anything printed. I am asumming that the server is not setup correctly. I will research using that code until I get something printed on the page.
BTW, got an idea of when PHP 6.1 will be out?
Thanks,
Brian

Admin 2/22/2012

We expect beta version to be available next week.

C
copper21 author 2/22/2012

Thank you!