[TriLUG] PHP "trusted connection" w/ MSSQL...

Aaron S. Joyner aaron at joyner.ws
Wed Dec 15 22:46:13 EST 2004


>
>
>On Wed, 15 Dec 2004, David McDowell wrote:
>  
>
>>I have mod_auth_ldap setup
>>with Apache on Linux which authenticates users against the Microsoft
>>AD without any problems.  Now PHP has $_SERVER('PHP_AUTH_USER') and
>>$_SERVER('PHP_AUTH_PW') in which those values are defined after
>>someone logs into the website.
>>
Seems like you should be able to take PHP_AUTH_USER and _PW and simply 
pass those as arguments to the DSN when you connect to MSSQL, yes?  Or 
am I missing something in what you're trying to do, here?

Aaron S. Joyner



More information about the TriLUG mailing list