You are here: Re: propagating LDAP Authentication to IIS with PHP « PHP Programming Language « IT news, forums, messages
Re: propagating LDAP Authentication to IIS with PHP

Posted by Jerry Stuckle on 07/14/07 01:21

jesbuddy07 wrote:
> Hello,
> I'm using IIS 5 and PHP 4.3.5.
>
> I have an html page, page1, that resides at member.company.com server.
> It contains a form asking a user to login. I then check the login by
> connecting to LDAP.company.com and bind the provided username and
> password to the LDAP server. if the user is authenticated by LDAP then
> i direct users to a second page, page 2. On page 2, i have a link to a
> file that resides in a protected virtual directory. The virtual
> directory is protected using Basic Authentication. This virtual
> directory also resides at member.company.com server. The problem i'm
> having is, users needs to login again on page 2 when they click on the
> link to the virtual directory.
>
> how can i use the user name and password the user entered on page 1,
> during LDAP Authentication, for page 2 so that when users click on the
> link to the protected virtual directory?
>
> any sugegstion will be greatly appreciated
>

You can't in PHP. PHP never sees the request, so it can't handle it.
And authentication/authorization is handled between the client and the
server - and PHP doesn't get involved.

You might try an IIS newsgroup. But AFAIK there's nothing you can do in
PHP to bypass LDAP authentication or "prime" the authentication.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация