Quantcast
Channel: Microsoft Drivers for PHP for SQL Server forum
Viewing all articles
Browse latest Browse all 391

Pass Windows Domain Creds from Linux PHP

$
0
0

I need to pass a Windows AD Service Account to the SQL Server to login from a PHP application running on Linux/Apache/PHP using the sqlsrv driver from pecl.php.net (https://pecl.php.net/package/sqlsrv).   

I know how to do this on Windows using IIS, which is just a simple matter of changing the IIS App Pool to run as the service account.  

I cannot figure out how to do this from the Linux system.  

I have googled and found many articles and postings on many different sites, which talk about joining the linux box to the windows domain, and then configuring kerberos on the linux box, but I have tried it all, and none of it works for me.  Perhaps I am just missing something simple, or over complicating things. 

The driver works just fine if I pass in a SQL user/pwd combination.  So, I dont think its a driver issue, but more a configuration issue.

Has anyone gotten this to work? 

Is it possible to get this to work?

Thanks

Rick


Viewing all articles
Browse latest Browse all 391

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>